MainspringGuides › Duplicate files
macOS Guide

How to Find and Delete Duplicate Files on Mac

Updated July 2026 · 3 min read

Every "final-v2 copy.pdf" and "invoice (3).png" is disk space spent twice. macOS ships no dedicated duplicate finder for regular files, but Finder search and Smart Folders will surface most copies, Terminal can prove two files are truly identical, and for photos there's a proper built-in tool. Here's the safe way to dedupe, with review before every delete.

Search the telltale names first

Duplicates usually announce themselves in their filenames. Browsers append (1), (2), and so on when you download the same file twice; Finder appends copy when you press Cmd-D. So the fastest first pass is a name search:

  1. Open your Downloads folder in Finder and click into the search field (Cmd-F works too).
  2. Type (1) and click Downloads in the scope bar so you search this folder, not This Mac.
  3. Repeat with copy. Tap the space bar on any result for a Quick Look before you trash it.

Nearly everything these searches find is a re-download sitting next to its original — the safest possible first deletions.

Know the hotspots, too. Beyond Downloads, duplicates cluster on the Desktop (quick copies that never got cleaned up), in Documents (versions attached to emails and saved again), and in any folder synced by a cloud service — Dropbox and friends leave files with "conflicted copy" in the name when two machines edit at once, and that phrase is worth its own Finder search.

Build a Smart Folder to eyeball pairs

  1. In Finder, choose FileNew Smart Folder.
  2. Click + and add a criterion that narrows the field — Kind is Movie, say, or File Size is greater than 100 MB.
  3. Switch to list view and sort by Name: identical names from different folders sit next to each other. Then sort by Size — two files with byte-identical sizes are strong duplicate suspects even when renamed.
  4. Click Save to keep the search in your sidebar for future sweeps.

Prove it before you delete it

Same name and same size is suspicion, not proof. A checksum settles it:

# identical checksums = identical files
md5 ~/Downloads/report.pdf ~/Documents/report.pdf

If the two hashes match, the files are bit-for-bit identical and either copy can go. The command is read-only, so there's nothing to undo. When you delete, move files to the Trash rather than deleting them immediately — Cmd-Z puts a trashed file back, and nothing is final until you empty the Trash.

Two caveats keep this honest. Different checksums don't mean unrelated files — a photo exported at two sizes, or a PDF saved with one extra annotation, will hash differently even though you'd call them "the same." And keep the copy in the better location, not just the first one you found: a file in Documents beats its twin languishing in Downloads.

Fewer chores, better defaults

Deduping is housekeeping; your settings are the furniture. Mainspring turns 90+ hidden macOS settings into labelled, reversible toggles, so the rest of your Mac gets tuned in clicks, not commands.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

When a dedicated app earns its keep

Name-and-size sleuthing scales to dozens of files, not thousands. If you suspect duplicates all over the disk, a checksum-based duplicate finder is the reliable route — it compares file contents, groups exact matches, and (crucially) shows you the groups for review. Whatever app you pick, never let it auto-delete; always review the list first. And for photos, skip third-party tools entirely: Photos has a built-in Duplicates album — see our guide to merging duplicate photos on a Mac.

Finally, stop the refill: when a download stalls, check Downloads before clicking the link again, and when you need a file in two places, make an alias (FileMake Alias) instead of a copy — it points at the original and costs almost nothing on disk.