Every photo your phone takes can store more than just the image: device model, exposure data, date and time and – if location access is enabled for the camera – GPS coordinates. Anyone who reads this data learns where and when a photo was taken. What’s hidden in your images, why you shouldn’t rely on platforms when sharing, and how to remove the data beforehand.

What are EXIF, IPTC and XMP?

Image files can contain three kinds of metadata:

  • EXIF (Exchangeable Image File Format) is the standard for capture data from digital cameras, published by Japan’s CIPA and currently at version 3.1 (CIPA). This is where the camera records device model, focal length, aperture, ISO, exposure time, timestamp and, where applicable, the GPS position.
  • IPTC, according to IPTC, is the industry standard for descriptive, administrative and copyright information about images, such as headline, caption, keywords, creator and copyright.
  • XMP is an extensible metadata format developed by Adobe and standardised as ISO 16684-1 since 2012 (Adobe). Image editors store IPTC information in it, for example.

The most sensitive part is the GPS coordinates. A photo you took at home can reveal where you live – without you ever entering an address.

The dangerous misconception: “Social networks strip that out, don’t they?”

Only partly. Some platforms remove metadata from the version other users see or download. That does not mean the platform never received the data: whether an app strips metadata on your device or only after the upload is usually impossible to tell from the outside. What a service does with the data is governed by its privacy policy.

On top of that, the behaviour depends on the service, the feature and the way you send the file, and it can change with any app update. Any overview of the “service X removes everything” kind goes out of date quickly. Be especially careful when you send photos as a file or document to avoid quality loss: that route usually delivers the unchanged original file.

How to check for yourself: send yourself a test photo with location enabled through the service, save the received image and open it in an EXIF viewer. If GPS data is still there, the service passes it on via that route.

The GDPR dimension

For businesses this is no niche topic. Article 4(1) of the General Data Protection Regulation explicitly names location data as a factor by which a person can be identified (GDPR). Anyone publishing or passing on photos of employees, customers or events should therefore remove EXIF data as a fixed step in the workflow, not as an afterthought.

The reliable solution: remove it beforehand

Don’t rely on a platform to remove your metadata. The only method that works regardless of the service is removing it before uploading or sharing – with an image editor that leaves metadata out on export, or by re-encoding the image.

When an image is re-encoded in the browser, a new file is created from the pixels: according to the HTML Standard, a file exported from a canvas consists of the canvas bitmap’s pixel data. The original’s capture metadata is not part of it.

Quick checklist

  • Remove before sharing, don’t trust the platform.
  • Be careful when sending “as a file” if privacy matters.
  • For sensitive photos (home, children, workplace) always clean them.
  • In a company, plan EXIF removal as a fixed step before every publication.
  • Check the result: open the cleaned image in an EXIF viewer before sending it.

Re-encode images with wandlio

The image converters Convert JPG to PNG, Convert PNG to JPG and Convert JPG to WebP run in your browser: the image is drawn into a canvas and saved as a new file, and the original file stays on your device. The code does not carry over any EXIF data. Still, check the result with an EXIF viewer before sharing.