The utility model relates to the technical field of keyboard cleaning, in particular to a keyboard cleaning device for a computer, which comprises a shell, a rotating shaft is rotatably arranged at the bottom of the shell, and a circular groove is formed in the bottom of the rotating shaft; the cleaning
assembly is arranged in the circular groove in a sliding manner; the two damping sliding blocks are arranged at the bottom of the shell in a sliding mode, and transmission plates are arranged at the bottoms of the two damping sliding blocks; the connecting seat is arranged at the bottoms of the two transmission plates, and a plurality of through holes are formed in the bottom of the connecting seat; according to the keyboard cleaning device, when the cleaning
assembly works, the small cleaning
assembly can be used for cleaning gaps of a keyboard, and the keyboard cleaning device is small in size, can assist the cleaning work of the keyboard in a handheld mode and is suitable for the cleaning work of a personal keyboard.