The invention relates to a garbage compressor, which comprises a compression mechanism and a feeding mechanism, wherein the compression mechanism comprises a box body, the bottom of the box body is provided with a material inlet, the feeding mechanism comprises a bottom scraper which is arranged at the bottom of the box body, and the bottom scraper is corresponding to the material inlet, and the size of the material inlet is consistent with the bottom scraper, one end of the bottom scraper is hinged with the bottom of the box body, when the garbage is unloaded into the bottom of the box body, the bottom scraper rotates around the hinging part with the box body, the other end of the bottom scraper scraps garbage and scrapes the garbage into the box body from the material inlet, and simultaneously, the material inlet is sealed by the bottom scraper. The garbage compressor adopts the bottom scraper arranged at the bottom of the box body for feeding from the bottom of the box body, and the whole body has the characteristics that the structure is compact, the feeding is convenient, no odor exists, the secondary fly dust and the secondary pollution are avoided, the occupied area is small, the civil engineering cost is low, the flexibility is realized, and the like. The garbage compressor is particularly applicable to old station modification and new transfer station construction under the conditions of difficult urban area land acquisition and small sites.