EXIF tag ·

GPSLatitude

Latitude where the photo was taken — remove it before sharing if location privacy matters.

0x0002
Tag 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.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get(0x0002)  # GPSLatitude
print(value)

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