Renaming photos by date taken on Mac sounds simple until you realize there are three different dates attached to every photo file: EXIF DateTimeOriginal, file creation date, and file modification date. Only one of them is the actual shutter time. Pick the wrong one and your filenames will be out of order even after sorting.
Which date is the actual date taken?
- EXIF DateTimeOriginal: the shutter moment. This is what you want.
- DateTimeDigitized: when the image was digitized (same as above for digital cameras; different for film scans).
- File creation date: when the file landed on this Mac. Useless for photos imported from an SD card last week.
- File modification date: when the file was last edited. Changes if you tag or open-and-save.
A proper Mac photo date renamer uses EXIF DateTimeOriginal. Nothing else.
The ISO-8601 rule
Filenames sort alphabetically in Finder. Only ISO-8601 dates (YYYY-MM-DD) sort correctly as alphabet. Never use DD-MM-YYYY, MM-DD-YY, or April 20 2026. Always:
2026-04-20_sunset.jpg ← sorts correctly 04-20-2026_sunset.jpg ← sorts by month across years (broken) April-20-2026_sunset.jpg ← alphabetical month order (very broken)
Method 1: macOS Finder (does not work)
Finder has a batch rename option. Select your files, right-click, choose Rename, then pick a date format. The problem is it uses the file creation date, not EXIF. If your photos have ever been copied between machines, imported from an SD card, or re-downloaded from iCloud, the creation date is almost certainly not the shutter time.
Method 2: Photos.app (also does not work)
Photos.app has no option to rename files by EXIF capture date. You can export with a custom filename pattern, but the files already in your library stay named as they are.
Method 3: exiftool (free, command-line)
exiftool is free and runs from Terminal:
# Install via Homebrew brew install exiftool # Rename all JPGs by EXIF date taken cd ~/Pictures/2026-04-12 exiftool '-FileName<DateTimeOriginal' -d '%Y-%m-%d_%H-%M-%S%%-c.%%le' *.jpg # Result: 2026-04-12_14-30-52.jpg, etc.
This gets you date-based filenames but nothing else. No subject, no location.
Method 4: FilesDesk
FilesDesk reads EXIF data, GPS coordinates, and optionally uses AI to describe what is in the photo, then builds the filename from a template you configure.
- Install FilesDesk for Mac.
- Drag your photo folder into the app.
- Pick the EXIF Date + Subject template:
{exif_date:YYYY-MM-DD}_{ai_subject}_{counter:000} - Preview the results, then click Apply.
Output:
# Before IMG_4321.jpg IMG_4322.jpg IMG_4323.jpg # After 2026-04-12_sunset_001.jpg 2026-04-12_sunset_silhouette_002.jpg 2026-04-12_lighthouse_003.jpg
Timezone gotchas
EXIF date is recorded in camera-local time with no timezone offset. If you shot in Tokyo and imported the photos in San Francisco, the date in the filename reflects Tokyo local time. FilesDesk uses the camera-local EXIF time by default. If you need UTC instead, use {exif_date_utc:YYYY-MM-DD} in your template.
iPhone tip: iPhones shoot in HEIC by default. HEIC files do carry EXIF data including DateTimeOriginal, but FilesDesk does not support HEIC yet. The easiest fix is to go to Settings > Camera > Formats on your iPhone and switch to Most Compatible, so future shots save as JPEG. For existing HEIC files, open them in Preview on Mac and export as JPEG before renaming.
Photos that have no EXIF
Some sources strip EXIF entirely, including Twitter/X downloads, screenshots, iMessage saves, and Signal attachments. For those files, FilesDesk falls back to:
- File creation date, if it looks reliable.
- File modification date, if creation date is also missing.
- An
unknown-datetoken in the filename, so you can spot and handle them separately.
Rename photos by date taken on Mac, properly
Free to try. 15 AI credits included.
Download FilesDesk for MacFAQ
Does renaming by EXIF change my photo's metadata?
No. Only the filename changes. EXIF, file creation time, and modification time are preserved.
What happens to photos without EXIF?
FilesDesk falls back to file creation date, or adds an unknown-date token to the filename so you can find and handle those files separately.
Can I rename HEIC photos from my iPhone on Mac?
Not yet. FilesDesk currently supports JPEG, PNG, and other common formats but does not support HEIC. Convert your iPhone photos to JPEG first. You can do that by opening the file in Preview on Mac and exporting as JPEG, or by changing your iPhone camera setting to Most Compatible under Settings > Camera > Formats so it shoots JPEG going forward.
Will Photos.app or Lightroom still find my photos after renaming?
Both apps track files by path, not filename alone. If you rename before importing, everything works normally. If you rename files that are already in a library, use Photos > File > Consolidate, Lightroom > Synchronize Folder, or Capture One > Relocate to reconnect them.