Skip to content
86% off$349 $48.86code BF2026

Guides

Duplicate File Finder for Mac: Find and Remove Copies

Duplicate file finder for Mac: what Finder and Photos can do, why content hashing beats name matching, APFS clones, iCloud files, and which copy to keep.

GuideUpdated 12 min read

On this page

macOS has no general duplicate file finder. For photos in your Photos library, use the built-in Duplicates album under Utilities in the Photos sidebar. For files anywhere else, use an app that compares file contents rather than names, such as the free dupeGuru or the Duplicates tool in Gigabroom. Finder can only help you spot files whose names look alike.

Two things trip people up along the way. Some copies free almost nothing when you delete them, and some files exist only in iCloud. Both are covered below.

Name matches vs true duplicates

Two files are true duplicates only when their contents are identical, byte for byte. A matching name doesn't prove that:

  • Invoice.pdf and Invoice copy.pdf may differ if you edited one of them.
  • IMG_0412.jpg from two different cameras or phones are two different photos with the same name.
  • report-final.docx and Q3 summary.docx can be identical even though the names share nothing.

Name-based searching misses copies with different names. It also flags different files that happen to share a name, and deleting on that basis is how people lose the version they wanted. Any tool you trust with deleting should compare contents.

Which method to use

MethodFindsCompares contentsClones and iCloud-only filesCost (as of November 2026)
Finder search and Smart FoldersFiles with similar namesNoNoBuilt in
Photos Duplicates albumExact and near copies in your Photos libraryCompares images, not namesNot applicable (library only)Built in
Terminal (cmp, shasum)Identical files in a folder you chooseYesNo; reading an iCloud-only file downloads itBuilt in
dupeGuruIdentical files, similar names, music and picturesYes (content mode)Not covered in our notesFree
Gemini 2Duplicate and similar filesNot covered in our notesNot covered in our notesFrom $1.95/month (MacPaw)
Gigabroom Duplicates and Similar PhotosIdentical files, similar photos, screenshots, blurry shotsYes, SHA-256Tags clones, skips cloud-only filesPart of MacSuite, $349 one-time

Find duplicates with Finder and Smart Folders

Finder can't compare contents, but it can surface likely copies so you can check them yourself. This works for a single folder or a handful of files.

  1. In Finder, open the folder you want to check, or choose File ▸ New Smart Folder (⌥⌘N, Option-Command-N) to search the whole Mac.
  2. Type copy in the search field, then pick the suggestion that matches file names, so Finder doesn't also match text inside documents. This finds files Finder named when you duplicated them, such as Report copy.pdf.
  3. Repeat with (1), a common suffix for repeated downloads.
  4. In a Smart Folder, click + to add a rule. Choose Kind to limit the search (for example to documents or movies), or choose Other… and search for "size" to add a file size rule.
  5. Switch to list view (View ▸ as List) and click the Name column header so similar names sit next to each other.
  6. Compare suspected copies before deleting: select one and press Space for Quick Look, or use File ▸ Get Info to compare sizes and dates.

What this can't do: it can't find copies with different names, and matching size and date still don't prove identical contents. The Terminal commands further down give you certainty about a specific pair.

Duplicate photos inside the Photos library

If your photos live in the Photos app, clean duplicates there, not in Finder. A Photos library is a package that Photos manages, and moving or deleting files inside it from Finder or another app can damage the library.

  1. Open Photos.
  2. In the sidebar, look under Utilities for Duplicates. The album only appears once Photos has found duplicates, and detection can take a while after an import.
  3. Review each set. Photos groups exact copies and near-copies that differ in things like resolution or metadata.
  4. Click Merge for a set, or select several sets and merge them all at once. Photos keeps the best version and combines the information from the others.
  5. The extra copies go to Recently Deleted in Photos. They still use space until they're removed from there, by you or after the waiting period.

Gigabroom deliberately stays out of Photos libraries, so this album is the right tool for photos inside them.

