With Files by Google
The Clean tab can show duplicate files: exact copies of the same file.
What it misses
Near-identical shots taken one after another are separate files, so they are not shown as duplicates.
With Duplico (Android 7.0 and later)
- Choose similar photos or exact copies only.
- Start the scan and see how much space the extras take.
- Review the groups; at least one photo always stays in every group.
- Delete the marked photos and confirm.
- On Android 11 and later, empty the trash in your gallery app to free the space right away. Android 10 and earlier have no trash, so deletion there is permanent and always asks you first.