Switching
Privacy

The Hidden EXIF Metadata in Your Photos

Photo files quietly record where and when you shot them, and on what device. Here is what EXIF is, why it is a privacy risk when you share images, and how re-saving strips it out.

June 28, 2026· Last updated September 3, 2026

EXIF is the block of data your camera writes into a photo at the moment of capture: the date and time, the device model, and the GPS coordinates. When you compress, resize, or convert an image and save it again, only the visible pixels are re-encoded, so the original location and timestamp never reach the new file. For sensitive photos, sharing that re-saved copy instead of the original is the reliable move.

A single photo from your phone carries far more than the picture you see. It records when it was taken, on what device, and often exactly where you were standing. This hidden data is called EXIF metadata.

Most of the time it is helpful. Your gallery sorts itself by date and pins your shots on a map thanks to EXIF. But surprisingly few people realize that when you send a photo to someone or post it online, all of that information travels with it.

What EXIF actually contains

EXIF (Exchangeable Image File Format) is a bundle of data your camera writes automatically at the moment of capture. The most common fields include:

  • Date and time — the exact moment the photo was taken
  • GPS coordinates — latitude and longitude if location was on, i.e. your home or workplace
  • Device info — the make and model of the camera or phone
  • Capture settings — focal length, shutter speed, ISO, whether the flash fired
  • Orientation — how the image should be rotated

Why it becomes a privacy risk

The most sensitive field is the GPS coordinate. Post a photo of your pet or child taken at home straight to social media, and those coordinates can reveal your home address. People selling items online have exposed their neighborhood with a single listing photo.

Timestamps matter too. Combine the times across several photos and it is not hard to reconstruct someone's daily routine and movements. Once that information is public, it is extremely hard to take back.

How converting and re-saving strips metadata

Fortunately, EXIF is stored separately from the image pixels. That means re-encoding an image often drops this extra data along the way. When a browser draws your photo onto a Canvas and exports it as a new file, only the visible pixels are written again; the original GPS and capture details do not make it into the new file.

In other words, compressing to save space, resizing to change dimensions, or converting the format all remove personal metadata as a side effect. Saving as PNG even bakes the rotation (Orientation) into the pixels, so display quirks get cleaned up too.

Make checking a habit before you post

To be fully safe, build the habit of checking before you share. On a computer, open the file's properties (info) window and look under the details tab for GPS and date fields. On a phone, open the photo's info and see whether a map appears. If a location shows up, that photo still carries coordinates.

The surest approach is to make a separate copy for sharing. Re-save the photo with Switching's image compression or resize tool, and because everything is processed inside your browser and never uploaded to a server, you get a clean copy with the EXIF location and timestamp stripped away. For any sensitive photo, share that copy instead of the original.

Frequently asked questions

Do social networks strip location data automatically?
Instagram, Facebook, and X do remove EXIF during upload. But original-quality sends in messaging apps, email attachments, marketplace listings, and cloud share links very often keep it intact. Rather than trusting the platform to clean up after you, make a stripped copy before you share.
Do screenshots carry GPS coordinates?
No. A screenshot captures the display rather than a scene, so no location is recorded. Capture time and device info may remain, but the bigger exposure is usually what is visible inside the frame: a map, an address, a name, or a notification preview.
Does removing EXIF hurt image quality?
Re-saving as PNG or lossless WebP preserves every pixel, so there is no quality loss at all. Only a re-save to JPG applies another round of lossy compression, and keeping quality at 90 or above makes that difference invisible while still clearing the metadata.
Is EXIF also why my photo appears sideways?
Yes. The Orientation field tells viewers to rotate the image before display, and software that ignores it shows the raw pixel orientation instead. Re-encoding bakes the rotation into the pixels themselves, so the photo looks the same everywhere you open it.

Explore related tools