Home / ZER0 Vault / ZERO Duplicate File Finder
Free Duplicate File Finder: Find Identical Files and Free Up Disk Space (Python)
Find identical files in a folder and optionally move the extra copies aside. Nothing is deleted.
Short link to share: zeroupdates.org/duplicates
What it does
Scans a folder and every folder inside it, groups files that are exactly the same (same size first, then the same SHA-256 fingerprint), saves the list to duplicates-report.txt and tells you how much space the extra copies use. It can then move the extra copies into a folder called duplicates-moved.
How to use it
- Install Python 3 (no extra libraries needed).
- Run the script and drag the folder you want to check into the window, or paste its path.
- Read the summary, and open
duplicates-report.txtto see every group. - Type
yif you want the extra copies moved intoduplicates-moved. The first file of each group stays where it is.
Requirements
Python 3. No extra libraries.
Good to know
- It never deletes anything. Review the
duplicates-movedfolder, then delete it yourself if you agree. - It compares what is inside the files, not their names, so two different names with the same content count as duplicates.
- Photos that look the same but were saved or compressed differently are not exact copies, so they are not found.
- Empty files are ignored.
- Big folders take a while, because every file that shares a size with another file is read in full.
Is it safe?
Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.
SHA-256 of ZERO-Duplicate-Finder.py:
62db73715c61da07585315a784e02117174c8ed202b2c8ae74293edaf6e716db
On Windows: certutil -hashfile ZERO-Duplicate-Finder.py SHA256. On macOS or Linux: shasum -a 256 ZERO-Duplicate-Finder.py.
Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.
More tools
- ZERO Bulk Image CompressorShrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.
- ZERO PDF MergerJoin every PDF in a folder into one file, offline.
- ZERO Bulk File OrganizerRename messy files and sort them into Images, Videos, Music and Documents folders.
- ZERO Auto-CleanerDelete temporary and cache files to free up disk space.
- ZERO PC OptimizerA small Windows script that clears temp files, flushes DNS and switches to the High Performance power plan.
- ZERO Folder LockerHide a private folder behind a simple password prompt.
- ZERO WiFi Password RevealerShow the passwords of Wi-Fi networks your Windows PC has already saved.
- ZERO WiFi Password ViewerPython version of the Wi-Fi password viewer: lists saved networks on Windows and Linux.
- ZERO Playlist to MP3Turn a YouTube playlist or single video into numbered MP3 files using yt-dlp.
- ZERO Subtitle DownloaderFind English subtitles for the video files in a folder, using the subliminal library.
- ZERO Unfollower TrackerSee who you follow on Instagram that does not follow you back, using your own data export. No login.
- ZERO Password GeneratorMake strong random passwords on your own computer. Nothing is saved or sent.
- ZERO File Hash CheckerCheck that a download is exactly the file the publisher meant you to get.
- ZERO QR Code MakerTurn a link, some text or your Wi-Fi details into a QR code image.
- ZERO Bulk RenamerRename lots of files at once, with a preview first and an undo.
- ZERO Folder Size ReportSee which folders and files take up the most space on your drive.