How a duplicate file finder on Mac compares files

A hash such as SHA-256 is a fixed-length fingerprint calculated from a file's contents. Identical files always produce the same hash, and changing a single byte produces a completely different one. Comparing hashes tells you two files are the same without opening them side by side.

Reading and hashing every file on a disk is slow, so good finders narrow things down first:

  1. Group by size. Files with different sizes can't be identical, so most files are ruled out without being read.
  2. Hash a small part. For files with matching sizes, hash just the beginning and end. Files that differ there are ruled out cheaply.
  3. Hash the whole file. Only the remaining candidates are read in full and compared.

Check two files from Terminal

To confirm that two specific files are identical, use cmp. It only reads the files and changes nothing.

bash
cmp "/path/to/first file.pdf" "/path/to/second file.pdf"

If it prints nothing, the files are identical. If they differ, it reports the first position where they differ. You can also print each file's SHA-256 hash and compare the two:

bash
shasum -a 256 "/path/to/first file.pdf" "/path/to/second file.pdf"

List duplicates in a folder from Terminal

This lists every file over 1 MB in your Documents folder that has at least one identical copy, grouped by hash. It is read-only and deletes nothing. Change ~/Documents and +1M to search a different folder or size.

bash
find ~/Documents -type f -size +1M -print0 | xargs -0 shasum -a 256 | sort | awk '{ if ($1 == prev) { if (!shown) print prevline; print; shown=1 } else shown=0; prev=$1; prevline=$0 }'

Three cautions. It reads every matching file in full, so a big folder takes a long time. If your Desktop and Documents folders sync with iCloud Drive, reading a file that's only stored in iCloud makes macOS download it first, which uses the space you're trying to free. And it doesn't know about APFS clones.

APFS clones and cloud-only files

These two cases are why a duplicate finder can promise more space than you actually get back.

APFS clones free almost nothing

APFS is the file system every current Mac uses for its internal disk. On APFS, duplicating a file in Finder or copying it within the same volume usually creates a clone. A clone looks like an independent file, but it shares its data blocks with the original until one of them is changed. Finder still shows each copy at full size.

Deleting a clone frees almost no space, because the other copy still uses the shared blocks. A finder that adds up the size of every extra copy overstates your savings if many of them are clones. Gigabroom tags these copies "clone · frees ≈ 0" so you can leave them alone, and the status bar under its Disk Map shows how much space is "shared with clones".

Cloud-only files

With iCloud Drive's Optimize Mac Storage, some files exist on your Mac only as placeholders, with the contents in iCloud. Hashing a placeholder means downloading it first. Gigabroom's Duplicates and Similar Photos never download cloud-only files; they skip them and report how many were skipped ("N cloud-only files skipped").

Find duplicates with Gigabroom

We make Gigabroom, a disk cleaner that's part of MacSuite. Its Duplicates tool compares by size, then a partial SHA-256 hash of the first and last 64 KB, then a full SHA-256 hash. It handles clones and cloud-only files as described above, and every copy you remove goes to the Trash rather than being deleted.

Gigabroom Duplicates with three groups of identical files, copy counts, extra copies selected and the Smart Select menu
Duplicate groups with extra copies selected.
  1. Open Gigabroom and choose Duplicates in the sidebar under Clean (⌘3, Command-3).
  2. Make sure the Identical Files tab is selected.
  3. Add the folders to search with Add Folder…, Add Scanned Folder or Add Home Folder, or drop folders onto the list.
  4. Turn on Include hidden files only if the copies you're after are in hidden folders.
  5. Click Find Duplicates (or press Return). Progress shows as "Listing files…", "Comparing file starts and ends…" and "Comparing full contents…".
  6. Review the results. The header shows "N groups · X in extra copies", and each group shows the number of copies, the size of each and how much the extras take.
  7. Use Smart Select (Keep Newest, Keep Oldest or Selection Rules…) to pick the extra copies automatically, or select them yourself. ⌘-click toggles a copy, ↑ and ↓ move between files, and Space opens Quick Look.
  8. Move the selected copies to the Trash and confirm "Move N duplicates to the Trash?".
  9. Empty the Trash to get the space back: File ▸ Empty Trash… (⇧⌘⌫, Shift-Command-Delete).

