October 27, 2026

How to remove metadata from an image (all of it, not just the location)

Short answer: to remove metadata from an image completely, rebuild the file from its pixels or strip every block with a tool like ExifTool, then check the result. The quick options in your phone or file manager mostly remove location only. Camera model, timestamps, edit history and AI provenance stay behind.

That distinction is the whole problem. Most guides treat "remove metadata" as one action. In practice each method removes a different subset, and you can't tell which from the button label.

What's actually in the file

An image file carries several separate metadata blocks, and each one is written by different software:

A method only "removes metadata" if it removes all of these. Most don't.

What the common methods actually remove

MethodWhat it removesWhat survives
iPhone: Share → Options → Location offLocation, for that one shareEverything else in EXIF and XMP
iPhone/Mac Photos: Adjust Location → No Location / Image → Location → Hide LocationLocation as Photos shows itEverything else
Windows: Properties → Details → Remove Properties and Personal InformationProperties Windows knows how to editAnything outside its property list. Results vary by format
Cropping, resizing, filtersNothingAll of it
Converting HEIC to JPGDepends on the converter. Many copy it allOften GPS included
Screenshotting the photoThe original's metadataThe screenshot's own metadata, plus resolution
ExifTool -all=Every block it can writeNothing you need, if run correctly
Re-encoding from pixels (canvas, Pillow copy)Every blockNothing, but lossy formats lose a little quality

The Apple steps come straight from Apple's personal safety guide, and that guide is explicit that they cover location. They're useful if location is the only thing you care about, and we cover them step by step for iPhone and Android. They are not a general metadata wipe.

Method 1: rebuild the image from pixels (any device)

The most thorough approach is also the simplest idea. Decode the image to a plain grid of pixels, then encode a fresh file from that grid. A bitmap has no place to store EXIF, XMP, IPTC, text chunks or a C2PA manifest, so none of them make it into the new file. That includes the embedded thumbnail, which lives inside EXIF.

This is how our metadata cleaner and the GPS remover work. The image is drawn to a <canvas> in your browser and re-encoded, and the file is never uploaded anywhere. That matters, because an online cleaner that uploads your photo has received the original with every field intact before it hands you back a clean copy.

Two trade-offs to know:

If an AI tag or Content Credentials label is the specific thing you want gone, the AI info remover uses the same pixel rebuild.

Method 2: ExifTool (desktop, batches, lossless)

ExifTool is the free reference tool for reading and writing image metadata on Windows, macOS and Linux. It removes metadata without touching the pixel data, so there's no re-encode:

exiftool -all= photo.jpg

Things worth knowing before you run it on a folder:

Method 3: Windows' built-in remover

Right-click the image, open Properties → Details, and click Remove Properties and Personal Information. Choose Create a copy with all possible properties removed. The copy appears next to the original, and the original is unchanged.

It's convenient, but "all possible" means all the properties Windows itself can edit, not every block in the file. Treat it as a first pass and check the copy before you send it.

Check that it worked

Whatever you used, inspect the file you are about to send, not the one you started with. Editing after cleaning puts fields back. Editors write their own Software and XMP history tags on save, so clean last.

exiftool -a -G1 cleaned.jpg

A clean file shows only structural fields like file size, dimensions and encoding. No GPS, no Make or Model, no XMP, no C2PA. No terminal? The image metadata viewer runs in your browser and lists what it finds.

What removing metadata doesn't protect against

Stripping metadata removes the hidden data. It does nothing about the visible picture, and that is where most identification actually happens.

The short version

The location toggle on your phone removes location. Windows' remover removes what Windows can edit. For a file with no metadata at all, rebuild it from pixels with a local tool, or run exiftool -all= and delete the _original backup. Then check the exact file you're about to share, and remember that a clean file can still give you away through what it shows.