compresshive
All articles

What Is EXIF Data, and Should You Remove It Before Sharing?

What EXIF metadata stores in your photos, including GPS location, when it is kept or stripped when you share, and how to remove it.

· 5 min read

Every photo from a phone or camera carries hidden information alongside the picture itself. Most of it is harmless, but some of it, especially location, can reveal more than you meant to share.

What is EXIF?

EXIF (Exchangeable Image File Format) is a standard for storing metadata, or “data about the data”, inside image files. It is written automatically when the photo is taken and travels with the file wherever it goes. It is most common in JPG and HEIC files, and can also appear in PNG and WebP.

What it can contain

  • Date and time the photo was taken, often to the second.
  • GPS coordinates, if location was enabled for the camera, sometimes precise enough to identify a single building.
  • Device details: phone or camera make and model, lens, and sometimes a serial number.
  • Camera settings: exposure, aperture, ISO, focal length and whether the flash fired.
  • Orientation: which way up the camera was held.
  • Software used to edit the image, and sometimes a small preview thumbnail.

Why it matters for privacy

A photo taken at home with location turned on can contain your home’s coordinates. Share it with a stranger, for example when selling something online, and they may be able to see where it was taken. Timestamps and device details can also link photos together or reveal routines.

That said, metadata is useful too. Photo apps use the date and location to organize your library, and photographers rely on camera settings to learn from their shots. The goal is not to remove it everywhere, but to think about it before sharing files publicly.

Is it kept when you share?

It depends on how the file is sent:

  • Large social networks generally strip location and most other metadata from the public copy of photos you post. The platform itself may still read it on upload.
  • Email attachments, cloud storage links and file transfers usually send the original file, metadata included.
  • Messaging apps vary. Sending a photo normally is often recompressed and stripped, while sending it “as a file” or “as a document” usually keeps everything.
  • Your own website serves exactly the file you upload, unless your platform processes it.

Behavior changes over time, so if it matters, check the file you actually shared.

How to check a photo’s metadata

  • Windows: right-click the file, choose Properties, then the Details tab.
  • Mac: open it in Preview and choose Tools → Show Inspector, or use Get Info in Finder.
  • iPhone and Android: open the photo in the gallery app and swipe up or tap the info button to see date, device and location.

How to remove it

  • Turn off location for the camera in your phone’s privacy settings to stop GPS being recorded in future photos.
  • Remove location when sharing. Recent versions of iOS and Android let you turn off location in the share sheet for a single photo.
  • On Windows, the Details tab has a “Remove Properties and Personal Information” link.
  • Re-save the image with a tool that doesn’t copy metadata. compresshive draws each image onto a canvas in your browser and saves a brand-new file, which does not carry the original EXIF data over.

What about orientation?

Many cameras don’t actually rotate the pixels when you hold the phone sideways. They save the image one way and write an orientation tag telling viewers to turn it. If that tag is removed carelessly, the photo can appear sideways or upside down.

Modern browsers apply the orientation tag when they decode a photo, so when compresshive creates the new file, the pixels are already the right way up. The result looks correct even without the tag.

In short

Keep metadata on your originals; it is useful. Strip it from copies you share with people you don’t know or publish online, especially location. The JPG compressor does that as a side effect of making the file smaller.

Try it on your own files

Free, no sign up, and you can compare the result before you download.