What Is EXIF Data? Why and How to Remove It
What hidden data photos carry (camera, time, GPS location), how it can reveal where you live, how it is stored in JPG, PNG and WebP files, and how to remove it without re-compressing the picture.
In this article
A photo file holds more than the picture. Most cameras and phones add a block of hidden details called Exif data, and it can say what device took the photo, when, and where. This guide explains what is stored, why it matters for privacy, how it is kept in different file types, and how to remove it cleanly.
What Exif data contains
Exif stands for Exchangeable image file format. It records the camera make and model, the camera settings such as aperture, shutter speed and ISO, the date and time of the shot, and the pixel size of the image. If the device has a GPS receiver and location is on, it also stores the coordinates where the photo was taken. There may also be a small preview thumbnail, a description and copyright text. Some files also carry a device ID.
Most of this is harmless and useful for photographers. The risk comes from the location and the time. A photo taken at home and posted online with its location intact can show where you live, and a series of photos can show where you are during the day.
Why it matters
Some services remove location data from pictures you upload, but you cannot count on it, and a photo sent as a file by email, chat or a file-sharing link may arrive with everything inside. Selling something online, posting to a forum or sending a picture to a stranger are the usual cases where it is wise to remove the data first. The thumbnail inside the Exif block has also caused surprises in the past: an editor can crop the visible picture while an old, uncropped preview stays in the file.
Where the data is stored
- JPG: in a segment called APP1, which holds a small TIFF-style structure. Other segments can hold XMP (editing history, ratings), IPTC (captions and credits, used by news photographers) and comments.
- PNG: in the optional eXIf chunk, in text chunks (tEXt, zTXt, iTXt) which can hold authors and notes, and in a tIME chunk with the last-change time. All of these are ancillary chunks, so a viewer can ignore them without affecting how the picture looks.
- WebP: in an EXIF chunk and an XMP chunk, with two flag bits in the file header that say whether they are present.
How removal works
The cleanest method is to cut the hidden segments out of the file and leave the picture data exactly as it is. The tool on this site does this. It never decodes and re-saves the picture, so there is no re-compression and no loss of quality; the picture data is the same bytes. The colour profile in a JPG is kept, so colours look the same. By contrast, a method that redraws the picture on a canvas and saves a new file also removes the data, but it compresses a JPG a second time, which loses quality each time it is done.
The orientation tag
One small piece of Exif data is useful: the orientation tag. Phones often save a photo in the sensor's own direction and use this tag to say that it must be shown rotated. If you remove all the Exif data, such a photo can suddenly open on its side. For JPG files the tool offers to keep only the orientation note, with nothing about the camera, time or place. Turn that off if you want every trace gone, and then rotate the picture yourself. For PNG and WebP, the tool removes all of it.
What removal does not cover
- Anything visible in the picture itself: a street sign, a house number, a face or a reflection.
- The file name, which might include a date or a place.
- A copy of the picture that is already online.
- Metadata inside a PDF or video, which are different formats.
A short checklist
- Check what a photo contains before you send it.
- Remove the data from copies, and keep the originals.
- Keep the orientation note unless you need a clean break.
- Turn off location in the camera settings if you do not need it.
- Look at the picture itself for personal details.
Sources
Share
Keep reading
Related articles
How to Split a PDF and Extract Pages
How to take pages out of a PDF, split it into several files, write page ranges like 1-3, 5, 8-, and what to check before sharing the result.
How to Create a Strong, Random Password
How long a password should be, why random beats clever, what bits of strength mean, how a fair generator works and why a password manager is the practical answer.
How to Merge PDF Files in Order Without Uploading
How to combine several PDFs into one in the right order, what happens to page sizes and bookmarks, why password-protected files fail, and how to merge without sending files to a server.