# Duplicate file finder for Mac: how to find and remove duplicates safely

> How to find duplicate files and photos on a Mac with Finder, Photos, Terminal or a duplicate finder app, and which copy to keep.

- URL: https://maccleaner.tech/duplicate-file-finder-mac/
- Published by: Mac Cleaner Guide, written by the Bytesweep team (Bytesweep is the publisher's own app)
- Last updated: November 12, 2026
- Steps, prices and versions checked against Apple's and each developer's own pages in November 2026 (macOS 27).

macOS has a built-in duplicate finder for photos, in the Photos app under **Utilities > Duplicates**, but none for ordinary files. For documents, downloads and music you can use a Finder search, a Terminal command, or a duplicate finder app such as the free dupeGuru.

## Duplicate photos: use the Photos app

1. Open Photos.
2. In the sidebar, under **Utilities**, click **Duplicates**. It appears only when Photos has found some, and a large or new library can take a while to be analyzed. If you cannot see it, hold the pointer over Utilities and click the arrow that appears.
3. Select the copies in a set and click the **Merge Items** button, which shows the number selected, such as Merge 2 Items. Confirm in the dialog. Photos keeps one copy in your library.

Merged copies go to **Recently Deleted** and stay for 30 days. Empty it if you need the space now.

## Duplicate files: three ways without buying anything

### Finder search

Finder cannot compare file contents, but it catches the common case. Press Command F, search **This Mac**, and look for names containing `copy` or ending in `(1)` or `2`. Sorting the Downloads folder by name and size also puts repeated downloads next to each other.

### Terminal

This lists files with identical contents in a folder, whatever they are called. It compares checksums, so it is exact:

```
find ~/Downloads -type f -exec md5 -r {} + | sort | awk 'seen[$1]++ {print $2}'
```

It prints the second and later copies of each file. It only lists; nothing is deleted. It looks inside subfolders too, and empty files all match each other, so ignore those. Change `~/Downloads` to another folder to check it. File names with spaces are cut short in this simple form, so use it as a pointer, not a delete list.

### A free app

dupeGuru is open source and compares by content. It has modes for music and pictures as well as ordinary files. The interface is plain, and it does the job. dupeGuru's last release is from 2022 and is not notarized, so macOS blocks its first launch; allow it under **System Settings > Privacy & Security > Open Anyway**.

## Which copy to keep

- **Keep the one in the organized place.** A file in Documents > Taxes beats the same file in Downloads.
- **Keep the original date.** The oldest copy usually carries the true creation date, which matters for photos.
- **Check before deleting inside app libraries.** Photos, Music and Mail manage their own folders. Remove duplicates from inside the app, never by deleting files from the library package in Finder.
- **Similar is not duplicate.** Two shots of the same scene, or a RAW and its JPEG, are different files. Decide those by eye.

## What is not worth chasing

Thousands of small duplicate files inside app bundles, developer folders and system locations are normal and add up to little. A good duplicate finder skips them. Spend your effort on the few large ones: videos, disk images, exported projects and photo folders imported twice.

On APFS, the format every modern Mac uses, a file duplicated in Finder on the same disk shares its storage with the original until one of them is edited. Deleting such a copy may free less than its listed size.

**Our own app's duplicate finder.** Bytesweep compares files by content, groups the copies, suggests which to keep, and lets you put cleaned duplicates back for 7 days. This site is published by the Bytesweep team. Free to try for 3 days, which is enough to see every duplicate it finds; removing them needs the one-time USD 29.99 license. [See Bytesweep for Mac](https://bytesweep.app/mac.html).

## Stop duplicates coming back

- Import photos through one app, not by dragging folders around as well.
- Clear Downloads monthly, so a repeated download is easy to spot.
- Resolve sync conflicts in iCloud Drive, Dropbox or Google Drive when they appear, before the "conflicted copy" files multiply.

Duplicates are one part of a full disk. For the rest, see [how to free up space on a Mac](https://maccleaner.tech/free-up-space-mac/).

## Quick answers

### Does a Mac have a built-in duplicate file finder?

For photos, yes: in the Photos app under Utilities > Duplicates. For other files there is none; use a Finder search, a Terminal command or an app such as dupeGuru.

### Is it safe to delete duplicate files on a Mac?

Yes for your own documents and downloads. Do not delete files inside the Photos, Music or Mail libraries by hand; remove duplicates from inside those apps.

### What is the best free duplicate file finder for Mac?

dupeGuru is free and open source and compares files by their content.

## Sources

- [Photos User Guide: Remove duplicate photos and videos on Mac](https://support.apple.com/guide/photos/remove-duplicates-pht5a3157c1d/mac)
- [Apple Developer: About Apple File System](https://developer.apple.com/documentation/foundation/about-apple-file-system)
- [dupeGuru project site](https://dupeguru.voltaicideas.net/)
- [dupeGuru on GitHub](https://github.com/arsenetar/dupeguru)
- [Apple Support: Free up storage space on Mac](https://support.apple.com/en-us/102624)
