The invention relates to a method and a device for controllable foam cleaning for washing, disinfection and sterilization. A heating component is used for heating a working solution to generate foams, and a lot of foams are directly formed in a cleaning room or introduced to the cleaning room from the outside; through the effective control of foam cleaning, the dirt, harmful substances and microorganisms which are attached to cleaning objects in the cleaning room are in sufficient contact with effective ingredients on the foam surface in the cleaning room, separated, destroyed or killed by various modes of action, separated from the surface of a cleaned object together with foams along with the decrease of internal pressure and temperature of the cleaning room, and then discharged out from the cleaning room. Compared with the traditional product, the cleaning device designed according to the technology is higher in efficiency, shorter in washing time, lower in energy consumption, less in water consumption and lower in noise and product cost. The method and the device are suitable for cleaning, disinfection or sterilization of various cleaning objects such as tableware, medical appliances, clothes, industrial parts, antiques and antiquities, pets, animals and human skin.