Skip to content

Rename Photos by Date on Mac

Why the file date is often wrong, how to rename photos by EXIF date taken, and a safe batch workflow for JPEG, HEIC and RAW files on macOS.

The Macnestt team5 min read

  • Photos
  • How-to

A camera roll sorted by filename is chaos: IMG_4392, DSC_0117, P1000421. Sorting by date should fix it, but macOS shows several dates, and the one you pick matters.

This guide explains which date to use, how to check it, and how to rename a whole shoot by the camera's capture date without breaking the library.

Why the file date is often wrong

macOS shows a created date and a modified date for every file. Both belong to the file, not the photograph.

  • Copying a file can give it a new creation date.
  • Importing into a photo library, exporting, or restoring a backup can change it.
  • Editing an image changes the modified date.
  • Downloading a file sets both to the download time.

The camera writes DateTimeOriginal — the moment the shutter fired — into the image's EXIF metadata. That value travels inside the file, so it survives copies and moves. It is the date you want for sorting a shoot.

Check the capture date first

In Finder, select a photo and press Command-I. The Info window shows the file dates, and often a More Info section with the camera, lens and date taken.

For a more reliable check, open the image in Preview and press Command-I. The inspector shows the EXIF tab with the capture date, camera model and exposure settings.

If the capture date is missing, the photo was probably exported by an app that stripped metadata, or it is a screenshot. You will need a fallback name for those files.

Method 1: Finder's rename tool (limited)

Finder can add a date with Rename → Format → Name and Date, but it uses the file's date, not the EXIF capture date. For photos copied from a card, those values can differ by days.

Finder also cannot read the camera model, add a sequence based on capture time, or skip files without EXIF. It is fine for a quick file-date rename, not for a photo library.

Method 2: Terminal and exiftool

If you are comfortable in Terminal, ExifTool can rename from DateTimeOriginal:

brew install exiftool

# Preview the new names without changing anything
exiftool -d '%Y-%m-%d_%H-%M-%S.jpg' '-TestName<DateTimeOriginal' *.jpg

# Apply them
exiftool -d '%Y-%m-%d_%H-%M-%S.jpg' '-FileName<DateTimeOriginal' *.jpg

The -TestName pass prints the new names without renaming. Run it on a copy first, and remember there is no undo beyond your backup. ExifTool is excellent for scripted pipelines; it is less pleasant for a one-off shoot you want to inspect.

Method 3: Batchcraft (preview and undo)

Batchcraft is a native Mac bulk renamer with an EXIF rule. It reads the same metadata with Apple's image framework, shows every new name before anything moves, and can undo the batch.

Step by step

  1. Add the folder. Drag the shoot into Batchcraft. Turn on Subfolders before adding if the photos are split across dated folders.
  2. Add an EXIF Metadata rule. Set the field to Date taken, position Prefix, format yyyy-MM-dd.
  3. Add a second EXIF rule if useful. Camera model, lens or ISO can go in the name too. Use position Suffix.
  4. Add a sequence. A Numbering rule with position Suffix and three digits keeps photos from the same second unique and sortable.
  5. Sort first. Numbering follows the file-list order. Sort by Date created or Name before you check the preview.
  6. Filter the rule. Add Extension is jpg, heic, tiff, png, dng, cr2, cr3, nef, arw so the rule only looks at images.
  7. Set a fallback. For photos without a capture date, type undated or no-exif in the fallback field.
  8. Preview. Every row should show the date, optional camera and sequence. Look for 1970 or 1904 dates — those usually mean a broken camera clock.
  9. Rename. Click Rename, or press Command-R.
  10. Undo if needed. Command-Shift-Z reverses the whole batch, or open History to undo it later.

The result is a folder that sorts chronologically in Finder, Lightroom, Capture One or any other app:

2026-03-26 001.jpg
2026-03-26 002.jpg
2026-03-26 003.jpg

Four naming schemes that work

Date and sequence — 2026-03-26 001.jpg Simple, sortable, and short enough for any app.

Date, camera, sequence — 2026-03-26 Canon EOS R5 001.jpg Useful for two-camera shoots. Add a camera rule before the numbering rule.

Date and time — 2026-03-26_14-32-05.jpg Use the EXIF format yyyy-MM-dd_HH-mm-ss. Good when several photos share a second.

Client, date, sequence — Acme 2026-03-26 001.jpg Add an Add Text rule with the client name as a prefix, before the date rule.

Watch the camera clock and time zone

EXIF stores local time as the camera recorded it. If the camera clock was wrong, every name will be wrong by the same offset. Fix the clock before the shoot, or adjust the names afterwards with a Find & Replace or Range rule.

Travel across time zones and the camera may record local time without an offset. Batchcraft does not shift time zones; it uses the value in the file.

Which formats work?

Batchcraft reads EXIF from JPEG, HEIC, TIFF, PNG and common RAW formats, including DNG, CR2, CR3, NEF, ARW, RAF, ORF and RW2.

Non-image files in the same folder are left unchanged. Photos without the requested field use your fallback text, or keep their current name if the fallback is empty.

Is it safe?

  • Nothing is overwritten. If a target name exists, Batchcraft stops rather than replacing a photo.
  • Conflicts are visible before you rename.
  • The whole operation is undoable from History.
  • Keep a backup of irreplaceable shoots. Any batch tool deserves that courtesy.

If something looks wrong, undo the batch and adjust the rule. Nothing is permanent until you rename, and even then History has the last 100 operations.

Frequently asked questions

How do I rename photos by date taken on Mac?

Use a tool that reads EXIF, not the file date. In Batchcraft, add an EXIF Metadata rule, choose Date taken, set the format and position, then preview and rename. Finder's built-in rename uses file dates instead.

Can I batch rename photos in the Photos app?

Photos does not offer a batch rename by capture date. Export the originals and rename them with a file tool, or use a dedicated renamer on the exported files.

Does renaming change the photo or its metadata?

No. The file contents and EXIF stay exactly the same; only the filename changes. Batchcraft never edits metadata.

What if a photo has no EXIF date?

Set a fallback such as undated, or add a Date Insertion rule that uses the file's modified date. Screenshots and exported images often have no capture date.

Can I rename RAW files by date?

Yes, for the RAW formats Apple's image framework can read, including DNG, CR2, CR3, NEF, ARW, RAF, ORF and RW2.