Geotag Photos from a GPX Track Log on Your Phone
Your mirrorless camera has no GPS. Or you turned off location on your phone to save battery on the trail. Either way, you come home with a day of photos and no idea where half of them were taken.
But your watch, bike computer or hiking app recorded every step. A track log (usually a .gpx file) is exactly what you need to put each photo back on the map, and you can do it from your phone.
What you need
- The photos, on your phone (copy them from the camera if needed).
- The track file for the same day: export GPX from Strava, Garmin Connect, Komoot, AllTrails, Wikiloc or similar, or the KML/NMEA/TCX file from your logger.
- ExifTool for Android (Google Play) or the iPhone beta on TestFlight.
Before you start: check the camera clock
Geotagging matches time, not pixels. Open one photo in ExifTool and look at Date Time Original. If the camera was 3 minutes fast, or still on your home time zone, correct the dates first (how to change the date taken). This one step solves most “my pins are in the river” problems.
Step by step
- Open a photo from the trip in ExifTool. To do the whole trip, long-press to select several photos on the home screen.
- Tap the round action button and choose Update EXIF location ("Change or remove GPS location").
- Choose "Import from track log file (Advanced)" in the dialog. It lists every supported format.
- Pick your track file from storage, Downloads or your cloud drive.
- Let it match. ExifTool reads each photo's time, finds the nearest track point and writes latitude, longitude and altitude.
- Check the result in the EXIF tab (GPS Latitude, Longitude, Altitude) or on the Map tab on the home screen.



Supported track formats
| Source | Typical format |
|---|---|
| Strava, Komoot, AllTrails, Wikiloc, most hiking apps | GPX |
| Garmin watches and bike computers | GPX, Garmin XML / TCX |
| Google Earth, My Maps | KML |
| Paragliding and gliding loggers | IGC |
| GPS receivers and dataloggers | NMEA (RMC, GGA, GLL, GSA) |
| Drones and survey gear | GPS/IMU CSV, Bramor gEO |
| Others | Magellan PMGNTRK, Honeywell PTNTHPR, Winplus Beacon TXT, ExifTool CSV |
Troubleshooting
- Nothing happens / no match: the photo times are outside the track. Check that the track covers the whole shoot and that the photo dates are right.
- Pins are shifted along the route: the camera clock was off by a few minutes. Fix the date, then geotag again.
- Pins are hours away: a time zone problem. Cameras usually store local time with no zone, while GPX uses UTC. Correct the photo times to match.
- One photo has the right location, the rest don’t: skip the track and use Copy metadata to other files to copy GPS from that photo.
Why bother?
- Your gallery’s map view and “places” albums start working for camera photos.
- Lightroom, Google Photos and photo-sharing sites can show where each shot was taken.
- Trip reports and travel blogs get an accurate route with photos pinned along it.
And when you share those photos publicly later, remember that the coordinates travel with the file. Use Remove location & share for anything taken near home (why).
More: change a location by hand on the map · every ExifTool feature
How to install ExifTool
- Android: Open Google Play, search for “ExifTool” or tap the Google Play badge below, then tap Install. Updates arrive automatically through Google Play.
- iPhone / iPad (beta): The iOS version is in beta on TestFlight. Install Apple’s TestFlight app from the App Store, then open the TestFlight link below on your iPhone and tap Accept → Install. If the beta is full, check back later.
Coming soon: App Store.
💡 Tip: only install ExifTool from the official stores or the links on this page, never from unknown APK/IPA mirrors. See every feature on the ExifTool page.
FAQ
How does geotagging from a track log work?
A track log is a list of positions with timestamps. Each photo has a date taken. The app matches every photo's time to the closest point on your track and writes those coordinates into the photo's GPS tags.
Which track formats are supported?
ExifTool lists GPX, NMEA (RMC, GGA, GLL, GSA), KML, IGC, Garmin XML/TCX, Magellan eXplorist PMGNTRK, Honeywell PTNTHPR, Bramor gEO, Winplus Beacon TXT, GPS/IMU CSV and ExifTool CSV.
My photos land in the wrong place. Why?
Almost always the camera clock. If the camera was 5 minutes fast or still on home time, every photo is matched to the wrong part of the track. Fix the date taken first, then geotag again.
Does it work for photos from a real camera?
Yes, as long as the files are on your phone. Copy the JPEGs from the camera's card or app, then geotag them in ExifTool.