A miniature diode pumped passively Q-switched Er3+ and Yb3+ co-doped phosphate glass laser is reported. The center wavelength of pump source is 940 nm. A Co2+: MgAl2O4 crystal is used as a saturable absorber. When the pump energy is 14 mJ, stable Q-switched pulses are obtained at repetition frequency of 10 Hz and pump pulse width of 5 ms. The output pulse energy of laser is 480 J and pulse width is 5 ns . The wavelength of laser is 1535 nm. The peak power is higher than 20 kW and beam quality is 1.2.