What Metadata Is Stored in a JPEG File?
A JPEG stores far more than the image itself. Inside the file, alongside the compressed pixels, a JPEG can hold EXIF (camera, exposure, GPS), IPTC (captions, keywords, copyright), XMP (edit history), an ICC color profile, an embedded thumbnail, and comments. All of it is invisible when you look at the photo but travels with the file when you share it. Here's exactly what's in there.

How a JPEG stores metadata
A JPEG file is a series of segments called markers. The image data is one part; the rest are metadata segments inserted near the top of the file:
- APP0 (JFIF) holds basic density and thumbnail info.
- APP1 holds EXIF and, separately, XMP.
- APP13 holds IPTC and Photoshop data.
- APP2 often holds the ICC color profile.
- COM holds free-form comments.
Because these segments sit alongside the compressed scan, metadata can be added or removed without touching the actual pixels, which is how lossless metadata removal works.
Everything a JPEG can contain
| Metadata | What it holds | Added by |
|---|---|---|
| EXIF | Camera, lens, aperture, shutter, ISO, date, GPS, orientation | Camera, automatically |
| IPTC | Caption, keywords, creator, copyright, location names | People / software |
| XMP | Edit history, ratings, and any custom fields | Software (esp. Adobe) |
| ICC profile | Color space definition for accurate color | Camera / editor |
| Thumbnail | A small embedded preview image | Camera |
| Comments | Free-text notes | Software |
For a deeper comparison of the first three, see EXIF vs IPTC vs XMP.
The privacy-sensitive parts
Most of a JPEG's metadata is harmless, but two categories matter for privacy:
- GPS coordinates (in EXIF) can reveal exactly where the photo was taken, including your home. See how to remove GPS location from photos.
- Camera serial numbers and timestamps can link photos to you and to each other.
Everything else (exposure settings, color profile) is generally fine to share, but if privacy is the goal, removing all metadata is simplest.
Do all JPEGs have metadata?
No. It depends on the source:
- Camera and phone JPEGs are metadata-rich, usually including full EXIF and often GPS.
- Screenshots saved as JPEG carry almost none.
- JPEGs downloaded from social media are usually stripped, since platforms re-encode uploads.
- Exported/edited JPEGs vary by software and settings.
If a viewer shows nothing, the metadata was removed already.
How to view or remove a JPEG's metadata
To see everything a JPEG contains, drop it into the EXIF viewer: it reads all the segments locally in your browser and shows the full data, including the raw dump. To strip it, the EXIF remover removes EXIF, IPTC, XMP, and comment data losslessly and hands you a clean copy, with the pixels untouched and nothing uploaded.
New to metadata in general? Start with what EXIF data is.
Frequently asked questions
What metadata does a JPEG contain?
A JPEG can contain EXIF (camera, exposure, GPS), IPTC (captions, keywords, copyright), XMP (edit history), an ICC color profile, an embedded thumbnail, and free-text comments, all stored in marker segments alongside the compressed image.
Where is metadata stored inside a JPEG?
In marker segments near the top of the file: APP1 for EXIF and XMP, APP13 for IPTC, APP2 for the ICC color profile, APP0 for JFIF, and COM for comments. The image scan is separate, so metadata can be removed without re-compressing the photo.
Does a JPEG always have EXIF data?
No. Camera and phone JPEGs usually do, but screenshots, social-media downloads, and some exports have little or none because the metadata was never added or was stripped.
Does removing metadata from a JPEG reduce quality?
Not with a lossless tool. Metadata lives in separate segments from the image data, so removing it leaves the pixels byte-for-byte identical. Avoid tools that re-encode the JPEG, which can degrade it.
How do I check what's in a JPEG?
Drop it into a browser-based viewer like ExifGrabber. It parses the file locally and displays every metadata field, so nothing is uploaded and you see exactly what the JPEG carries.