Remove EXIF metadata from photos: GPS, date and device
A phone photo can carry the exact place and time it was taken. Sharing the original file passes that along, so check what is inside and remove at least the GPS tags before a photo goes to people you do not know.
ConvertBoxPublished
What a photo file carries besides the picture
A camera writes a block of tags into each file next to the image data. The format is called EXIF, and in a JPEG it sits in its own segment near the start of the file, separate from the compressed pixels. That separation matters later: tags can be changed or deleted without touching the picture.
| Data | Example | Why it matters |
|---|---|---|
| GPS position | Latitude, longitude, altitude | Precise enough to identify a house; written only when location is enabled for the camera |
| Date and time | Moment of capture | Shows when you were there; photo libraries sort by it |
| Device | Make, model, lens, software version | Links photos to the same phone or camera |
| Exposure | Aperture, exposure time, ISO, focal length | Harmless, and useful to photographers |
| Orientation | A number saying how to rotate the picture for display | Removing it can make the photo appear sideways |
| Thumbnail | A small preview copy of the image | Can survive editing if a program does not update it |
EXIF, XMP and IPTC are separate blocks
EXIF is what the camera writes. Editing and cataloguing programs add two more containers: IPTC, the press-industry format for captions, credits and keywords, and XMP, an XML block introduced by Adobe that can hold almost anything, including a copy of the location, the editing history and the names of people tagged in the picture.
The practical point is that removing one block does not remove the others. A file that came straight from a phone camera has little beyond EXIF. A file that passed through a photo editor or a library application may repeat the location in XMP, so a tool that clears only EXIF leaves it behind.
Which ways of sharing keep metadata
Behaviour differs between services and changes with versions and settings, so the reliable approach is to sort methods by whether they send your original file or a copy the service has re-encoded.
- Original file sent as is: email attachments, cloud storage links, and file transfer over a cable or a memory card. Metadata arrives intact.
- Messengers: it varies. Many re-encode a photo sent as a picture, which usually drops metadata, but pass the file through untouched when it is sent as a document or at original quality.
- Large social networks: most remove metadata from the copy other people can download. The service itself still received your original, location included.
- The phone's share sheet: iOS has an Options screen where location can be switched off for that share. It removes the position and nothing else.
How to inspect a photo before sharing it
- Windows: right-click the file, choose Properties, then open the Details tab. GPS has its own group near the bottom.
- macOS: open the file in Preview and choose Tools > Show Inspector; the information tab has Exif and GPS panels when those tags exist.
- Phone: in the photo app, swipe up on a picture or tap the info button to see the date, the device and a map if a position is stored.
- In a browser: the ConvertBox EXIF editor reads a JPEG and shows twelve fields: make, model, software, date taken, lens, aperture, exposure time, ISO, focal length, latitude, longitude and altitude. A dash means the tag is absent. It accepts one JPEG at a time, up to 20 MB.
Ways to remove metadata, compared
Windows offers one more route from the same Details tab: Remove Properties and Personal Information creates a copy with the properties it can remove taken out. Whatever method you use, check the result with a reader afterwards rather than assuming, and to test a messenger or a website, send a photo to yourself, download it again and inspect that copy.
| Method | Removes | Keeps | Side effect |
|---|---|---|---|
| Strip GPS in the EXIF editor | Location tags | Camera data, date, orientation; pixels are not re-encoded | None visible |
| Strip all metadata in the EXIF editor | The whole EXIF block, with orientation and thumbnail | Pixels are not re-encoded; XMP and IPTC are not edited | The photo may display sideways |
| Re-encode with the image compressor | Metadata, including GPS position | Nothing from the tags | Lossy re-encoding; longest side capped at 1920 pixels |
| Crop with the crop tool | Metadata, because the output is built from pixels | The cropped region at its original resolution | Output is always PNG, so photos get larger |
| Switch off location in the iOS share sheet | Position, for that share only | Everything else | Has to be repeated each time |
The side effect to expect: orientation
A camera sensor always records in the same direction. When you hold the phone upright, the phone does not rotate the pixels; it writes the Orientation tag, a number from 1 to 8, and viewers rotate the picture when they show it. Value 1 means display as stored and value 6 means turn it a quarter turn clockwise. Delete the whole EXIF block and that instruction is gone, so a portrait photo can appear lying on its side.
There are two ways around it. Remove only the GPS tags, which leaves orientation and the capture date in place. Or fix the direction in the pixels: a rotate tool or any program that redraws the image and saves it produces a file that is upright without the tag. Current browsers honour the tag when they draw a picture, so browser-based tools that re-encode generally bake the rotation in, but look at the result before sending it. A full strip also removes the capture date, after which a photo library falls back to the file date and the picture moves in the timeline.
What removing metadata does not fix
- What is visible in the picture: a street sign, a house number, a reflection or a recognisable view locates a photo as well as coordinates do.
- The file name: phone names are harmless, but names you typed yourself travel with the file.
- Copies already sent: stripping changes the copy you make now, not the ones others have.
- Your own credit: a full strip also deletes author and copyright tags. If those matter, remove only the location.