How to Find Where a Photo Was Taken: Complete EXIF GPS Geolocation Guide
Every digital camera and modern smartphone embeds hidden geotagging metadata into image files at the exact moment a photo is captured. This guide explains the technical architecture of EXIF GPS IFD tags and demonstrates how to inspect them privately without exposing your data.
1. The Architecture of EXIF Geotagging
When Location Services are enabled on an iPhone, Android smartphone, or digital camera equipped with GPS (or synced via Bluetooth), the device's image signal processor (ISP) queries satellite constellations (GPS, GLONASS, Galileo, Beidou). Upon shutter actuation, these coordinates are encoded directly into the TIFF/EXIF standard header within the JPEG, HEIC, or DNG file container.
Key GPS Tags Embedded in Photo Metadata
EXIF Tag Name
HEX Tag ID
Description
GPSLatitudeRef
0x0001
North ('N') or South ('S') Hemisphere reference
GPSLatitude
0x0002
Degrees, Minutes, and Seconds (DMS) array
GPSLongitudeRef
0x0003
East ('E') or West ('W') Hemisphere reference
GPSLongitude
0x0004
Degrees, Minutes, and Seconds (DMS) array
GPSAltitude
0x0006
Altitude in meters above or below sea level
GPSImgDirection
0x0011
Bearing angle (0° to 359.99°) the camera lens pointed
2. Converting DMS Coordinates to Decimal Degrees
EXIF stores coordinates as an array of three rational numbers representing Degrees ($D$), Minutes ($M$), and Seconds ($S$). To project coordinates onto Leaflet or Google Maps, convert them to Decimal Degrees ($DD$):
DD = D + (M / 60) + (S / 3600)
3. Extracting Location Privately via ExifTrace
Traditional web-based EXIF tools require uploading your confidential photos to remote cloud servers — posing severe privacy risks. ExifTrace operates using a 100% in-browser WebAssembly and JavaScript parser:
The client-side engine parses the binary ArrayBuffer locally within ~15 milliseconds.
View the pinned location on an interactive Leaflet map, complete with reverse-geocoded address and historical satellite weather recorded at capture time.