Find duplicate files on a Mac for free

Duplicates pile up in Downloads, on the Desktop and in photo libraries. You can find most of them with tools you already have.

Photos: use the Duplicates album

For pictures and videos in the Photos app, open Photos and look for Duplicates in the sidebar (under Utilities). Select a set and press Merge. Photos keeps the best quality and combines the details. Never delete photo files from inside the library in Finder.

Everything else: a read-only Terminal recipe

This lists files over 1 MB in your home folder whose contents are identical. It only reads; nothing is deleted.

 Terminal
find ~ -type f -size +1M -not -path "*/Library/*" -not -path "*/.git/*" -exec md5 -r {} + 2>/dev/null | sort | awk '{h=$1; $1=""; if (h==p) print h, $0; p=h}'

Each printed line is a copy of the file just above it with the same hash. It can take a few minutes on a big disk. To check one folder only, swap ~ for, say, ~/Downloads.

Free apps

  • Krokiet / Czkawka: free and open source, finds duplicates, similar images and videos, big files and empty folders.
  • dupeGuru: free, with standard, music and picture modes.

Prices and details are in our Gemini 2 alternatives comparison.

Which copy to keep

  • The one inside your organized folders, not the one in Downloads.
  • The original name over name (1).pdf or name copy.pdf.
  • When in doubt, keep both. A duplicate costs space, a missing original costs more.
Copies made with Finder's Duplicate on an APFS disk can share their storage. Deleting one of them may free almost nothing. See why duplicates do not always use space.

Delete safely

Move duplicates to the Trash, not with rm, so you can get them back until you empty it. Junk Raccoon goes one step further: duplicates wait in a holding folder and can all be put back with one click.

Questions

How do I find duplicate photos on a Mac?

Open Photos and select Duplicates in the sidebar, then Merge the sets you want to combine.

Is there a free duplicate finder for Mac?

Yes. The Photos Duplicates album, a Terminal checksum recipe, and free apps like Krokiet/Czkawka and dupeGuru.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac