0x0002Tag ID (2 decimal)
IFD / group
rational64u
Data type
GPS
Table
What GPSLatitude means#
Latitude where the photo was taken — remove it before sharing if location privacy matters.
Read, write and remove it#
# read
exiftool -GPSLatitude photo.jpg
# write
exiftool -GPSLatitude="…" photo.jpg
# remove
exiftool -GPSLatitude= photo.jpg
# all files in a folder, as CSV
exiftool -csv -GPSLatitude -r ./photos > gps-latitude.csvIn Python with Pillow:
from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get(0x0002) # GPSLatitude
print(value)Other tags#
- GPSLongitude
0x0004 - GPSAltitude
0x0006 - GPSSpeed
0x000d - GPSImgDirection
0x0011
Frequently asked questions#
What is the EXIF tag ID of GPSLatitude?
0x0002 (2 decimal), in the directory.
How do I see GPSLatitude in a photo?
Run exiftool -GPSLatitude photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).
Last updated October 03, 2026 · How we calculate · Sources