Garbage clearing method and device

An embodiment of the invention provides a garbage clearing method and device and belongs to the technical field of garbage clearing. The method is applied to electronic devices and includes acquiring documents with checked conditions in garbage documents to be cleared of an electronic device; judging whether the documents with the checked conditions meet the checked conditions currently; on yes judgment, displaying all the documents with the checked conditions on a garbage clearing interface as the garbage documents needing to be cleared currently. By means of the method and device, the garbage clearing safety is improved while the garbage checking quantity is ensured, and the problem in the prior art that a device is abnormal in use due to the fact that a user does not know risks and directly deletes the displayed documents is solved.