Account

What new tool do you want?

Image Tools

Geotag Photos from a GPX Track

Add GPS locations to camera photos using a GPX or KML track from your phone, watch or GPS. Matches each photo's time to the track (with camera time-zone and clock corrections), writes standard EXIF GPS tags without touching the picture or other metadata, and downloads the geotagged JPEGs.

How to use

  1. 1Drop the GPX or KML track recorded during the trip, then the JPEG photos from your camera.
  2. 2Set the time zone your camera's clock was on and, if it was wrong, by how much. Each photo shows the matched position and how it was found.
  3. 3Press Geotag and download the photos (a ZIP for several). Check a few positions with the map links first.

Frequently asked questions

How are photos matched to the track?

The camera stores the local time a photo was taken, without a time zone in most cameras. The tool converts it to UTC using the time zone you choose (or the one in the photo, if the camera recorded it), corrects the camera's clock error, and finds that moment on the track. Between two track points it interpolates the position; if the nearest point is further away in time than the limit you set, the photo is left untagged.

My camera's clock was wrong. How do I find the error?

Take a photo of your phone's clock (or any accurate clock) with the camera and compare the time shown in the picture with the camera's own time for that photo. If the camera says 10:02:30 and the clock in the picture shows 10:00:00, the camera was 2:30 ahead.

Does it change my photos?

Only the EXIF GPS tags are added (latitude, longitude, altitude, GPS time and date, WGS-84 datum). The picture data isn't re-encoded and the other metadata, including the camera's maker notes, stays where it was.

Which files are supported?

Tracks: GPX 1.0 and 1.1 (track, route and waypoints with times) and KML with gx:Track or time-stamped placemarks. Photos: JPEG. RAW files and HEIC photos aren't written; most phones already geotag their own photos.

Are my photos or tracks uploaded?

No. Everything happens in your browser. The map links open OpenStreetMap only if you click them.

Sources

Example: a hiking day with a camera

Record the hike with a phone app that exports GPX, and take photos with your camera, whose clock is set to home time in UTC+01:00. Drop the GPX and the photos, choose UTC+01:00, and look at the table: most photos are matched between two track points a few seconds apart. One photo taken at the car park before you started recording shows No track point near this time; raise the limit to 15 minutes to use the first track point, or leave it untagged.

Time zones and daylight saving

Choose the offset the camera's clock was actually on when the photos were taken, including daylight saving. A camera set to London time in July is on UTC+01:00, not UTC+00:00. If every photo lands about an hour off along the track, the time zone is wrong by an hour.

What gets written

GPSVersionID 2.3, latitude and longitude with N/S and E/W (to about 3 mm), altitude above or below sea level when the track has elevations, the GPS time and date in UTC, and the WGS-84 map datum, as defined in the Exif standard's GPS attributes.

Related tools

More: Image Tools