How to Remove EXIF & GPS Photo Metadata
Every photo taken on a phone or dedicated camera stores invisible records alongside the picture itself. Before sending an image by email, uploading it to a forum or publishing it on a website, it helps to know what is tucked inside the file—and how to remove it without softening the image.
You can clean JPEG, PNG and WebP images locally in your browser with the free File Sniff image metadata remover.
What hidden data is inside a photo?
Image formats such as JPEG, PNG and WebP are structured as sequences of segments or chunks. One segment holds the compressed pixels; the surrounding segments carry metadata:
- EXIF (Exchangeable Image File Format): Records the camera or phone make and model, lens details, shutter speed, aperture, ISO, exact capture timestamps, software version, and—when location services are enabled—GPS latitude, longitude, altitude and compass direction.
- Embedded preview thumbnails: Many cameras write a smaller JPEG preview inside the EXIF block. If older editing software updates the main image without updating or stripping the EXIF thumbnail, the uncropped original can remain inside the file.
- XMP and IPTC metadata: Editing programs and photography workflows store creator names, copyright notices, captions, keywords, edit history and AI-disclosure tags in XMP XML packets or IPTC records.
- PNG text chunks: PNG files can carry
tEXt,zTXtandiTXtchunks added by screenshot tools, design software or image generators. - Content Credentials (C2PA): Cryptographically signed manifests that record how an image was captured, edited or generated with AI.
Which metadata affects how the photo looks?
Two pieces of metadata change how a browser or viewer displays the pixels:
- Colour profile (ICC / cICP): Many modern phones capture wide-gamut Display P3 colour. Stripping the ICC profile forces apps to assume standard sRGB, which can make vibrant reds, greens and skin tones look dull or shifted. Keeping the colour profile preserves accurate colours without revealing personal details.
- Orientation: Phones often record the sensor image in one fixed direction and store a single EXIF orientation number (
1to8) telling viewers how to rotate it. If you strip the entire EXIF block without keeping that single orientation value (or rotating the pixels), portrait photos can appear sideways.
File Sniff’s image metadata remover keeps the colour profile and writes back only the single EXIF orientation tag by default while discarding camera details, timestamps, GPS coordinates and thumbnails.
Lossless container cleaning vs re-encoding
Many online tools remove metadata by decoding the image onto a canvas and saving a brand-new JPEG. For a lossy format like JPEG, re-encoding compresses the image a second time, slightly degrading fine detail or changing file size.
Lossless metadata stripping works at the container level instead:
- In a JPEG, it reads the marker segments (
APP1EXIF/XMP,APP13IPTC,COMcomments), leaves out the metadata markers, and copies the compressed scan data byte for byte. - In a PNG, it preserves the critical image chunks (
IHDR,PLTE,tRNS,IDAT,IEND) and selected display chunks (iCCP,sRGB,cICP) while dropping text and metadata chunks. - In a WebP, it rebuilds the RIFF container around the untouched
VP8/VP8Lbitstream and alpha chunk withoutEXIForXMPchunks.
Because the compressed pixel data is copied verbatim, every decoded pixel is identical to the original.
Content Credentials and AI declarations
If an image carries C2PA Content Credentials, cleaning the file involves a trade-off:
- Removing Content Credentials (the default in our remover) strips the signed manifest—which can otherwise contain device details, location data and a thumbnail—along with any AI-origin declaration stored in it.
- Keeping Content Credentials leaves the manifest in the file, but because removing EXIF or other segments changes the file’s bytes, the cryptographic binding will no longer verify.
If you want to inspect what an image declares before cleaning it, check it first with the image Content Credentials checker, or go straight to the free image metadata remover.