The invention relates to a shoveling machine device for a floor. The shoveling machine device is characterized by comprising a shell, oval gears, a pressing mechanism, a telescoping mechanism, a spraying mechanism and a stabilizing mechanism, and the oval gears rotate to be used for outputting the variable transmission ratio rotation speed, and drive a slide block to slide back and forth on the plane; a heavy block of the pressing mechanism is used for generating downward pressure, and the dirt-shoveling effect is improved; the stabilizing mechanism comprises a stable suction cup and an electric push rod, through the electric push rod, the suction cup is pushed to be sucked to the ground, and the stabilizing mechanism is used for preventing slip from being generated between a forklift andthe ground; the spraying mechanism sprays a cleaner through a water pump, and is used for improving the efficiency of shoveling dirt and cleaning the dirt of a relieving tool. By means of the shoveling machine device for the floor, the hard-to-remove dirt on the floor can be effectively shoveled away, the dirt-shoveling efficiency is high, the shoveling machine device has a manual sweeping mode and an automatic sweeping mode, has high adaptability aiming at different environments, and is applicable to cleaning work of places like large-scale offices, classrooms and campuses.