Skip to content
SecretPNG

How to Remove Location Data From Photos

Smartphone photos usually embed precise GPS coordinates. Learn where that data lives, when it matters, and how to strip it before sharing.

By SecretPNG TeamReviewed by SecretPNG Security TeamPublished 2026-07-14Updated 2026-07-14

Most smartphones record where every photo was taken, embedding latitude and longitude, often accurate to within a few meters, directly inside the image file. Share the original file and you share the location: your home, your child's school, a shelter, a workplace.

The coordinates live in metadata, structured information stored alongside the pixels. You cannot see it by looking at the picture, but any recipient can read it with free software or even the file's properties panel. Removing it before sharing is quick, and it does not change how the photo looks.

Where location data hides

Photos carry metadata in several overlapping standards. EXIF is the most common, written by cameras and phones, and it includes a dedicated GPS section along with the capture time, device model, and camera settings. XMP and IPTC blocks can duplicate or extend this information, and edited images sometimes carry location details in more than one block at once.

The format matters too. JPEG, PNG, and WebP files can all carry embedded metadata, and an image exported from an editor may retain the metadata of the original. Checking only one field, or only one standard, is how location data slips through.

When stripping metadata matters most

Not every photo needs cleaning. A landscape shot posted to a large social platform is often re-encoded anyway, and many platforms strip metadata on upload. The cases that deserve care are direct transfers: photos sent as email attachments, uploaded to marketplaces or forums, shared in classifieds, attached to documents, or delivered as original files in any way. In those flows, metadata typically survives intact.

Think about the pairing of image and audience. A photo of an item you are selling, taken in your living room and sent to a stranger, is exactly the situation where embedded coordinates matter.

Removing it with SecretPNG

SecretPNG's photo metadata tool parses EXIF, XMP, and IPTC data from JPEG, PNG, and WebP files entirely in your browser; the image is never uploaded. It shows you a report of what was found, including any GPS coordinates, and produces a cleaned copy with the metadata removed. You keep the original untouched and share the cleaned file.

Reviewing the report is worth the extra seconds. Seeing exactly what your phone has been embedding, from location to device serial details, builds an accurate sense of what you share when you share originals.

Habits that keep you covered

A few small habits eliminate most photo-location leaks.

  • Turn off location tagging in your camera app for photos you do not need geotagged.
  • Strip metadata from any photo before sending the original file to someone you do not fully trust.
  • Use your platform's built-in 'remove location' option when sharing from a phone gallery, then verify with a metadata viewer.
  • Remember that screenshots of a photo contain no camera metadata, though they reduce quality.

Limitations to keep in mind

  • The tool removes standard EXIF, XMP, and IPTC blocks but cannot promise removal of every proprietary or vendor-specific hidden artifact a device might embed.
  • Metadata removal does not hide information visible in the image itself, such as street signs, landmarks, or reflections.
  • Copies of the photo shared before cleaning still contain the original metadata wherever they ended up.

Sources