Geotag photos from a GPX file
Use this page to see where photos land on a GPX track. It runs in your browser and does not upload the files. Then write the locations into the originals in the EasyGeotag app on Mac or iPad.
In this browser tool
- Drop one GPX file and up to 5 JPEG photos, or use Choose GPX… and Choose photos….
- Set Photo timezone for photos that have no timezone tag (EXIF OffsetTimeOriginal). Photos that already have one keep it.
- Set Camera clock offset if the camera clock was wrong. Use + if the camera clock was behind (slow). An example is +01:30:00.
- Set the Match window, which is how far in time a photo may be from a GPS fix and still match. The default is 5 minutes.
- Review the plot and the distance of each photo from a real GPS fix.
- Optionally download 1600 px JPEG previews with the matched position in EXIF. Your original files are not touched.
In the EasyGeotag app
- On Mac or iPad, choose Open GPX File and open the photo folder.
- Set Photo timezone and Camera clock offset. If you photographed your phone’s clock with the camera, choose Set From a Photo… and enter the time shown on the phone.
- Review the matches, then geotag. Files modified in place are copied to a backup folder first, on by default. The app writes GPS into JPEG, HEIC and RAW on Mac, and XMP sidecars for RAW on iPad. Unlike this page, it is not limited to five JPEGs per batch.
If the pins are in the wrong place, see fix wrong geotags.
How the matching works
A GPX track is a list of positions, each with the time it was recorded,
in UTC. Your camera records the time each photo was taken
(DateTimeOriginal). The matcher turns that into the same UTC
time, finds the moment in the track, and reads the position recorded
then. If the photo falls between two GPS fixes, the position is
interpolated between them rather than snapped to one, so a burst taken
while walking does not collapse onto a single spot. It never interpolates
across a break between track segments.
What the numbers mean
- Time from a GPS fix is how far the photo is, in time, from the nearest real recorded point. A few seconds is a confident match; minutes means the position is a guess between distant points.
- Distance from it is how far the matched position is from that fix. On a sparse track, a short time can still be a long way.
- Outside the track means the photo was taken before the recording started or after it ended. Usually that is the clock, not the GPS.
- In a gap means the recording lost signal around the time of the photo, for longer than the match window.
Photos in the wrong place? It is usually the clock
Off by whole hours is a timezone: the camera recorded local time with no zone, and the matcher assumed a different one. Set the photo timezone, or apply the suggested offset. Off by exactly one hour is usually daylight saving. Off by seconds or minutes is clock drift. The suggestion can only find offsets that move photos onto the track; to measure drift, photograph a phone’s clock with the camera and compare. Fixing wrong geotags walks through all three.
Questions
Are my photos or my GPX track uploaded?
No. Everything runs in your browser. This page has no code that sends your photos or your track anywhere, and it still works if you disconnect from the internet after it loads.
Why only five photos?
This is a free preview of one batch. The EasyGeotag app is built for a whole shoot.
Can it read RAW or HEIC files?
No. This free tool reads JPEG only, and its downloads are 1600 px previews. The EasyGeotag app on Mac and iPad writes GPS into full-resolution JPEG, HEIC and RAW originals, with backups.
Why no map?
Map tiles come from a tile server, which would learn the area you are looking at. The plot is drawn locally from your track instead, so nothing leaves the page.
Where do I get a GPX file?
From a Garmin or other GPS watch, a handheld GPS, a bike computer, or an app — see geotagging photos from a GPX file, or record one on your iPhone. Lightroom users: Lightroom Classic and GPX tracklogs.
Something not working? Write to easygeotag@truposoftware.com.