EXIF tag · ExifIFD

ImageNumber

The ImageNumber tag stored in the ExifIFD directory.

0x9211
Tag ID (37393 decimal)
ExifIFD
IFD / group
int32u
Data type
EXIF
Table

What ImageNumber means#

The ImageNumber tag stored in the ExifIFD directory.

Read, write and remove it#

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

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get_ifd(0x8769).get(0x9211)  # ImageNumber
print(value)

Frequently asked questions#

What is the EXIF tag ID of ImageNumber?

0x9211 (37393 decimal), in the ExifIFD directory.

How do I see ImageNumber in a photo?

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