EXIF tag · (UTC time of GPS fix. When writing, date is stripped off if present, and

GPSTimeStamp

UTC time of the GPS fix.

0x0007
Tag ID (7 decimal)
(UTC time of GPS fix. When writing, date is stripped off if present, and
IFD / group
rational64u
Data type
GPS
Table

What GPSTimeStamp means#

UTC time of the GPS fix.

Read, write and remove it#

# read
exiftool -GPSTimeStamp photo.jpg
# write
exiftool -GPSTimeStamp="…" photo.jpg
# remove
exiftool -GPSTimeStamp= photo.jpg
# all files in a folder, as CSV
exiftool -csv -GPSTimeStamp -r ./photos > gps-time-stamp.csv

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of GPSTimeStamp?

0x0007 (7 decimal), in the (UTC time of GPS fix. When writing, date is stripped off if present, and directory.

How do I see GPSTimeStamp in a photo?

Run exiftool -GPSTimeStamp 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