A fast, free, and open-source Windows duplicate file remover and cleaner built with PowerShell and WinForms.
It helps you find and remove duplicate files (images, videos, audio, and documents) using hash-based detection, and safely clean your system using Recycle Bin protection.
Many duplicate file cleaners are:
- Paid or subscription-based
- Overcomplicated and slow
- Not transparent about detection logic
This tool is designed to be:
- โ Free and open-source
- โ Fully local (no cloud uploads)
- โ Transparent duplicate detection logic
- โ Safe file deletion with preview and Recycle Bin support
๐ A simple and effective Windows duplicate file remover focused on performance and clarity.
- ๐ Multi-media duplicate detection (images, videos, audio)
- โก Fast scan pipeline:
- File size grouping
- Fast partial MD5 (first 8 KB)
- Full-file MD5 verification
- ๐ True duplicate detection using hash comparison (not filename-based)
- ๐ผ๏ธ Visual grouped browsing with thumbnails
- โ๏ธ Smart bulk selection strategies:
- Keep 1 per group
- Select all duplicates
- Select by folder
- Clear selection
- ๐ Swipe-style review mode for fast decisions
- ๐งพ Pre-delete confirmation dialog
- โป๏ธ Safe deletion via Windows Recycle Bin
- ๐ช Responsive WinForms UI
- ๐ Turkish & English language support (runtime switch)
Supports Windows duplicate file cleanup for:
.jpg, .jpeg, .png, .bmp, .gif, .tiff, .tif, .webp, .ico
.mp4, .avi, .mkv, .mov, .wmv, .flv, .webm, .m4v, .mpg, .mpeg, .3gp, .ts
.mp3, .wav, .flac, .m4a, .aac, .ogg, .wma, .opus, .aiff, .amr
This tool detects true duplicate files on Windows using a safe and accurate algorithm:
A file is considered duplicate only if:
- File size matches
- Fast MD5 hash (first 8 KB) matches
- Full-file MD5 hash matches
๐ This prevents false positives and ensures accurate duplicate file detection using hashing (MD5).
- All deletions are reviewed before execution
- Files are sent to Recycle Bin (preferred safe delete method)
- Fallback direct delete only if Recycle Bin API fails
- No background services or hidden processes
- Detects only exact duplicates, not similar files
- Does not yet support perceptual image matching (pHash/aHash)
- Metadata-only differences may not be detected as duplicates
- Windows 10 / Windows 11
- PowerShell 5.1+
- Must run in STA mode (for WinForms UI)
- Clone this repository
- Open Windows PowerShell
- Run:
powershell -NoProfile -ExecutionPolicy Bypass -STA -File .\DuplicateFinder.ps1Run directly from GitHub:
powershell -NoProfile -ExecutionPolicy Bypass -STA -Command "irm https://raw.githubusercontent.com/MetehanKacar/DuplicateFinder/main/DuplicateFinder.ps1 | iex"- This executes the latest version from
main - For safer usage, pin to a commit instead of branch
- Select a folder
- Enable subfolder scanning (optional)
- Click Scan
- Review duplicate groups
- Select files using smart selection tools
- Delete safely (Recycle Bin)
- Turkish / English UI switch available at runtime
- UI text is dynamically localized
- Core logic is language-independent
DuplicateFinder.ps1โ Main applicationdocs/ARCHITECTURE.mdโ System designdocs/LOCALIZATION.mdโ Localization systemdocs/RELEASE_CHECKLIST.mdโ Release workflow.github/โ CI & contribution templates
GitHub Actions automatically:
- Validates PowerShell syntax
- Checks script integrity on push and PR
Planned improvements:
- ๐ฎ Perceptual similarity detection (pHash / aHash)
- ๐ฆ Save & restore scan sessions
- ๐งพ Export scan reports (CSV / JSON)
- โก Performance optimizations for large datasets
- ๐ผ๏ธ Advanced media metadata columns (resolution, bitrate, duration)
Windows duplicate file remover, duplicate file finder, duplicate file cleaner, remove duplicate files Windows 10, PowerShell duplicate finder, free duplicate file remover, disk cleanup tool Windows, media duplicate remover, file deduplication tool
If this project helps you manage disk space and remove duplicate files efficiently:
โญ Star the repository to support development
MIT License โ free to use and modify.