Remove Metadata from Images: The Complete Privacy Guide
Every image you share online carries invisible data. The photo looks like pixels — but inside the file, there can be GPS coordinates, your device's serial number, a log of every edit you made in Photoshop, and timestamps accurate to the second. Knowing how to remove metadata from images before sharing is basic privacy hygiene, and this guide covers every type.
EXIF gets most of the attention, but it's only one of four distinct metadata systems embedded in common image formats. Strip just EXIF and you may still be leaking editing history, copyright credits, or color calibration data that identifies your equipment. This guide covers all four.
The Four Types of Image Metadata (And What Each Exposes)
| Metadata Type | What It Stores | Privacy Risk | Common In |
|---|---|---|---|
| EXIF | GPS coordinates, camera make/model, device serial number, capture timestamp, lens settings, orientation | High — GPS and serial numbers are the biggest risks | JPEG, TIFF, HEIC, WebP, raw formats |
| IPTC | Caption, description, keywords, copyright notice, creator name, contact info, location fields | Medium — creator contact info and location fields can be sensitive | JPEG, TIFF, PSD |
| XMP | Edit history (every tool and setting applied), software version, unique document ID, derived-from links, rating/label | Medium-High — edit history reveals your software stack; document IDs can link files across accounts | JPEG, PNG, PDF, most Adobe-native formats |
| ICC Profile | Color space description, device manufacturer, device model, creation software | Low — primarily technical; device model can sometimes identify equipment | JPEG, PNG, TIFF, WebP |
Most casual users only need to worry about EXIF and IPTC. If you work in photography or design, XMP is the one that surprises people — Adobe applications embed a complete revision history, including the original filename, creation date, and a UUID that can link an exported JPEG back to the original Lightroom catalog entry.
Try it yourself
View, edit, or strip EXIF data from photos — free, instant, no signup. Your images never leave your browser.
What Gets Exposed When You Share a Photo
The realistic threat model matters here. Here are the actual risks by use case:
Sharing on social media: Instagram, Facebook, Twitter/X, and LinkedIn strip EXIF before displaying images publicly. They keep the metadata server-side. So publicly, your GPS isn't visible to other users — but the platforms have it. If you'd rather they didn't, strip before uploading.
Sending via email or Slack: No stripping. The recipient gets the original file with everything intact. Drop a photo in a Slack channel and your colleagues can read your GPS coordinates in any EXIF viewer.
Publishing on a website: Web servers serve the original file unless your build pipeline strips it. Every visitor can download the file and read its metadata. Compressing with Pixotter strips metadata automatically — more on that below.
Whistleblowing or source protection: GPS and device serial numbers are the critical risks. Serial numbers link photos to a specific device even if the GPS is disabled. Use ExifTool with the -all= flag or a tool that guarantees full stripping, not just GPS removal.
For most people, sharing a photo on social media without stripping first is fine — the platforms handle it. The genuine risks are email, direct file sharing, and website publishing.
Strip metadata while compressing
Pixotter removes metadata during compression — smaller files and better privacy in one step.
How to Remove Image Metadata with ExifTool (Any Platform)
ExifTool v12.76 (Phil Harvey, Artistic License / GPL-1.0+) is the authoritative tool for metadata manipulation. It handles EXIF, IPTC, XMP, and ICC profiles across every common image format.
Install ExifTool v12.76:
# macOS (Homebrew)
brew install exiftool
# Installs the current stable release (12.76 as of April 2026)
# Ubuntu/Debian
sudo apt install libimage-exiftool-perl
# Windows: download the Windows Executable from exiftool.org
# No install needed — run exiftool.exe from the command line
Strip all metadata (EXIF + IPTC + XMP + ICC) from a single file:
exiftool -all= photo.jpg
ExifTool creates a backup (photo.jpg_original) by default. To skip the backup:
exiftool -all= -overwrite_original photo.jpg
Batch strip an entire directory:
exiftool -all= -overwrite_original /path/to/photos/
Keep ICC profile but remove everything else (preserves color accuracy for professional work):
exiftool -all= --icc_profile:all photo.jpg
Verify the result — confirm metadata is gone:
exiftool photo.jpg
# Should return only "File Type", "MIME Type", "Image Width/Height" — no EXIF, IPTC, or XMP fields
ExifTool is the only tool here that reliably handles all four metadata types including embedded thumbnails (which carry their own EXIF data and are often missed by less thorough tools). For high-stakes use cases, ExifTool is the right answer.
How to Remove Metadata on Windows
Windows has a built-in metadata remover that works without any extra software.
- Right-click the image in File Explorer.
- Select Properties.
- Click the Details tab.
- At the bottom: "Remove Properties and Personal Information".
- Choose "Create a copy with all possible properties removed" — this leaves your original intact.
- Click OK.
What it strips: GPS coordinates, camera make/model, timestamps, author, copyright fields.
What it may miss: Some XMP fields, embedded thumbnails with their own EXIF data, and ICC profiles (those are preserved intentionally). For a complete strip, use ExifTool. For a quick GPS and camera-info removal before emailing a photo, the Properties dialog is fast enough.
The one-file-at-a-time limitation makes this impractical for batches. For bulk work on Windows, ExifTool's batch command above is the right tool.
How to Remove Metadata on macOS
Option 1: Preview export (quick, mostly effective)
- Open the image in Preview.
- Go to File > Export.
- Select JPEG or PNG format.
- Click Save.
Preview's export strips most EXIF data — GPS, camera model, timestamps. It is not a guaranteed clean strip: some XMP fields survive, and behavior varies between macOS versions. For most casual use cases it is sufficient. For anything requiring certainty, use ExifTool.
Option 2: ExifTool via Homebrew (complete)
brew install exiftool
exiftool -all= -overwrite_original photo.jpg
See the ExifTool section above for the full command reference.
How to Remove Metadata Online (No Install Required)
For one-off files where you don't want to install software, online tools are practical. The important distinction is whether your images leave your device.
Pixotter (browser-based, client-side): Pixotter processes files entirely in your browser using WebAssembly. The image never reaches a server. Compress your image with Pixotter and metadata is stripped as part of the compression process — you get a smaller file and clean metadata in one step. There is no separate "strip metadata" step needed.
This also applies to converting image formats — exported files come out without the original metadata embedded in the source file.
For resizing operations, Pixotter's resize tool similarly produces clean output without the metadata from the original.
Upload-based tools: Services that require uploading your file to their server inherit the same risks you were trying to avoid — the server receives your original file including its GPS data. For privacy-sensitive files, browser-based processing is the right default.
Comparison: Metadata Removal Methods
| Method | Platform | Strips All Types? | Free | Difficulty | Batch Support |
|---|---|---|---|---|---|
| ExifTool v12.76 | Windows, Mac, Linux | Yes (EXIF + IPTC + XMP + ICC) | Yes (GPL) | Medium (CLI) | Yes |
| Pixotter compress/convert | Browser (any) | EXIF + IPTC + XMP | Yes | Easy | Yes (drop multiple files) |
| Windows Properties dialog | Windows | Partial (no XMP, no thumbnails) | Yes (built-in) | Easy | No (one file at a time) |
| macOS Preview export | macOS | Partial (most EXIF, not all XMP) | Yes (built-in) | Easy | No (one file at a time) |
| GIMP 2.10.36 export | Windows, Mac, Linux | EXIF + IPTC + XMP (optional) | Yes (GPL-3.0) | Medium | No |
| Adobe Photoshop export | Windows, Mac | Configurable | No ($22+/mo) | Medium | Yes (batch scripts) |
For most people: use Pixotter for images you are already compressing or converting, and use ExifTool when you specifically need to strip metadata from files in place.
Stripping Metadata in GIMP 2.10.36
GIMP (GNU Image Manipulation Program, GPL-3.0) gives you control over which metadata survives export.
- Open the image in GIMP 2.10.36.
- Go to File > Export As (not Save — "Save" is GIMP's native format).
- In the export dialog, click Advanced Options.
- Uncheck "Save EXIF data", "Save XMP data", and "Save IPTC data".
- Click Export.
GIMP preserves ICC profiles by default (which is correct behavior — stripping the profile can affect color rendering). If you also want to remove the ICC profile, check "Don't write color profile."
This approach works file by file. For batch work, ExifTool is faster.
For Journalists, Activists, and High-Risk Users
The standard metadata removal advice is adequate for casual privacy. For serious operational security, the requirements are stricter:
Disable GPS at capture time. Stripping GPS after the fact is one step that can be skipped. Go to device Settings > Camera > Location and disable it permanently. This prevents the data from being written in the first place.
Use ExifTool's -all= flag, not selective removal. Selective tools that target "GPS only" can miss fields. The -all= flag is unambiguous — it removes everything.
Check embedded thumbnails. JPEG files embed a small thumbnail image with its own EXIF block. Many consumer tools strip the main image EXIF but leave the thumbnail's. ExifTool handles both. Verify with exiftool -Thumbnail:all photo.jpg after stripping.
Verify the strip. Run exiftool photo.jpg after every strip operation. If you see fields beyond File Type and Image Dimensions, the strip was incomplete.
Device serial numbers persist across accounts. Even with GPS disabled and all EXIF stripped, if you missed the serial number field in a prior upload, the device fingerprint may already be logged elsewhere. For genuinely sensitive situations, use a dedicated device.
The remove EXIF data guide covers these operational details specifically for EXIF — this article's focus is broader, covering all metadata types.
Understanding Image Metadata: The Full Picture
If you want to understand what metadata is stored in your images before deciding what to strip, the EXIF data guide covers the EXIF standard in depth — what every field means, which files carry it, and how cameras write it. Once you know what is there, you can make an informed decision about what to keep versus what to remove.
For files you are optimizing for the web, reducing image file size is the parallel concern — metadata contributes to file size, but the image data itself is typically the larger factor. Compressing via Pixotter handles both simultaneously.
FAQ
Does removing metadata damage the image?
No. Metadata is stored in a separate section of the file from the pixel data. Stripping all EXIF, IPTC, and XMP fields leaves the visual content completely intact. The file becomes slightly smaller (typically 5–50KB depending on how much metadata was embedded). The exception: if you strip the ICC color profile, some applications may display colors slightly differently, because they fall back to a default sRGB assumption. For web publishing, this rarely matters.
Does every image format support metadata?
No. JPEG, TIFF, HEIC, WebP, and raw formats (CR2, NEF, ARW) support EXIF fully. PNG uses a different system (tEXt and iTXt chunks, plus XMP) — not EXIF, but still carries metadata. BMP and GIF have minimal or no metadata support. AVIF supports EXIF and XMP in a container structure. SVG is XML-based and carries metadata as XML attributes — a different removal process entirely.
Do social media platforms remove metadata before displaying images?
Most do — Instagram, Facebook, Twitter/X, LinkedIn, and Reddit all strip EXIF before serving images to other users. The platforms keep the metadata internally. They received your original file; they just don't expose it to other users. If you don't want the platform to have the data at all, strip before uploading.
What is XMP metadata and why should I care?
XMP (Extensible Metadata Platform) is Adobe's metadata standard, embedded in images processed by Lightroom, Photoshop, or Camera Raw. It stores the complete edit history — every slider adjustment, crop, and color grade, plus the original filename, creation date, and a universally unique identifier (UUID) that can link an exported file to the original in a Lightroom catalog. For photographers sharing commercial work or retouchers protecting their workflow, XMP removal is as important as EXIF removal.
Can I remove metadata selectively — keep some fields and remove others?
Yes, with ExifTool. The general pattern is: -all= to clear everything, then -TagsFromFile to restore specific fields. For example, to keep only the ICC color profile:
exiftool -all= --icc_profile:all photo.jpg
To keep only copyright info while removing GPS and everything else:
exiftool -all= -copyright="Your Name" photo.jpg
Consumer tools (Windows Properties, Preview) offer limited selective control. ExifTool is the only option for precise field-level control.
Will stripping metadata affect how my image appears in Google Image Search?
Minimally. Google reads structured data and alt text for image indexing — EXIF metadata has almost no influence on image search rankings or display. The description and caption IPTC fields are occasionally used to supplement alt text on images without proper HTML markup, but for properly marked-up web images, stripping IPTC has no practical SEO impact. See the image SEO guide for what actually moves image search rankings.
Is Pixotter's metadata removal private?
Yes. Pixotter processes files entirely in your browser via WebAssembly. Nothing is uploaded to a server. The compression and conversion tools strip metadata as part of processing — your original file stays on your device and the cleaned output is generated locally. This is the same reason Pixotter works offline once the page loads.
How do I verify that metadata has been successfully removed?
Use ExifTool: exiftool photo.jpg. After a complete strip, the output should show only file-level fields (file type, MIME type, image dimensions, file size) — no GPS, no camera model, no timestamps, no XMP history. If you see those fields, the strip was incomplete. The Windows Properties Details tab also shows a readable summary of remaining metadata, though it doesn't display XMP fields.
Try it yourself
Ready to check metadata? Drop your image and get results in seconds — free, instant, no signup. Your images never leave your browser.