How to Remove Metadata From a Photo (Mac, Windows, iPhone, Android — 2026)

By Hieu Dinh

How to Remove Metadata From a Photo (Mac, Windows, iPhone, Android — 2026)

When you take a photo, your camera or phone bakes a hidden metadata block into the file. It is called EXIF (with companion blocks IPTC and XMP) and it can include the precise GPS coordinates of where you took the picture, the exact time, the make and model of your device, your camera's serial number, the editing software you used, and sometimes even thumbnails of the original frame before you cropped or edited it.

For most photos you share with friends this is harmless. For photos you upload to public platforms, post on dating profiles, list on marketplace sites, or send anonymously to journalists, it is a privacy time bomb. This guide shows you how to remove metadata from a photo on every major platform, what each method actually strips, and how to verify the result.

Why remove metadata from a photo?

Metadata can reveal:

  • Where you live, work, and travel — GPS coordinates pinpoint locations to within a few meters. A handful of public photos can map your daily routine.
  • Who you are — Camera serial numbers tie photos across multiple accounts to the same device, even with different usernames.
  • What you've edited — XMP edit history shows that a "natural" photo went through Lightroom retouching, or that a Tinder photo was significantly liquify'd.
  • What's in the original — Some EXIF blocks contain a thumbnail of the pre-cropped image. People have outed themselves by cropping out parts of a photo only to leave the uncropped version in metadata.
  • When you took it — Timestamps down to the second can contradict claimed timelines (insurance fraud, dating scams, alibis).

If you want to see the metadata before stripping it, our EXIF viewer guide covers the best tools. To strip just the technical EXIF block, see remove EXIF data. This guide is broader — it covers EXIF, IPTC, XMP, and embedded thumbnails together.

What gets stripped vs what stays

Different tools strip different things. Here is what to expect:

ToolEXIFGPSIPTCXMP editsEmbedded thumbnailColor profile
Windows File ExplorerMostYesSomeNoNoYes (kept)
macOS Preview "Export"NoNoNoNoNoYes
iOS share sheet → Location offNoYesNoNoNoYes
ComprestoYesYesYesYesYesOptional
ExifTool -all=YesYesYesYesYesYes (unless -icc_profile:all= is excluded)
WhatsApp / Twitter / InstagramYesYesMostMostYesSometimes
Photoshop "Save for Web"MostYesSomeSomeNoConfigurable

The takeaway: built-in OS tools are inconsistent. If you want everything stripped reliably, use a dedicated tool.

Method 1: macOS

macOS offers two built-in approaches and one bulletproof third-party path.

Option A — Photos.app (location only):

  1. Open the photo in Photos.app.
  2. Tap Info (i icon) or press Cmd+I.
  3. Click Adjust LocationRevert to Original or Remove Location.
  4. Export the photo via File → Export → Export Unmodified Original.

This removes GPS but leaves all other EXIF intact — camera, timestamp, lens, edit history all stay.

Option B — Preview.app (workaround):

Preview does not have a "remove all metadata" button, but exporting a photo via File → Export → choose JPG or PNG → keep all defaults strips most EXIF and all XMP. GPS and most IPTC are removed. Color profile is preserved.

Option C — Compresto (one-click, batch):

Compresto has a Strip metadata toggle on every export preset. Drop one photo or a thousand, toggle on, export. Removes EXIF, GPS, IPTC, XMP, embedded thumbnails, and optionally the color profile. Native macOS, no upload, batch-friendly.

Drag photos → Settings → toggle "Strip metadata" → Export.

Download Compresto for batch metadata stripping on Mac.

Option D — ExifTool (command line, complete):

brew install exiftool
exiftool -all= photo.jpg

The -all= syntax tells ExifTool to delete every metadata tag. To process a folder:

exiftool -all= -overwrite_original *.jpg

To preserve color profile (recommended for printing):

exiftool -all= --icc_profile:all photo.jpg

ExifTool is what most other metadata strippers use under the hood. If you want absolute completeness, this is the tool.

Method 2: Windows

