The invention relates to a cleaning machine, comprising a transporting device and a cleaning device which comprises a shell, a vertical lifting device and a spraying device which are fixedly connected with the shell, the shell is provided with a feeding gate and a discharge gate, the bottom of the shell is provided with a cleaning liquid groove; the transporting device comprises a trolley which comprises a claw mechanism which sends a material plate into the cleaning device for cleaning, and after cleaning, the material plate can be taken out of the cleaning device by the trolley, thus realizing the automation of feeding and discharging without manual carrying, improving the work efficiency and reducing the cost; the cleaning liquid groove is internally provided with an electric heating pipe, after the material plate is immerged in the cleaning liquid, the cleaning liquid is heated to very high temperature by the electric heating pipe, and quenching oil contaminating on the parts is rapidly dissolved. After the cleaning is completed, the material plate is ascended, and the parts are sprayed and cleaned by the spraying device in the shell, thus improving the cleaning quality greatly and leading to better cleaning effect.