SammaPix
Back to Blog
PrivacyMar 8, 2026· 6 min read

How to Remove GPS Location from Photos Before Posting Online (Free)

Every photo your smartphone takes includes your exact GPS coordinates embedded in the file. Most people have no idea. Here is what that data reveals, why it matters, and how to strip it in seconds before you share anything online.

A photo taken at your home contains GPS coordinates accurate to within a few meters. Anyone who downloads that photo can extract the exact address where you live.

What is GPS metadata and where does it come from?

Every digital photo contains a hidden block of data called EXIF (Exchangeable Image File Format). This metadata is written by your camera or smartphone at the moment you take the shot, and it travels with the file everywhere you copy or upload it.

EXIF data includes useful information like camera model, lens settings, shutter speed, and ISO. But when location services are enabled on your phone — which they are by default on most devices — it also records GPS coordinates: latitude, longitude, and often altitude, accurate to within a few meters.

This data is invisible when you look at the photo normally. You cannot see it in the image itself. But it is embedded in the file, and any tool that reads EXIF metadata — including free online tools, desktop software, and command-line utilities — can extract it instantly.

GPS CoordinatesLatitude and longitude, accurate to ~3 meters
Device & LensExact phone model, camera app, lens focal length
TimestampDate and time the photo was taken, down to the second

Real-world privacy risks from GPS photo metadata

The risks are not theoretical. There are documented cases where GPS metadata in photos led to serious privacy breaches.

Home address exposure

When you photograph something in your home — a product you are selling on Craigslist or Facebook Marketplace, a pet, a room — and upload it without removing metadata, the GPS coordinates in that file reveal your home address to anyone who downloads it. Stalking cases have been traced back to exactly this scenario.

Celebrity and journalist location tracking

In 2012, Vice Media published photos of John McAfee while he was in hiding in Central America. The iPhone photos embedded GPS coordinates in the EXIF data, revealing his exact location to authorities. More recently, journalists reporting in conflict zones have been exposed because their published photos contained GPS data showing where they were operating.

Workplace and routine mapping

A series of photos posted over time can map your entire daily routine. GPS timestamps in photo series reveal where you work, where your children go to school, and the routes you travel regularly. This is the kind of data that stalkers, abusive ex-partners, and bad actors actively look for.

Military and operational security

In 2007, US Army soldiers photographed newly delivered Apache helicopters in Iraq and posted the photos online. The GPS metadata revealed the exact coordinates of the military base. The Army had to update its digital photography policy after the incident.

Do social media platforms remove GPS metadata automatically?

Some platforms do strip EXIF data when you upload — Instagram, Facebook, and Twitter/X all remove most metadata from uploaded photos on their servers. However, this is not a privacy guarantee for several reasons:

  • Platform policies change. A platform that strips metadata today may stop doing so in a future update.
  • Many platforms do not strip metadata. Forums, marketplaces, classified ad sites, and personal blogs often serve files as-is.
  • The photo exists in its original form on your device and in your cloud backup, from where it can be shared directly.
  • You may share photos via email, messaging apps, or file transfer — bypassing any platform-level stripping entirely.

The safe approach is to remove GPS metadata from the source file before sharing it anywhere. That way it does not matter which platform you use or how they handle uploads.

How to remove GPS data from photos using SammaPix EXIF Lens

SammaPix EXIF Lens is a free, browser-based tool that reads and strips EXIF metadata from your photos entirely on your device. Your files never leave your browser — no upload to any server, no cloud processing, no account required.

Here is the complete process, step by step.

1

Open EXIF Lens

Go to sammapix.com/tools/exif. No account needed, no signup form. The tool loads entirely in your browser.

2

Drop your photos

Drag and drop one or more photos onto the drop zone, or click to select files. JPG, JPEG, and TIFF files are supported — these are the formats that contain EXIF GPS data. PNG files typically do not embed GPS data.

3

Inspect the metadata

EXIF Lens displays a full breakdown of all metadata fields in the file. Look for the GPS section — you will see GPSLatitude, GPSLongitude, and GPSAltitude if location data is present. This is the data you are about to remove.

4

Strip GPS data and download

Click "Remove EXIF" to strip all GPS fields (and optionally all other metadata). Download the clean file. The original on your device is untouched — only the downloaded copy has the metadata removed.

5

Verify the result

Drop the downloaded file back into EXIF Lens to confirm. The GPS section should be gone. You can now share the file without worrying about location data exposure.

Free tool — no signup

Remove GPS from your photos now — SammaPix EXIF Lens

Other methods to remove GPS from photos

If you prefer to work with your files locally or need to process large batches, there are alternatives.

Windows: File Properties

Right-click the image, select Properties, go to the Details tab, and click "Remove Properties and Personal Information" at the bottom. You can choose to remove all metadata or specific fields. This method works for single files and is built into Windows 10 and 11 — no software to install.

macOS: Preview

macOS Preview does not strip EXIF data when you export a photo. For reliable GPS removal on Mac, use a dedicated tool. Image Capture in macOS does not remove metadata either. The most reliable free option on Mac is to export via Photos app with the "Location" option disabled, or use a browser-based tool like SammaPix EXIF Lens.

iPhone: Settings

You can prevent GPS data from being written in the first place. Go to Settings → Privacy & Security → Location Services → Camera, and set it to "Never." This stops your camera app from embedding GPS coordinates in new photos. To strip GPS from existing photos before sharing, use the Share sheet and enable "Strip location data" in iOS 17+.

Command line: ExifTool

For technical users and batch processing, ExifTool is the standard: exiftool -gps:all= -overwrite_original photo.jpg removes all GPS tags from a file. Use -r flag for recursive directory processing. Powerful but requires installation and command-line comfort.

Compress and clean in one step

If you are preparing photos for a website or social post, you likely want to both strip GPS metadata and reduce file size before uploading. Doing both separately doubles the work.

SammaPix handles both in a single workflow. The compress tool strips EXIF metadata as part of the compression process — when you compress a photo, the output file contains no GPS data and no other metadata that could identify you or your location. You get a lighter file and a cleaner file in one download, entirely processed in your browser.

Use EXIF Lens when you need to inspect metadata first, remove it without re-compressing, or verify that a file is clean before sharing. Use the compress tool when you want the full optimization pipeline — metadata removal, compression, and optional WebP conversion — in one pass.

FAQ

Does removing GPS data change the photo quality?

No. EXIF metadata is stored separately from the image pixels. Removing it does not alter the visual content of the photo in any way. The image will look identical — the file will simply be slightly smaller because the metadata block is gone.

What about screenshots — do they contain GPS data?

Screenshots taken on desktop computers generally contain no GPS data. Screenshots taken on a smartphone may contain some device metadata but typically not GPS coordinates unless the OS explicitly writes them. The main risk is photos taken with a camera app (including the built-in camera on a phone) with location services enabled.

Can I remove GPS data from a JPEG without re-saving it?

Yes. EXIF metadata can be stripped from a JPEG without re-encoding the image data. Tools like EXIF Lens and ExifTool do this correctly — they remove the metadata block without touching the compressed image payload, so there is no quality loss from re-compression.

Does WhatsApp or iMessage strip GPS when sending photos?

WhatsApp strips EXIF data (including GPS) when sending photos through the app. iMessage does not strip metadata — a photo sent via iMessage retains all original EXIF data including GPS coordinates. This is why it matters to strip GPS before sending, not just before posting publicly.

Share this article

Try SammaPix free

Compress, convert to WebP, strip GPS and EXIF metadata — no signup needed. 100% client-side, your images never leave your browser.

Start optimizing