Option A — File Explorer (built-in):

  1. Right-click the photo → Properties.
  2. Click the Details tab.
  3. At the bottom, click Remove Properties and Personal Information.
  4. Choose Create a copy with all possible properties removed for the safest path. Or pick specific fields with Remove the following properties from this file.

This handles common EXIF and GPS but misses XMP edit history. Acceptable for most casual privacy needs.

Option B — Photo Apps (built-in):

The Windows 11 Photos app does not have a metadata removal option. Use File Explorer or a dedicated tool.

Option C — ExifTool (command line, complete):

ExifTool is also available for Windows. Download from exiftool.org, unzip, rename to exiftool.exe, and run from PowerShell:

exiftool -all= photo.jpg

Option D — Free third-party apps:

  • EXIF Purge (Windows, Mac) — free, batch-friendly, single-purpose tool for removing EXIF.
  • IrfanView — install the EXIF plugin, then File → Save As with metadata stripped.
  • XnView MP — free for personal use, batch metadata operations across thousands of files.

Method 3: iPhone (iOS 17+)

iOS has had a built-in option since iOS 15 to strip location on share, and iOS 17 expanded this with a system-wide privacy framework.

Strip location at share time (recommended):

  1. Select the photo in Photos.app and tap Share.
  2. Tap Options at the top of the share sheet.
  3. Toggle Location off (and toggle off All Photos Data if it appears).
  4. Send.

This is the easiest path and works for any share destination — Mail, Messages, AirDrop, third-party apps.

Strip all metadata before sharing (more thorough):

iOS does not have a built-in "strip all EXIF" button, only "strip location." For complete metadata removal, use a third-party app:

  • Metapho ($3.99) — view, edit, and remove all metadata from photos. Fast.
  • Exif Eraser (free) — single-purpose, batch-friendly.
  • Photo Investigator (freemium) — view and strip metadata.

Pro tip: to permanently remove location from a photo (not just on share), open it in Photos.app → tap Info → tap Adjust next to location → tap No Location.

For the bigger picture on iPhone privacy, also check Settings → Privacy & Security → Location Services → Camera → set to Never. This stops new photos from being geotagged in the first place.

Method 4: Android

Strip location at share time:

  1. Open the photo in Google Photos.
  2. Tap Share.
  3. Tap Remove location at the top of the share sheet (if shown).
  4. Send.

This option appears only when Google Photos detects location data on the photo. Coverage is inconsistent across Android versions and OEM skins.

Strip all metadata:

  • Photo Exif Editor — free, view and remove all metadata.
  • Exif Eraser — free, batch-friendly, single-purpose.
  • ImagePipe — open-source, FOSS-friendly Android app for batch metadata stripping.

For maximum control, install Termux and ExifTool:

pkg install exiftool
exiftool -all= /sdcard/Pictures/photo.jpg

Method 5: Online tools (cross-platform)

If you cannot install software, browser-based metadata removers work in a pinch.

Best free online tools:

  • EXIF Remover (exifremover.com) — drag photos, click strip, download. Browser-only, files never uploaded.
  • Metadata2Go (metadata2go.com/delete-metadata) — strips EXIF, IPTC, XMP. Files uploaded to server but deleted after processing.
  • Verexif (verexif.com) — basic EXIF removal, includes view-first option.
  • Pics.io Metadata Remover — clean UI, batch support on paid tier.

Privacy warning: unless the tool explicitly says "in-browser only" or "WebAssembly," your photo is uploaded to their server during processing. Even with stated retention policies, this is a data exposure that defeats the purpose of stripping metadata in the first place. For sensitive photos, use a desktop tool — or Compresto's free EXIF Data Remover and Image Metadata Extractor, which both process locally in the browser.

Method 6: Photoshop

If you live in Photoshop:

  1. File → Export → Save for Web (Legacy).
  2. In the Metadata dropdown, choose None.
  3. Save.

This strips EXIF, IPTC, XMP, and embedded thumbnails. Color profile can be retained or stripped via the "Embed Color Profile" checkbox.

For non-destructive workflows: Photoshop's regular Save As does not strip metadata by default. Use Save for Web or run the file through a dedicated tool afterwards.

Verifying the strip actually worked

After you remove metadata from a photo, verify the result. Trust nothing.

