How to geotag RAW photos on Mac and iPad

Updated

JPEG and HEIC are easy to geotag: their metadata layout is standard and Apple's own ImageIO can rewrite it safely. RAW files are harder. Every manufacturer's format — Nikon NEF, Canon CR3 and CR2, Sony ARW, Fujifilm RAF, Olympus ORF, Panasonic RW2 — is its own container, and writing into one safely takes a tool that understands that container.

There are two ways to give a RAW file a location, and EasyGeotag uses the right one for the device you are on.

Supported RAW formats

EasyGeotag geotags these RAW file types, alongside JPEG and HEIC:

By format: how the GPS is written, and who reads it

On the Mac, the five formats people ask about most are all written in place the same way. What differs is what Lightroom Classic reads from an iPad sidecar, and that only matters for DNG.

Swipe the table sideways to see the Lightroom Classic and Capture One columns.

Format On Mac (bundled ExifTool) On iPad Lightroom Classic Capture One
NEF
Nikon
Written into the NEF, after a backup copy XMP sidecar; NEF untouched Reads both Reads both
CR3
Canon
Written into the CR3, after a backup copy XMP sidecar; CR3 untouched Reads both Reads both
ARW
Sony
Written into the ARW, after a backup copy XMP sidecar; ARW untouched Reads both Reads both
RAF
Fujifilm
Written into the RAF, after a backup copy XMP sidecar; RAF untouched Reads both Reads both
DNG
Leica, Pentax, Ricoh, DJI, phones, converted RAW
Written into the DNG, with embedded XMP (on by default), after a backup copy XMP sidecar; DNG untouched Reads the Mac-written DNG; ignores a sidecar beside a DNG Reads both

“Reads both” means it reads the GPS written into the file on a Mac and the XMP sidecar written on an iPad. Capture One picks up sidecars with Auto Sync Sidecar XMP set to Load in Settings ▸ Image, or with Image ▸ Load Metadata; for a DNG, also turn on Prefer Sidecar XMP over Embedded Metadata. The other formats in the list above follow the NEF row.

On Mac: GPS written into the RAW file

The Mac app writes GPS coordinates, altitude and the place name directly into the RAW file using ExifTool, the long-standing open-source metadata tool by Phil Harvey. It is bundled inside the app, so there is nothing to install and no command line. The full Mac workflow is in how to geotag photos on a Mac.

On iPad: an XMP sidecar beside the RAW

iPadOS cannot run ExifTool, and no supported API can safely rewrite a RAW or DNG container. So on iPad, EasyGeotag writes the location into an XMP sidecar — a small .xmp file with the same name as the RAW, saved next to it. The original RAW is never opened for writing.

Sidecars are the standard way RAW editors store metadata without touching the original. Lightroom Classic, Adobe Camera Raw, Bridge and Capture One all read them for proprietary RAW files such as NEF, CR3, ARW and RAF. DNG is the exception: Lightroom Classic expects a DNG's metadata inside the file and does not support a sidecar beside it, so tag DNG files on the Mac if you edit in Lightroom. If you would rather have the coordinates inside any RAW file, tag the same folder on the Mac later.

If a RAW already has a sidecar from another app — Lightroom, for example — EasyGeotag skips that photo by default rather than touch the sidecar. Turn on Update location in existing XMP sidecars in Settings to replace only its GPS and location fields; ratings, keywords, develop settings and everything else are kept.

Will this change my RAW file?

On Mac, yes, but only its metadata. ExifTool adds the GPS position, altitude and place name to the file's metadata; the image data, the capture date and every other field stay as they were. Before any file is modified in place, EasyGeotag copies it to a backup folder beside the photos. That is on by default, and Restore Originals puts the copies back whenever you like.

On iPad, no. The location goes into a separate .xmp file, and the RAW itself is never opened for writing. Deleting a sidecar that EasyGeotag created removes the location again.

Existing sidecars are left alone unless you opt in. If a RAW already has a sidecar from Lightroom or another app, EasyGeotag does not touch it and does not tag that photo. Turn on Update location in existing XMP sidecars in Settings to replace only the GPS and location fields in it; ratings, keywords and develop settings are kept. A sidecar that EasyGeotag itself wrote on an iPad is updated when you later tag the same RAW on a Mac, so the file and its sidecar never disagree.

In every case the confirmation sheet shows how many files will be written in place, how many get a sidecar, and whether backups are on, before anything changes.

Step by step

  1. Record a track on your iPhone while you shoot, or bring a GPX from a Garmin or other logger (how to geotag from a GPX file).
  2. On Mac or iPad, open the track and the folder of RAW files. You can drag either onto the window.
  3. Check the camera clock offset and timezone, then review how closely each frame matched the track.
  4. Press Geotag. The confirmation sheet tells you how many files will be written with ExifTool, how many will get a sidecar, and whether backups are on — before a single byte changes.

Tag before you import, or refresh afterwards

The simplest workflow is to geotag the card's folder first and import into Lightroom, Capture One or Apple Photos afterwards, so the location is there from the start.

If the photos are already in a Lightroom Classic catalog, the catalog has a cached copy of the old metadata. Select the photos and choose Metadata ▸ Read Metadata from Files to pick up the new GPS and location fields.

What gets written

Photos landing in the wrong place? That is almost always the camera clock: see photos geotagged in the wrong place. Lightroom users can also compare Lightroom Classic's own GPX tracklogs, and more photo geotagging guides cover the rest.

Steps for your camera

Questions

Does Lightroom see the GPS?

Yes for NEF, CR3, ARW, RAF and the other proprietary RAW formats, whether you tag on Mac or iPad: Lightroom Classic reads the GPS written into the file and the XMP sidecar beside it. For DNG, tag on the Mac, because Lightroom Classic reads metadata stored inside a DNG and does not support a sidecar beside one. If the photos are already in a catalog, select them and choose Metadata ▸ Read Metadata from Files.

Is DNG different?

Yes, in two ways. On Mac, DNG has its own setting, Embed XMP in DNG files, on by default, because editors expect metadata inside that container. On iPad, a DNG gets an XMP sidecar like any other RAW; Capture One can read it, Lightroom Classic does not, so tag DNG files on the Mac if you edit in Lightroom.

Can I do it on iPad?

Yes. The iPad has the same workspace as the Mac and writes the location into an XMP sidecar next to each RAW, without opening the original for writing. iPadOS cannot run ExifTool, so if you want the GPS inside the RAW file itself, tag the same folder on a Mac later.

What if the camera clock was wrong?

Correct it before you write anything: set the camera clock offset to the second, or let EasyGeotag work it out from one photo of your phone's clock. Photos that land whole hours off are usually a timezone setting, not the clock. The full walkthrough is in photos geotagged in the wrong place.

Recording on iPhone is free and unlimited, with five free photos per Apple Account on Mac and iPad. Requires macOS 15, iPadOS 18 or iOS 18.