EXIF tag · IFD0

XPComment

The XPComment tag stored in the IFD0 directory.

0x9c9c
Tag ID (40092 decimal)
IFD0
IFD / group
int8u
Data type
EXIF
Table

What XPComment means#

The XPComment tag stored in the IFD0 directory.

Read, write and remove it#

# read
exiftool -XPComment photo.jpg
# write
exiftool -XPComment="…" photo.jpg
# remove
exiftool -XPComment= photo.jpg
# all files in a folder, as CSV
exiftool -csv -XPComment -r ./photos > xp-comment.csv

In Python with Pillow:

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

Frequently asked questions#

What is the EXIF tag ID of XPComment?

0x9c9c (40092 decimal), in the IFD0 directory.

How do I see XPComment in a photo?

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