Stripping Location and Metadata from Photos Before Posting

how to remove metadata from photos

Worried a casual photo could reveal where you live? Here’s how to remove metadata from photos: check the file’s properties, strip the location with a built-in or free tool, and switch off geotagging for future shots.

For the wider picture on keeping your accounts and data safe, see our online privacy guide.

Item Value
Windows built-in tool Removes some, but not all, metadata
macOS Preview Removes location data only
iPhone camera setting Settings > Privacy > Location Services > Camera > Never (future photos only)
ExifTool command exiftool -all= photo.jpg strips every EXIF, IPTC and XMP tag
Vice and John McAfee photo leak 2012

These figures come from Comparitech and Fast.io. Apps and menus change, so check the source before you rely on them.

What metadata your photos carry

Phones and cameras save EXIF data, short for Exchangeable Image File Format, alongside every picture. Comparitech describes it as the technical information stored with your photo. Anyone who receives the original file can read it.

The usual contents include:

  • GPS location data
  • When the photo was taken and last modified
  • The model and manufacturer of the device
  • Camera settings and the editing tools used
  • A thumbnail preview that, per Fast.io, can persist even after you crop the main image

The location is the part that matters most. Fast.io points out that enough geotagged photos over time let someone map your daily routine. The same guide recounts that in 2012 Vice magazine accidentally revealed John McAfee’s location in Guatemala through a photo it published.

Not every tag is a risk. Camera settings like aperture, ISO and shutter speed are harmless for most people, while GPS coordinates, device serial numbers and timestamps are worth removing before a photo leaves your control, according to Fast.io.

How to check what a photo reveals

Look before you strip, so you know what you are dealing with. ProPrivacy lists the steps for Windows:

  1. Right-click the image file.
  2. Select Properties from the menu.
  3. Click the Details tab at the top.

On a Mac, open the photo in Preview, then choose Tools and Show Inspector, as ProPrivacy describes. Whatever the list shows is what travels with the file when you save, upload or email it.

Be wary of websites that map a photo’s location for you. ProPrivacy warns that such services may keep your data under their own privacy policy, even if you ask them not to.

how to remove metadata from photos Camera equipment
A black camera rests on a wooden surface beside a laptop.

How to remove metadata from photos on a computer

Windows: the built-in tool

File Explorer can clean a photo without extra software. Comparitech notes it removes some, but not all, information.

  1. Right-click the photo, choose Show more options if needed, then click Properties.
  2. Open the Details tab.
  3. Click Remove Properties and Personal Information.
  4. Pick “Create a copy with all possible properties removed”, or select specific fields, then click OK.

One catch: Fast.io says this method only works with JPEG files, not PNG or HEIF.

Mac: Preview and ImageOptim

In Preview, open Tools, then Show Inspector. If you see a GPS tab, click it and select Remove Location Info, per Comparitech. That clears the location only, not the other tags.

For a full strip, Fast.io recommends ImageOptim, which is free and open source. Drag your photos into the app.

ExifTool for full control

ExifTool is a free command-line tool for Windows, Mac and Linux. According to Fast.io, the command exiftool -all= photo.jpg strips every EXIF, IPTC and XMP tag from a file.

To drop only the location and keep tags like copyright, the same guide gives exiftool -gps:all= -overwrite_original *.jpg. Because that command overwrites the original, keep a backup copy first.

Quick workarounds and their trade-offs

  • Screenshot the photo. The new image won’t include camera settings or location, but Comparitech warns it degrades quality through another round of encoding.
  • Online removers. They work on any device, yet Blur.me notes you are uploading potentially sensitive photos to a third-party server.
  • Desktop apps. A local app keeps the file on your machine, which suits private or confidential images better than an upload.

Removing location on iPhone and Android

iPhone and iPad

Fast.io says iOS has no built-in EXIF removal tool. You can still clear the location: per BGR, open the image in Photos, tap the three dots, select Adjust Location, then tap No Location.

To clean a photo only when you send it, Compresto describes tapping Share, then Options, and toggling Location off. For every tag, Fast.io names Metapho as an app that can view and remove EXIF data from your camera roll.

Android

Open the image in Google Photos, swipe up to see the location, tap the pencil icon and choose Remove location. BGR adds that this doesn’t work with location data added by your camera app.

For a thorough clean, Fast.io suggests Photo Metadata Remover or Scrambled Exif, which strips all metadata and lets you share the cleaned file directly.

Stop new photos being tagged

Cleaning each photo is tedious, so switch tagging off at the source. Comparitech gives the paths:

  • iPhone: Settings, Privacy, Location Services, Camera, then choose Never.
  • Android: Settings, Location, tap Camera, then select Don’t allow.

This only affects future photos; the same source says it doesn’t retroactively delete EXIF data from existing ones. There’s a trade-off too: BGR says your photos app then can’t group pictures by place or city.

Will social platforms strip it for you?

Partly. As of the Fast.io guide updated in April 2026, Facebook, Instagram and Twitter/X remove GPS and most EXIF data from photos posted to feeds. That is a safety net, not a plan.

In its April 2026 report, BGR says you can’t entirely rely on those mechanisms and that WhatsApp sometimes retains GPS coordinates. ProPrivacy, in a guide last updated in April 2021, adds that a company may still hold the data on its own servers even when it hides it from other users.

None of these sources tests Mastodon or other fediverse servers, so don’t assume yours strips anything. Clean the file yourself before you upload it.

Photos you send in messages need the same care, so read are mastodon direct messages private before you rely on them. To protect the account behind your posts, how to set up two factor authentication covers adding a second login step.

Frequently asked questions

Does removing EXIF data reduce photo quality?

Show answer

Not with a dedicated tool. Blur.me says stripping EXIF metadata doesn’t touch pixel data or image quality. A screenshot is different, because it re-encodes the image.

Does turning off location tagging clean my old photos?

Show answer

No. Comparitech says the phone setting only stops location being saved going forward. Photos you already took still carry their location until you remove it.

How can I confirm the metadata is gone?

Show answer

Run the cleaned file through your tool again; Comparitech says it should report no saved metadata. On a Mac, Help Desk Geek says the Preview inspector should show no information after cleaning.

Do I need to remove camera settings too?

Show answer

Usually not. Fast.io calls aperture, ISO and shutter speed harmless for most people, and says GPS, device serial numbers and timestamps are the ones to remove.