What EXIF Data Contains
EXIF (Exchangeable Image File Format) is a metadata standard originally defined by JEIDA (Japan Electronic Industries Development Association) in 1995 and updated to version 2.32 in 2019. It is embedded in JPEG, TIFF, and some RAW image formats as structured data segments that are invisible when viewing the image but readable by any software that knows the EXIF specification.
A typical smartphone photo contains dozens of EXIF fields. Here are the most significant categories:
Camera and Device Information
- Camera make and model — "Apple iPhone 15 Pro Max", "Canon EOS R5", "Samsung SM-S928B" (Galaxy S25 Ultra)
- Lens information — focal length, maximum aperture, lens model name
- Camera serial number — a unique identifier that can link multiple photos to the same physical device
- Firmware version — the software version running on the camera or phone
- Software — the application used to process or edit the image (e.g., "Adobe Photoshop 25.6", "Snapseed 2.21")
Capture Settings
- Aperture (f-stop) — e.g., f/1.8, f/2.8, f/11
- Shutter speed — e.g., 1/1000s, 1/60s, 4s
- ISO sensitivity — e.g., ISO 100, ISO 3200, ISO 12800
- Focal length — e.g., 24mm, 50mm, 200mm
- Flash status — fired, did not fire, auto mode, red-eye reduction
- White balance — auto, daylight, tungsten, fluorescent
- Metering mode — evaluative, center-weighted, spot
- Exposure compensation — +1.0 EV, -0.7 EV
- Image dimensions — pixel width and height
- Color space — sRGB, Adobe RGB
Location Data (GPS)
- GPS latitude and longitude — coordinates accurate to within 3–5 meters on modern smartphones
- GPS altitude — height above sea level
- GPS timestamp — UTC time when the GPS fix was recorded
- GPS direction — the compass bearing the camera was facing (on supported devices)
- GPS speed — the speed of the device when the photo was taken (some smartphones)
Timestamps
- DateTimeOriginal — when the shutter was pressed (camera clock)
- DateTimeDigitized — when the image was digitized (usually identical for digital cameras)
- DateTime — when the file was last modified
- GPS DateStamp — UTC date from GPS satellites
- Subsecond timestamps — millisecond precision on modern cameras
Embedded Thumbnail
JPEG EXIF data includes a thumbnail image — a small preview (typically 160×120 pixels) stored within the metadata segment. This thumbnail is used by file managers and camera displays for fast previewing without decoding the full-resolution image. The thumbnail can contain content that was cropped from the final image, which is a known privacy concern — if you crop sensitive content from a photo but do not regenerate the thumbnail, the original uncropped scene remains visible in the EXIF thumbnail.
Privacy Risks of EXIF Data
EXIF metadata was designed for photographers and camera manufacturers, not for a world where billions of photos are shared publicly online. The privacy implications are significant:
GPS Location Exposure
The most dangerous EXIF field is GPS coordinates. When you take a photo at home and share it with metadata intact, you are broadcasting your home address to anyone who downloads the image. GPS data in EXIF is precise enough to identify:
- Your home address (photos taken inside your house or yard)
- Your workplace (photos taken at your office or commute)
- Your children's school (photos taken at drop-off or events)
- Vacation locations and travel patterns
- Frequent hangout spots (restaurants, gyms, parks)
- The time you are typically home vs. away
A systematic analysis of a person's shared photos can build a complete map of their daily movements, routines, and relationships — all from metadata that most people do not know exists in their photos.
Device Fingerprinting
The combination of camera make, model, serial number, and firmware version creates a unique fingerprint that can link photos across different platforms. Even if you use different usernames on different services, photos from the same camera carry identical device identifiers. An investigator or stalker can use this to confirm that accounts belong to the same person.
Temporal Analysis
EXIF timestamps reveal when photos were taken with second-level precision. Combined with GPS data, this creates a timestamped location history. Even without GPS, timestamp patterns can reveal:
- Sleep schedules (when photos stop and start)
- Work hours (gap patterns during weekdays)
- Time zone and approximate geographic region
- Travel dates and vacation periods
File Size Impact of Metadata
EXIF and other metadata contribute to file size. While often negligible for large photos, metadata can be surprisingly large relative to the image data:
| Metadata Source | Typical Size | What It Contains |
|---|---|---|
| Basic EXIF | 10–30 KB | Camera settings, timestamps, GPS, orientation |
| EXIF thumbnail | 5–15 KB | Embedded 160×120 JPEG preview image |
| IPTC metadata | 1–5 KB | Caption, keywords, copyright, photographer name |
| XMP (Adobe) | 5–50 KB | Edit history, ratings, Lightroom settings, keywords |
| ICC color profile | 0.5–900 KB | sRGB (~0.5 KB), Adobe RGB (~0.5 KB), CMYK (~500–900 KB) |
| MakerNote (proprietary) | 10–100 KB | Manufacturer-specific data (Canon, Nikon, Sony) |
| Total (typical phone) | 20–60 KB | All combined metadata from a smartphone photo |
| Total (DSLR with edits) | 50–200 KB | Full EXIF + XMP edit history + MakerNote |
| Extreme case (CMYK profile) | up to 900+ KB | Large CMYK ICC profiles for print workflows |
For a typical 3 MB smartphone photo, stripping metadata saves 20–60 KB (less than 2%). For a batch of 500 photos, that is 10–30 MB of free savings. The savings become more meaningful for web optimization, where every kilobyte affects page load time and bandwidth costs. For thumbnails and small images, metadata can represent 10–30% of the total file size.
How Metadata Is Stored: EXIF, IPTC, XMP, ICC
Image metadata is not a single monolithic block. Multiple metadata standards coexist within the same file, each stored differently:
EXIF (Camera Data)
EXIF data is stored in APP1 markers within JPEG files, following the TIFF structure (IFD entries with tag IDs, data types, and values). It is the primary metadata standard for camera-generated data. EXIF is read and written by virtually every camera, smartphone, and image viewer. In JPEG files, EXIF sits at the very beginning of the file, before the actual image data.
IPTC (News and Editorial)
IPTC-IIM (International Press Telecommunications Council - Information Interchange Model) was developed for the news industry in the 1990s. It stores editorial metadata: captions, headlines, keywords, photographer credits, copyright notices, and geographic location names (city, state, country — as text, not GPS coordinates). IPTC data is stored in APP13 markers in JPEG files. It remains widely used in photojournalism and stock photography.
XMP (Adobe Extensible)
XMP (Extensible Metadata Platform) is Adobe's XML-based metadata framework. It can represent everything that EXIF and IPTC can, plus custom namespaces for application-specific data. Adobe Lightroom, Photoshop, and Bridge store their edit history, ratings, labels, collections, and development settings in XMP. XMP is stored as an APP1 marker (separate from EXIF) in JPEG files or in a sidecar .xmp file.
ICC Color Profiles
ICC profiles (International Color Consortium) define the color space of the image — how the numeric RGB values map to real-world colors. The sRGB profile is the standard for web images. Adobe RGB provides a wider gamut for photography. CMYK profiles (used in print) can be very large (500–900 KB). ICC profiles are stored in APP2 markers in JPEG files.
Metadata in PNG Files
PNG handles metadata differently from JPEG. PNG does not support EXIF natively. Instead, metadata is stored in tEXt, iTXt, and zTXt chunks as key-value pairs. Some tools embed EXIF-like data in PNG files using the eXIf chunk (added in the PNG 1.5 extension), but support is inconsistent. ICC profiles are stored in the iCCP chunk. When converting JPEG to PNG, most converters strip EXIF data because PNG has no standard place to put it.
When to Keep EXIF Metadata
Metadata is not always harmful. There are legitimate reasons to preserve it:
- Professional photography copyright. EXIF and IPTC contain photographer name, copyright notice, and contact information. Stock photographers and photojournalists rely on embedded metadata to assert ownership and track usage of their images.
- Photo organization and search. Camera settings (aperture, ISO, focal length) help photographers analyze their shooting patterns and improve their technique. Timestamps enable chronological sorting. GPS data powers map-based photo libraries like Google Photos and Apple Photos.
- Archival preservation. For personal photo archives, metadata provides irreplaceable context: when and where a photo was taken, with what equipment. Stripping metadata from family photos removes information that may be valuable decades later.
- Print workflows and ICC profiles. Professional print workflows rely on ICC color profiles embedded in images to ensure accurate color reproduction. Stripping the ICC profile from a CMYK image before sending it to a printer will produce incorrect colors.
- Legal evidence. EXIF timestamps and GPS data can serve as evidence in legal proceedings. The metadata provides a verifiable chain of provenance for photographs.
- Education and learning. Photography students study EXIF data from skilled photographers' images to learn what camera settings produce specific results.
When to Remove EXIF Metadata
Remove metadata when privacy outweighs utility:
- Social media sharing. Before uploading photos to platforms that do not strip metadata (or before sharing via direct messages, email, or cloud links). Even if the platform strips GPS on upload, it may retain the data internally.
- Online marketplaces. Product photos, profile pictures, and listing images should not contain your GPS coordinates or device information.
- Email attachments. Sending photos via email preserves all metadata. Strip it before emailing photos to people you do not trust with your location data.
- Website images. Images on your website do not need camera settings or GPS data. Stripping metadata reduces file size and improves privacy. This is especially important for personal blogs and portfolio sites.
- File sharing and cloud storage. When sharing photos via Dropbox, Google Drive, WeTransfer, or any direct file sharing service, metadata is preserved in the file. Strip it if the recipients do not need it.
- Anonymity requirements. Journalists, activists, whistleblowers, and anyone who needs to share photos without revealing their identity or location must strip all metadata. Device serial numbers, software versions, and timestamps can all contribute to deanonymization.
Rule of thumb: If you are sharing a photo with someone who does not need to know where you live or what camera you use, strip the metadata. The image looks identical without it.
How Convertio Handles Metadata
When you convert images on Convertio.com, our pipeline uses ImageMagick with a specific two-step process to handle metadata correctly:
The -auto-orient + -strip Sequence
The conversion command applies these flags in order:
-auto-orient— reads the EXIF Orientation tag and physically rotates the image pixels to match the intended display orientation. This is critical because many smartphones save photos with pixels in landscape orientation and use the EXIF Orientation tag to indicate that the image should be displayed as portrait (rotated 90 degrees).-strip— removes all metadata: EXIF, IPTC, XMP, ICC profiles, comments, and the embedded thumbnail. The output file contains only pixel data and the minimum required file structure.
The order matters. If you strip metadata first and then try to auto-orient, the Orientation tag is already gone and the image may display incorrectly (sideways or upside down). By auto-orienting first, we bake the correct rotation into the pixels themselves, so the Orientation tag is no longer needed.
Convertio pipeline: convert input.jpg -auto-orient -strip output.png — this preserves correct rotation while removing all privacy-sensitive metadata and reducing file size.
What Gets Removed
- All EXIF tags (GPS, camera info, timestamps, serial numbers)
- Embedded EXIF thumbnail
- IPTC metadata (captions, keywords, copyright)
- XMP data (Adobe edit history, ratings)
- ICC color profile (output defaults to sRGB)
- Manufacturer-specific MakerNote data
- JPEG comments
What Is Preserved
- The actual image pixels (no quality loss)
- Image dimensions (width and height)
- Color depth and bit depth
- Physical rotation (applied via
-auto-orientbefore stripping)
How Social Platforms Handle Metadata
Different platforms handle uploaded photo metadata differently. Knowing this helps you decide when manual stripping is necessary:
| Platform | GPS Stripped? | Camera Data | Notes |
|---|---|---|---|
| Yes | Stripped | Strips EXIF from publicly visible images. Retains data internally for ad targeting. | |
| Yes | Stripped | Heavily re-compresses images. All metadata removed from served files. | |
| Twitter / X | Yes | Stripped | Strips EXIF on upload. Images re-encoded to WebP/JPEG. |
| Yes | Stripped | Re-processes all uploaded images, removing metadata. | |
| Flickr | No (default) | Preserved | Preserves and publicly displays EXIF. Users can disable in privacy settings. |
| Google Photos | Varies | Varies | Shared links may include metadata. Downloaded originals preserve EXIF. |
| iCloud Photos | No | Preserved | Shared iCloud links include full EXIF. Shared albums strip location. |
| Yes | Stripped | Re-compresses heavily. All metadata removed. | |
| Telegram | Varies | Varies | Compressed photos strip EXIF. "Send as file" preserves everything. |
| No | Preserved | Email attachments are sent as-is. No metadata processing. |
Important: Even when a platform strips EXIF from the publicly visible image, the platform itself may retain the original metadata in its databases. Facebook, for example, uses GPS data from uploaded photos for ad targeting and location-based features, even though the publicly served image files no longer contain it.
How to View EXIF Data
Before stripping metadata, you may want to see what your photos contain. Here are the main approaches:
Built-in OS Tools
- Windows: Right-click image → Properties → Details tab. Shows camera settings, GPS (if present), and dates. Click "Remove Properties and Personal Information" to strip selectively.
- macOS: Open in Preview → Tools → Show Inspector (Cmd+I) → EXIF tab and GPS tab. Shows all metadata fields including GPS coordinates on a map.
- iOS: Open photo → swipe up or tap (i) info button. Shows capture date, camera settings, and location on a map. Tap the location to see exact coordinates.
- Android: Open in Google Photos → swipe up to see Details. Shows location, device, and capture settings.
Online EXIF Viewers
- exifdata.com — upload an image to see all metadata fields in a readable format
- exif.tools — drag-and-drop EXIF viewer with GPS map display
- Jeffrey's EXIF Viewer — the classic online tool. Accepts URLs and uploads. Shows comprehensive metadata including MakerNote data.
Command Line Tools
- ExifTool (Phil Harvey):
exiftool photo.jpg— the gold standard for reading, writing, and editing metadata. Supports 400+ file types and thousands of metadata tags. - ImageMagick:
identify -verbose photo.jpg— shows all embedded metadata as part of the image properties. - exiv2:
exiv2 photo.jpg— lightweight C++ tool focused on EXIF, IPTC, and XMP.
Methods to Remove EXIF Data
Beyond using Convertio's automatic stripping during conversion, here are other ways to remove metadata:
- ExifTool (command line):
exiftool -all= photo.jpg— removes all metadata in place. Add-overwrite_originalto skip backup file creation. - ImageMagick:
convert photo.jpg -strip clean.jpg— removes all metadata during processing. Combine with-auto-orientfor safe rotation handling. - Windows Properties: Right-click → Properties → Details → "Remove Properties and Personal Information" → "Create a copy with all possible properties removed"
- macOS Preview: Export with "More Options" unchecked or use
sips --deleteProperty all photo.jpgin Terminal - GIMP: Export As → in the JPEG export dialog, uncheck "Save EXIF data", "Save XMP data", "Save IPTC data"
- Photoshop: File → Export → Save for Web → uncheck "Metadata: All" or select "None"
The EXIF Orientation Tag: Why It Matters
One of the most practically important EXIF fields is the Orientation tag (tag 0x0112). Modern smartphones save photos with the sensor in its physical orientation (typically landscape) and set the Orientation tag to indicate how the image should be rotated for display. There are 8 possible orientation values:
| Value | Meaning | Transform Needed |
|---|---|---|
| 1 | Normal | None (pixels match display) |
| 2 | Mirrored horizontal | Flip left-right |
| 3 | Rotated 180° | Rotate 180° |
| 4 | Mirrored vertical | Flip top-bottom |
| 5 | Mirrored + rotated 270° | Transpose (flip + rotate) |
| 6 | Rotated 90° CW | Rotate 90° clockwise (portrait) |
| 7 | Mirrored + rotated 90° | Transverse (flip + rotate) |
| 8 | Rotated 270° CW | Rotate 90° counter-clockwise |
Value 6 is by far the most common non-trivial orientation — it occurs whenever a smartphone is held in portrait mode (upright). The sensor captures a landscape image (e.g., 4032×3024) and the Orientation tag tells viewers to rotate it 90 degrees for correct portrait display (3024×4032).
This is why -auto-orient must come before -strip in any metadata removal pipeline. Without auto-orient, stripping an Orientation 6 image produces a file that displays sideways in most applications — the rotation instruction is gone, but the pixels were never physically rotated.