An environmental-friendly type detergent is disclosed. The detergent comprises 1-5% by mass of alkyl glycoside, 0.5-2.5% by mass of polyoxyethylene alkyl ether, 0.1-1% by mass of methyl ester sulfonate, 0.5-2% by mass of ammonium hydroxide, 5-8% by mass of sodium silicate, 0.2-1% by mass of a defoaming agent, 0.5-1.5% by mass of a decolorizer, 0.3-1% of a thickening agent and 0.1-0.3% by mass of plant essence, with the balance being water. The detergent is environmental friendly, good in foaming performance, rich, fine and stable in foams, good in emulsification and dispersing capabilities for oil and grease, good in degreasing capability, mild in hand feeling, nonirritant to skin, low in toxicity, free of toxicity, safe to use, stable in performance, easy to store, and free of corrosion to tableware and machines.