Changed your mind before emptying the Trash? Edit ▸ Undo Sweep (⌘Z) puts the last sweep back where it was, as long as Gigabroom hasn't been quit since.

What Gigabroom checks and skips:

  • One copy always stays. If you select every copy in a group, that group is skipped ("N groups have every copy selected — skipped so you keep one.").
  • Files are re-checked before moving. A file that changed since the search is skipped, and so is any group whose kept copy was moved or changed.
  • Apps and packages count as single items. Gigabroom doesn't search inside app bundles or packages, so it never touches files inside a Photos library.
  • Hard links aren't reported. Two names pointing to the same file aren't duplicates, and deleting one frees nothing.
  • Symlinks are never followed.
  • App and personal data folders are left alone. Copies inside folders such as ~/Library/Application Support can be revealed in Finder but not trashed from Gigabroom.
  • Exclusions apply. Folders and name patterns in Settings ▸ Exclusions are skipped. The presets for node_modules and .git are off by default.

The Gigabroom Duplicates documentation covers every option. Gigabroom is part of MacSuite ($349 one-time as of November 2026), and you can try it free for 7 days.

Choose which copy to keep

The copy you keep matters more than the ones you delete.

  • Keep the copy in the folder you actually use. A file in Documents/Projects/Client is probably the live one; the copy in Downloads is probably an old download.
  • Keep the original name over one ending in "copy", "(1)" or " 2". Those suffixes usually mark the accidental copy.
  • Think before choosing newest or oldest. Newest is usually right for documents you edit. Oldest can be right for photos and originals you imported once.
  • Leave copies in synced or backup folders until you know which tool manages them.

In Gigabroom, these rules live in Settings ▸ Duplicates and drive Smart Select. Automatic selection never picks copies in Never select in folders, then prefers copies in your preferred folders, then the original name, then (if turned on) the shortest path, then newest or oldest.

SettingWhat it doesDefault
When copies differ by date, keepNewest or OldestNewest
Prefer the original name over "copy", "(1)" or " 2"Keeps the copy with the original-looking nameOn
Prefer the copy with the shortest pathKeeps the copy with the shortest file pathOff
Keep copies in these folders firstRanked list of folders; earlier folders winNone
Never select inFolders whose copies are never picked automaticallyNone
Skip files smaller thanInclude all, 1 KB, 100 KB, 1 MB, 10 MB or 100 MB1 KB
Skip typesExtensions to skip; folders with these extensions are skipped whole.lproj, .strings, .plist, .xcassets

The menu on each file row also has Keep Only This Copy for one-off decisions, and Don't Suggest This File Again or Don't Suggest This Folder Again for copies you keep on purpose.

Similar photos, screenshots and blurry shots

Burst shots, near-identical takes and edited exports aren't byte-for-byte duplicates, so a hash won't find them. Gigabroom's Similar Photos tab, in the same Duplicates screen, compares how images look instead.

Similar Photos results with the Show picker, Strictness slider and groups of near-identical photos, the first marked Best
Similar Photos keeps the best shot of each group.
  1. Open the Similar Photos tab.
  2. Add folders with Add Folder…, Add Pictures or Add Desktop, or drop folders on the list.
  3. Click Find Similar Photos.
  4. Use the Show picker to switch between Similar, Screenshots and Blurry.
  5. Adjust Strictness. Higher strictness groups only photos that look almost the same.
  6. Click Keep Best in Every Group to keep the Best photo of each group and select the rest.
  7. Move the selected photos to the Trash and confirm "Move N photos to the Trash?".

