Switching

Privacy

EXIF Metadata Hidden in Your Photos, and Your Privacy

Photo files automatically record where and when they were taken and on what device. What EXIF contains, the risks it carries, and how converting or re-saving removes it.

June 28, 2026· Last updated September 3, 2026

EXIF is extra information a camera writes into a photo automatically when it is taken, including the date and time, the device model, and GPS coordinates. When you compress, resize, or convert an image and save it again, only the visible pixels are written to the new file, so the original location and time don't carry over. For sensitive photos, sharing a re-saved copy instead of the original is the most reliable approach.

A photo taken on a smartphone holds more than the image. It also records when it was taken, on what device, and where. This information is called EXIF metadata.

Day to day it's useful. Your photo library sorts itself by date and shows shots on a map because of EXIF. The problem is that the same information goes along when you send a photo to someone or post it online, and fewer people know this than you might think.

What EXIF contains

EXIF (Exchangeable Image File Format) is a set of data the camera records automatically at the moment of capture. It usually includes these fields:

  • Date and time: the year, month, day, and time the photo was taken
  • GPS coordinates: latitude and longitude if location services were on (for a photo taken at home or work, that is the address)
  • Device info: the make and model of the camera or phone
  • Capture settings: focal length, shutter speed, ISO, whether the flash fired
  • Orientation: portrait or landscape rotation

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 the coordinates can give away your home address. Sellers on secondhand marketplaces have had the area they live in revealed by a single listing photo.

Capture times matter too. Line up the times on several photos and it isn't hard to work out someone's daily movements and routine. Once that information is public, it's hard to take back.

How converting and re-saving removes metadata

EXIF is stored in a separate area from the image pixels, so it often gets dropped when an image is re-encoded. When a browser draws a photo onto a Canvas and exports a new file, only the visible pixels are written, and the original GPS and capture details don't go into the new file.

Compressing to save space, resizing, and converting formats all go through this step, so personal data is removed along the way. Saving as PNG also writes the rotation (Orientation) into the pixels, which fixes the problem of different programs showing the same photo in different orientations.

Make checking a habit before you post

A quick check before sharing settles it. On a computer, the Details tab of the file's Properties (Info) window shows the GPS and date fields. On a phone, open the photo's details and see whether a map appears. If a location shows up, the photo still has coordinates.

The most reliable way is to make a separate copy for sharing. Re-save the photo with Switching's image compress or resize tool and you get a copy without location or time data, and the file never leaves your browser in the process. The more sensitive the photo, the more reason to send the copy instead of the original.

Frequently asked questions

Do social networks strip location data automatically?
Major networks such as Instagram, Facebook, and X remove EXIF on upload. But original-quality sends in messaging apps, email attachments, secondhand marketplace apps, and cloud share links often keep it. Rather than counting on the platform to remove it, make a copy before you post.
Do screenshots carry GPS coordinates?
No. A screenshot captures the screen rather than taking a photo, so no location is recorded. Capture time and device info may remain, but what is visible inside the frame, such as a map, an address, a name, or a notification, is usually the more direct exposure.
Does removing EXIF lower image quality?
Re-saving as PNG or lossless WebP keeps every pixel, so there is no quality loss. Only re-saving as JPG adds another round of lossy compression, and at quality 90 or above you can clear the metadata without a visible difference.
Is EXIF also why my photo shows up sideways?
Yes. The Orientation field is a note saying the photo should be rotated for display, and programs that can't read it show the pixels in their original, sideways orientation. Re-encoding writes the rotation into the pixels, so the photo looks the same wherever you open it.

Related tools