How to remove GPS and other hidden data from a photo
A holiday snap can silently include the exact spot it was taken. That hidden parcel of data is called EXIF, and it survives a lot of “just compress it” tools unless the picture is actually redrawn.
What is hiding in the file
EXIF is a small index stapled to the image, not extra pixels you can see. Typical tags:
- GPSLatitude / GPSLongitude — often accurate to a few metres, taken from the phone’s location at the moment you pressed the shutter.
- DateTimeOriginal — when it was taken, which can matter as much as where.
- Make / Model / Lens — the phone or camera.
- Orientation — a note saying “this picture was shot sideways”; viewers rotate it when they open the file.
- A small embedded thumbnail, which sometimes still shows something you later cropped out of the main picture.
Social networks usually strip this block when you post. Email, chat apps, cloud folders and “attach a file” forms often do not. Sending the original from your camera roll is the risky path.
Why “lower the quality” is not enough
Some compressors decode the pixels, re-encode them, and then copy the original EXIF block onto the new file so the date and orientation survive. The file gets smaller; the location tag is still there. Always check with a metadata viewer (or look at the file in a hex editor for the letters Exif and GPS near the start) if you used a tool you do not control.
Screenshotting the photo and sending the screenshot works, because a screenshot is a new picture with no EXIF, but you lose quality and resolution. Redrawing at full size onto a canvas, then saving, keeps the pixels and drops the tags.
The canvas method, step by step
- Open a page that compresses or converts images in your browser (if it uploads, pick a different page).
- Add the photo. A careful tool will mention location data if it can see a GPS tag.
- Download the new file. Because the pixels were painted onto a canvas and encoded from scratch, the EXIF block is not copied.
One extra detail: phones store rotation as an Orientation tag rather than rotating the pixels. A good stripper applies that rotation first (so the download is the right way up) and then drops the tag. Recent browsers expose this as createImageBitmap(file, { imageOrientation: "from-image" }), which is what the compressor here uses.
What this does not hide
Stripping EXIF removes hidden tags. It does not blur faces, cover a street name that is visible in the photo, or redact a document you photographed. Those are in the pixels. If the picture itself should not be shared, do not send it — stripped or not.
Also, some formats carry metadata in more than one place (an EXIF block and an Adobe XMP packet). A canvas export replaces the whole file, so both are gone. A tool that only deletes one named tag might leave the other.
Related
Why pixelating text in a picture doesn't hide it · See and remove a photo's hidden location (metadata viewer) · Check a photo for location before sending · Which ways of sending keep the location · Why a photo turns sideways after upload · Batch photo rotator · Compress an image without uploading it · Resize an image without uploading it · Convert PNG to JPEG or WebP · Photo too large to email · Image compressor · Hash a file locally (to confirm two copies differ after stripping)
New to this? Wirebook explains what metadata is and what EXIF data in a photo is in plain English.
Questions
Do my photos have GPS in them?
Often, if they were taken on a phone with location enabled for the camera app. A JPEG that contains a GPS EXIF directory or an XMP GPSLatitude tag has coordinates even though you cannot see them in the picture.
Does WhatsApp or iMessage strip location data?
Many chat apps recompress photos and drop EXIF when you send them as a photo, but not when you send the original as a file. If you choose “attach document” or “send original”, assume the tags are still there.
Will cropping in Photos remove the GPS tag?
Not always. Some editors keep the original metadata. Exporting or using a tool that redraws the image is more reliable than a crop that only changes the pixels.
Is stripping EXIF the same as making the photo anonymous?
No. It removes hidden tags. Anyone can still see what is in the picture itself.
Can I strip EXIF without uploading the photo?
Yes. Open it in a local compressor that uses the browser canvas, or export it from an editor on your computer. The tool on this site never sends the file anywhere.
Published · updated .