Quick check on Mac:

exiftool stripped-photo.jpg | wc -l

A clean strip should return ~5–10 lines (file size, dimensions, MIME type — basic file info that ExifTool reports about every file). If it returns 50+ lines, metadata is still present.

Quick check on Windows:

Right-click → Properties → Details. The fields should be mostly empty. If camera, GPS, or timestamp are still listed, the strip failed.

Online verification:

Drop the stripped file into the Compresto Image Metadata Extractor or any EXIF viewer. A successful strip shows no EXIF, GPS, IPTC, or XMP fields.

Common failure modes:

  • Strip tool only handles EXIF, leaves XMP edit history intact.
  • Color profile is left as-is (usually fine, sometimes a tracking vector via embedded ICC profile).
  • Embedded thumbnail with original (uncropped) image is left behind.
  • Filename was not changed and embedded a date or location.

What about social media platforms?

Major platforms strip most metadata on upload, but coverage varies:

  • Instagram, WhatsApp, Twitter/X, Facebook — strip EXIF and GPS on upload. Some keep IPTC keywords.
  • Discord, Slack — generally preserve metadata. Strip yourself before posting sensitive photos.
  • Reddit — strips EXIF on i.redd.it uploads, preserves on imgur or external links.
  • iMessage, Signal, Telegram — preserve metadata in attachments. Strip yourself.
  • Email — preserves everything. Always strip first.

Rule of thumb: assume nothing is stripped unless you verified it on the receiving end. If you would not be comfortable with the recipient seeing your GPS, your camera serial, and your full edit history — strip first.

Combining metadata removal with compression

For the lightest, safest photo possible, strip metadata and compress. A typical 4 MB iPhone JPG with EXIF intact becomes 250 KB after compress JPG workflow + metadata strip. Smaller, faster to upload, and zero privacy leak.

In Compresto, the Web preset does both at once: resize to 1920px, MozJPEG quality 80, strip metadata, optimize ICC profile. One click, one click later you have a web-ready, privacy-clean JPG.

The same logic applies to PDFs — see remove metadata from PDF for the document equivalent.

FAQ

Does removing metadata from a photo reduce its quality? No. Metadata is stored separately from the pixel data. Stripping it changes the file size by 5–50 KB but leaves the actual image bits untouched.

Can I recover metadata after I've removed it? Generally no. Once you save over the file or export a stripped copy, the metadata is gone. If you have the original or a backup, the metadata is still in that copy.

Why do my photos have so much metadata? Modern phones write extensive EXIF, GPS, AAE (edit history on iPhone), and HEIC depth maps. Photos.app on Mac and iCloud Photos add their own indexing fields. A single photo can carry 30–80 metadata fields.

Can I remove metadata from RAW files? Yes — ExifTool handles CR2, NEF, ARW, RAF, DNG, and others. Be cautious: stripping certain RAW metadata (white balance, lens corrections) can affect how the file is rendered in Lightroom.

Does removing metadata stop reverse image search? No. Reverse image search (Google Lens, TinEye) hashes pixel content, not metadata. To break reverse image search you have to alter the pixels — crop, recolor, or watermark.

Is removing metadata legal? Yes — metadata belongs to the file owner. Some content authentication systems (C2PA Content Credentials) embed signed metadata you might not want to strip if you are publishing as an artist or journalist. For privacy-driven removal of personal metadata, there is no legal issue.

TL;DR

  • iPhone: Photos.app share sheet → Options → Location off, OR install Metapho for full strip.
  • Android: Google Photos share → Remove location, OR install Photo Exif Editor.
  • Mac: Compresto for one-click batch strip with optional resize, OR exiftool -all=.
  • Windows: File Explorer → Properties → Details → Remove Properties, OR install ExifTool.
  • Online (in-pinch): prefer browser-only tools like the Compresto Image Metadata Extractor.
  • Always verify the strip with an EXIF viewer before publishing.
  • Combine metadata removal with JPG compression for a cleaner, smaller, safer photo.

You only need to remove metadata from a photo once for it to matter forever. Get into the habit before you post next time.

Ready to compress your files? Join thousands of creators using Compresto ⚡