Privacy Jun 1, 2026 5 min read

Inside Image EXIF Metadata: What Photos Actually Reveal

Discover exactly what data is stored in image EXIF metadata — from GPS coordinates to camera serials — and how to inspect or strip it before publishing.

Every JPEG, HEIC, or TIFF file your phone or camera produces is more than just pixels. Tucked into the file header is a structured block of metadata — EXIF (Exchangeable Image File Format) data — that can describe everything from the exact lens used to the precise GPS coordinates of where the shutter clicked. For developers and webmasters publishing user-uploaded images, that hidden payload is both a useful debugging signal and a serious privacy liability.

Here's a precise breakdown of what EXIF actually contains, with real field names you'll see when inspecting files.

The Core Categories of EXIF Data

EXIF metadata is grouped into logical sections called IFDs (Image File Directories). When you open a photo in an EXIF viewer, the tags fall into roughly six buckets.

1. Camera and Device Identification

This is the first thing most tools display, and it's surprisingly granular:

  • Make — manufacturer (e.g., Apple, Canon, Sony)
  • Model — exact device (e.g., iPhone 15 Pro, Canon EOS R6)
  • BodySerialNumber — the camera's unique serial, often included by DSLRs
  • LensModel and LensSerialNumber — for interchangeable lens systems
  • Software — firmware version or editing app (e.g., Adobe Photoshop 25.0, iOS 17.2)
  • HostComputer — sometimes records the Mac or PC name used during processing

2. Capture Settings

The technical exposure data photographers care about — and which attackers can use to fingerprint a specific device:

  • ExposureTime, FNumber, ISO
  • FocalLength and FocalLengthIn35mmFilm
  • Flash (fired, red-eye reduction, etc.)
  • WhiteBalance, MeteringMode, ExposureProgram
  • SceneCaptureType (Standard, Portrait, Landscape, Night)

3. Date and Time Stamps

Three separate timestamps are often stored — and they don't always agree:

  • DateTimeOriginal — when the shutter fired
  • DateTimeDigitized — when the image was digitised (matches Original on digital cameras)
  • DateTime (or ModifyDate) — last modified, updated by editing software
  • OffsetTimeOriginal — timezone offset, on newer devices
  • SubSecTimeOriginal — sub-second precision

4. GPS Location Data

The most privacy-sensitive block. When enabled, smartphones embed:

  • GPSLatitude and GPSLatitudeRef (N/S)
  • GPSLongitude and GPSLongitudeRef (E/W)
  • GPSAltitude and GPSAltitudeRef (above/below sea level)
  • GPSTimeStamp and GPSDateStamp (UTC time of fix)
  • GPSSpeed, GPSImgDirection, GPSDestBearing — direction the camera was pointing
  • GPSHPositioningError — horizontal accuracy in metres

Coordinates are typically stored as degrees/minutes/seconds at six-decimal precision, which pinpoints a location to roughly 11 centimetres.

5. Image Structure and Color

Mostly innocuous but useful for image pipelines:

  • Orientation (1–8, controls rotation flags)
  • XResolution, YResolution, ResolutionUnit
  • ColorSpace (sRGB, Adobe RGB, Display P3)
  • ExifImageWidth, ExifImageHeight
  • ComponentsConfiguration, YCbCrPositioning

6. Thumbnails and Embedded Previews

EXIF can contain a full embedded JPEG thumbnail (usually 160×120). This matters: if a user crops or blurs the main image but forgets the metadata, the original uncropped thumbnail may still be sitting inside the file.

Beyond Standard EXIF: What Else Rides Along

Most image viewers lump these in with EXIF, but they're technically separate metadata standards stored in the same file:

  • IPTC — captions, keywords, copyright, photographer name, contact info
  • XMP — Adobe's XML-based metadata, including edit history, ratings, and any custom fields
  • MakerNotes — proprietary blobs from Canon, Nikon, Sony, etc. containing focus point data, shutter counts, and undocumented diagnostic info
  • ICC profile — color management data

A single 4 MB JPEG can easily carry 50–200 KB of metadata across these formats.

Real-World Privacy Risks

Concrete examples of what this data has leaked in practice:

  1. Home addresses from social posts — a 2012 case identified John McAfee's location in Guatemala from a Vice magazine photo's GPS tags.
  2. Device fingerprinting — serial numbers in lens and body fields let analysts tie multiple anonymous images to the same camera.
  3. Editing trails — XMP history shows which app touched the file, undermining claims of an "original" image.
  4. Timeline reconstruction — sub-second timestamps across multiple uploads reveal exact activity patterns.
  5. Stale thumbnails — cropping a sensitive area in Photoshop doesn't always regenerate the embedded preview.

Inspecting EXIF Yourself

Three quick ways to see what's actually in a file before you publish it:

Command line with ExifTool

exiftool -a -G1 -s photo.jpg

The -a shows duplicates, -G1 groups by IFD, and -s uses short tag names. Pipe to grep GPS to isolate location data.

Browser-based check

If you don't want to install anything, drop the image into the AXOX Hub Metadata Remover. It parses EXIF, IPTC, and XMP in the browser, shows you every tag present, and lets you strip them in one click without uploading the file to a server.

Operating system tools

  • macOS: Preview > Tools > Show Inspector > (i) tab
  • Windows: right-click > Properties > Details

Note that OS-native viewers hide many fields — especially MakerNotes and XMP history — so they're not reliable for a privacy audit.

What to Strip Before Publishing

For public-facing images on a website, CMS, or social feed, a sensible default policy:

  • Always remove: GPS block, serial numbers, HostComputer, MakerNotes, thumbnails
  • Usually remove: Software, exact timestamps (or round to date only), IPTC contact fields
  • Safe to keep: Orientation, ColorSpace, copyright (if intentional), resolution tags

If you run user uploads through an image pipeline, strip metadata at ingestion — libraries like sharp (Node) drop EXIF by default unless you explicitly call .withMetadata(). ImageMagick uses -strip. For a one-off audit or before sharing an image manually, run it through the AXOX Hub Metadata Remover to confirm nothing sensitive is left behind.

Try the free tool

Open Tool