Early Access·Send Feedback

How to Remove GPS Location Data

Protect your privacy by stripping GPS coordinates, geotags, and location tracking metadata from your photos and videos before sharing online.

Last updated: March 2026 · By Dane Bentley, Product Engineer at Ambedo

Clean GPS Data in Your Browser — Free
Supported Formats
.mp4.mp3.mkv.mov.jpg.png.m4a.flac.wav.webm

Works with 4 video formats, 4 audio formats, and 2 image formats. All processing is done locally in your browser — your files never leave your machine.

The Real Privacy Risk of GPS Metadata

When your smartphone takes a photo, it silently records your precise location — latitude, longitude, and often altitude — directly into the file's metadata. This GPS data is accurate to within 3-5 meters using modern smartphone GPS hardware.

This isn't a setting you opted into. It's enabled by default on every major smartphone platform (iOS and Android). And it persists through most file sharing workflows: email, AirDrop, USB transfer, and many messaging apps transmit the original file with GPS coordinates intact.

What GPS Metadata Actually Contains

GPS data in media files goes far beyond simple coordinates. Here's what a typical smartphone photo carries:

GPS Latitude                    : 40 deg 42' 46.08" N
GPS Longitude                   : 74 deg 0' 21.50" W  
GPS Altitude                    : 10.2 m Above Sea Level
GPS Date/Time                   : 2026:03:07 14:23:18Z
GPS Map Datum                   : WGS-84
GPS Processing Method           : fused
GPS Horizontal Positioning Error: 3.2 m

Combined with the timestamp, this data creates a precise record of exactly where you were and when. Share enough photos over time, and someone can reconstruct your daily routine, identify your home address, workplace, gym, and frequently visited locations.

Real-World Incidents

GPS metadata has been involved in numerous documented privacy and safety incidents:

  • Stalking cases — Courts have documented cases where stalkers used EXIF GPS data from social media photos to locate victims
  • John McAfee (2012) — Vice journalists who interviewed McAfee while he was in hiding accidentally published a photo with GPS coordinates embedded, revealing his location in Guatemala
  • Military base exposure — Soldiers posting geotagged photos from restricted areas have inadvertently exposed base locations and operational details
  • Domestic violence — Survivors of domestic violence have been tracked through GPS metadata in photos shared with family or lawyers

Where GPS Data Hides in Different Formats

JPEG/JPG (EXIF Standard)

GPS data in JPEGs lives within EXIF IFD (Image File Directory), specifically in the GPS IFD:

| EXIF Tag | Hex ID | Contains | |:---------|:-------|:---------| | GPSLatitudeRef | 0x0001 | N or S | | GPSLatitude | 0x0002 | Degrees, minutes, seconds | | GPSLongitudeRef | 0x0003 | E or W | | GPSLongitude | 0x0004 | Degrees, minutes, seconds | | GPSAltitudeRef | 0x0005 | Above/below sea level | | GPSAltitude | 0x0006 | Altitude in meters | | GPSTimeStamp | 0x0007 | UTC timestamp | | GPSDateStamp | 0x001D | UTC date |

Important: JPEG files can contain BOTH EXIF GPS data and XMP GPS data. Many tools only strip one or the other. Always verify both after cleaning.

PNG

PNG files don't natively support EXIF, but modern cameras and software increasingly embed XMP (Extensible Metadata Platform) data into PNG iTXt chunks. This XMP payload can contain full GPS coordinates in the exif:GPSLatitude and exif:GPSLongitude properties.

MP4/MOV (QuickTime)

Video files store GPS data in the ©xyz atom inside the moov > udta container. Some cameras also embed a continuous GPS track as a separate metadata stream, recording your location throughout the entire video — not just at the start.

iPhone videos, in particular, embed GPS data in multiple redundant locations within the container, making thorough cleaning essential.

MP3/FLAC/M4A (Audio)

Audio files rarely contain GPS data, but it's not impossible. Some field recording apps embed location information into the ID3 GEOB (General Encapsulated Object) frame or into custom text frames.

How to Remove GPS Data

Method 1: ExifTool (Surgical Precision)

# Remove ONLY GPS data from a single JPEG
exiftool -gps:all= photo.jpg

# Remove GPS from ALL files in a directory recursively
exiftool -gps:all= -overwrite_original -r /path/to/photos/

# Remove GPS from MP4/MOV files
exiftool -gps:all= -Keys:GPSCoordinates= video.mp4

# Nuclear option — remove ALL metadata, not just GPS
exiftool -all= photo.jpg

Method 2: macOS Built-in (Limited)

On macOS, you can view and remove location data from photos in the Preview app:

  1. Open the image in Preview
  2. Tools → Show Inspector (⌘I)
  3. Click the GPS tab
  4. Click "Remove Location Info"

Limitation: This only works for JPEG files and only removes EXIF GPS, not XMP GPS.

Method 3: Browser-Based (Ambedo)

Ambedo provides a one-click "Privacy Strip" that removes GPS data across all supported formats simultaneously. It processes files locally using WebAssembly, so your location data never leaves your machine — even during the cleaning process.

Which Platforms Strip GPS Automatically?

Not all sharing platforms are equal when it comes to metadata handling:

| Platform | Strips GPS? | Strips EXIF? | Notes | |:---------|:-----------|:-------------|:------| | Twitter/X | ✅ Yes | ✅ Yes | Strips all EXIF on upload | | Facebook | ✅ Yes | ✅ Yes | Strips EXIF but stores GPS server-side | | Instagram | ✅ Yes | ✅ Yes | Strips EXIF on upload | | WhatsApp | ✅ Yes | ✅ Yes | Compresses and strips | | Telegram | ⚠️ Depends | ⚠️ Depends | Strips in compressed mode, preserves in "file" mode | | Email | ❌ No | ❌ No | Original file transmitted as-is | | Discord | ❌ No | ❌ No | Preserves original metadata | | AirDrop | ❌ No | ❌ No | Full original file transferred | | Google Drive | ❌ No | ❌ No | Preserves all metadata |

The rule of thumb: If you're sharing via any method that transfers the original file (email, cloud storage, USB, AirDrop, Discord), you MUST strip GPS data yourself before sharing.

Ready to Clean GPS Data?

No download. No signup required. Drop your files into Ambedo and clean metadata in seconds — directly in your browser. Free for up to 15 files per day.

Launch Ambedo — It's Free

More Metadata Guides