How it works and where it stops:

  • The comparison runs on your Mac with Apple's Vision framework, plus a sharpness measure, the capture date and Spotlight's screenshot flag. Photos with a capture date are only grouped if they were taken within 10 minutes of each other.
  • The "Best" photo is the one with the highest resolution, then the sharpest, then the largest file.
  • The Screenshots and Blurry lists start with nothing selected. Check them yourself; a soft photo may be the only shot you have of something.
  • A group where every photo is selected is skipped, so one photo always stays.
  • It reads JPEG, PNG, HEIC, TIFF, WebP, BMP and several raw formats (including DNG, CR2, CR3, NEF and ARW) of at least 20 KB. Photos libraries and Xcode asset catalogs are never searched, and cloud-only files are never downloaded.

For photos inside your Photos library, use the Photos Duplicates album described earlier.

Other duplicate finders: dupeGuru and Gemini 2

We make Gigabroom, so weigh our view accordingly. These notes are as of November 2026.

dupeGuru is free and open source, and runs on Mac, Windows and Linux. It can scan by file content, or by filename with fuzzy matching for similar names, and has special modes for music and pictures. Version 4.3.1 fixed a bug where the standard content scan could mark files that weren't duplicates, so use at least that version, and download it only from the official GitHub releases. Pick it if you want a free, content-based finder and don't need a disk cleaner.

Gemini 2 by MacPaw finds duplicate files and similar files, such as photos taken from different angles. It's sold directly and on the Mac App Store (free to download, with in-app purchases). MacPaw's site lists pricing "starting at $1.95/month"; third-party reviews describe its paid plans as yearly subscriptions and say deleting needs a paid plan. It suits you if you want a dedicated duplicate finder and don't mind a subscription.

Gigabroom makes sense if you also want to see what fills your disk and clean caches, large files and app leftovers in the same app, for a one-time price as part of MacSuite. Our roundup of Mac cleaner apps compares more options.

If it doesn't work

Storage didn't go down after deleting duplicates. Files in the Trash still take space until you empty it. If the Trash is empty and the space still didn't come back, the copies may have been APFS clones, or macOS may be keeping the data in a local Time Machine snapshot for a while. Mac storage not going down after deleting files walks through each cause.

Gigabroom finds fewer duplicates than you expected. Check Settings ▸ Duplicates: files under 1 KB and the default skipped types (.plist, .strings and others) are left out. Check Settings ▸ Exclusions for folders or patterns you excluded. Turn on Include hidden files if the copies are in hidden folders. Cloud-only files are skipped and counted, not compared.

Desktop, Documents or Downloads seems to be missing from the results. macOS asks before any app reads those folders. If you clicked Don't Allow, open System Settings, search for "Files and Folders", allow Gigabroom, then search again.

Some selected copies weren't moved. Gigabroom skips files that changed since the search, groups whose kept copy was moved or changed, and groups where every copy was selected. Run Find Duplicates again for a fresh list.

The Duplicates album doesn't appear in Photos. Photos only shows it once it has found duplicates, and detection runs in the background after an import. Check again later.

FAQ

Is it safe to delete duplicate files on a Mac? Yes, if the tool compares contents and you keep the copy in the folder you actually use. Leave files inside app folders and libraries alone, and move copies to the Trash rather than deleting them outright so you can put them back.

Does Finder have a duplicate file finder? No. Finder can search and sort by name, size and date, which helps you spot likely copies, but it can't confirm that two files are identical.

Can I delete duplicate photos from the Pictures folder in Finder? Not if they're inside your Photos library; use the Duplicates album in Photos instead. Loose image files in Pictures, outside the library, can be handled by any duplicate finder.

Why does a duplicate finder show more savings than I got? Usually because some copies were APFS clones that share storage, or because the Trash hasn't been emptied yet. For other ways to reclaim space, see how to free up space on Mac and how to find large files on Mac.

Every app.
One purchase.