View and remove photo metadata
A photo file carries more than the picture: where it was taken, when, with which camera, and often which app edited it. Choose a photo, and this tool lists what it finds. One tap removes it and gives you a clean copy. Everything happens in your browser, and the photo stays on your device.
Or drop a photo on the frame. JPEG, PNG, WebP, or HEIC. The photo stays on this device.
What a photo file can hold
- Location
- The GPS position, the altitude, and place names such as the city and the country.
- Date
- When the photo was taken and when the file was changed.
- Camera
- The make, the model, serial numbers, and the camera maker's own data.
- Software
- The app or the firmware that wrote the file.
- Other data
- XMP, IPTC, content credentials (C2PA), comments, and a small preview picture inside the file.
How it works
-
Choose a photo
Pick a JPEG, PNG, WebP, or HEIC file, or drop it on the frame. Your browser opens it right here, on your device.
-
Read what it holds
The tool lists the location, the date, the camera, the software, and the rest: XMP, IPTC, content credentials, comments, and the small preview picture inside the file.
-
Remove it and download
Remove all metadata takes it out and leaves the picture data byte for byte as it was. The orientation and the color profile stay, so the picture looks the same. Then download the clean copy.
What a photo file holds besides the picture
Metadata is the text and the numbers that a camera or an app writes into a photo file next to the picture. You do not see it when you look at the photo, and everyone who gets the file can read it.
A photo file has two parts. One is the picture: the pixels, compressed. The other is a set of labeled blocks around it. Each block follows its own standard, which is why the names sound like a row of license plates. This is what they mean.
- EXIF is the block that the camera writes. It holds the date and the time, the make and the model of the camera or the phone, the lens, the exposure, and often serial numbers. The software field names the app or the system version that wrote the file.
- GPS is a part of EXIF. It holds the latitude, the longitude, and often the altitude. A phone fills it in when the camera may use the location. It marks the spot where you stood.
- Maker data is a part of EXIF in the camera maker's own format. Each maker uses it in its own way, and its content is not documented for the public.
- IPTC comes from news photography. It holds a caption, keywords, the name of the photographer, and place names such as the city and the country.
- XMP is a block of text that editing apps write. It can repeat the location and the date, and it can list the edits and the app that made them.
- Content credentials (C2PA) are a signed record of how a picture was made and edited. Cameras and apps that support the standard add it.
- The embedded preview is a small second copy of the picture, stored so that a file browser can show it fast.
- Comments are free text that an app or a person added.
The tool reads these and sorts what it finds into five groups: location, date, camera, software, and other data. A group with nothing in it is left out, so a short list means a file that holds little.
What the tool removes, and the two things it keeps
Remove all metadata takes out the blocks in the list above that it finds: EXIF with the GPS part and the maker data, IPTC, XMP, content credentials, comments, the embedded preview, and data that sits after the end of the picture. A second picture behind the first, such as an HDR gain map, stays, so that the photo looks the same. After the removal, the page shows a report with two lists, Removed and Kept, so you can see what happened to your file and not only what the tool does in general.
Two things stay, because the picture needs them to look the same.
- Orientation
- A camera sensor has one fixed shape. When you hold the phone upright, the camera stores the picture sideways and writes one number that says "turn this by 90 degrees". Without that number, your upright photo lies on its side. The tool keeps that one number.
- Color profile
- The color profile says what the color numbers in the file mean. Many phone cameras record a wider range of colors than the web standard. Without the profile, a screen has to guess, and reds and greens turn dull. The profile describes colors. It says nothing about where or when the photo was taken.
The picture stays byte for byte
The tool works on the file itself. It cuts the metadata blocks out and leaves the compressed picture data as it was, byte for byte. So the clean copy has the same pixels, the same sharpness, and the same size in pixels as your original. The file gets a little smaller, or keeps its size where the metadata is overwritten in place.
Special cases
- A second picture in the file. Some phones store a second picture after the first one, such as the gain map that makes an HDR photo bright on an HDR screen. The tool keeps it, so the photo looks the same, and clears the metadata around it.
- Metadata that cannot be read. A damaged or unknown block is removed whole. The tool takes it out without reading it, and the report says so.
- A file with nothing to remove comes back unchanged, and the page says that there was nothing to remove.
- A damaged file, or one that is cut short, gives a message and no download.
JPEG, HEIC, PNG, and WebP
The four formats store metadata in different places. The tool reads each format itself and treats each one in its own way.
- JPEG
- The format of most cameras and of most photos on the web. Metadata sits in segments before the picture. The tool removes those segments. In a JPEG with a second picture, each metadata segment keeps its length and is filled with zeros, so that every part of the file stays where the file says it is.
- HEIC
- The High Efficiency format of the iPhone camera. Here the metadata is overwritten in place with zeros, so the clean file has the same size as the original and the same structure. The tool reads and cleans HEIC in every browser. The preview in the frame appears where the browser can show HEIC, as Safari does.
- PNG
- The format of screenshots. A PNG holds metadata in text chunks, a time chunk, and sometimes an EXIF chunk. The tool removes them and keeps the chunks that describe color.
- WebP
- A format that many websites use. EXIF and XMP sit in their own chunks, and the tool removes them. The color profile chunk stays.
The download keeps the format and the name of your file, with -no-metadata added to the name. IMG_1234.HEIC becomes IMG_1234-no-metadata.HEIC.
Photos from an iPhone
In Safari on an iPhone, Choose a photo lets you pick from the Photos library or from Files. Pick a photo, and the tool lists what is in the file that Safari hands to it. Read the list before you remove anything: it is the fastest way to see what a photo of yours would tell another person.
The iPhone has a control of its own for one part of the metadata. Apple describes it in its guide Manage location metadata in Photos: in the Photos app, select the photos, tap the Share button, tap Options, and turn off Location. That switch is about the location. The date, the camera model, and the rest of the metadata are a different matter, and this tool is for them.
Three cases where the tool is the shorter way:
- The photo is a file in Files, in Downloads, or in an email, and not in the Photos library.
- You want to take out the camera, the date, and the software too, and not only the place.
- You want to look at a file that someone sent you and see what it holds.
Safari saves the clean copy to the Downloads folder, which you find in the Files app. Share it from there. Your original in Photos stays as it is, with all its metadata, which is what you want for your own library: the date sorts it and the place puts it on your map.
The photo stays on your device, and you can check
The tool is a program that your browser downloads once and then runs on your own phone or computer. When you choose a photo, the browser hands the file to that program in memory. The clean copy is made in memory too, and Download saves it from the browser to your device. No part of this sends the photo anywhere.
You can verify that on a computer in two minutes:
- Open the developer tools of the browser and select the Network panel.
- Choose a photo and remove its metadata.
- Read the list of requests. You see the page's own files from milkglass.app, among them the tool's program, a file that ends in .wasm. Every one of them comes down to you.
- Look for a request that carries your photo up. A photo has several megabytes, so it would stand out. The list has none.
One more address appears in the list: ingest.postdeploy.dev. It counts page views, and it counts that the tool was used. That count names the tool and holds nothing about the file: no name, no size, no content. You can open the request and read what it sends.
The site also carries a content security policy, a rule that the browser enforces. It names milkglass.app and that one counting address, and the browser blocks a connection to every other origin. I wrote the tool this way because a tool that removes private data from a photo should do its work where the photo already is: on your device.
A clean copy is for sharing. For the photos you keep to yourself, I make Milkglass, an app that keeps them in Drawers on your iPhone. More about it is at the end of this page.
Photo metadata: questions and answers
What is photo metadata?
Photo metadata is the information that a camera or an app writes into a photo file next to the picture. It can hold the place where the photo was taken, the date and the time, the make and the model of the camera, and the app that edited the file. You do not see it in the picture, and every person who gets the file can read it.
What is EXIF data?
EXIF is the block of metadata that a camera writes into a photo. It holds the date, the camera and the lens, the exposure settings, the orientation, and, when the camera may use the location, the GPS position. EXIF is one of several kinds of metadata in a photo file. IPTC and XMP are two others, and this tool reads and removes those too.
How do I remove metadata from a photo?
Choose the photo in the tool at the top of this page, read the list of what the file holds, and select Remove all metadata. Then download the clean copy. The tool runs in your browser, so the photo stays on your device.
Does removing metadata reduce the quality of a photo?
No. The tool leaves the compressed picture data byte for byte as it was and removes only the blocks around it. The clean copy has the same pixels and the same size in pixels as your original.
Why does the tool keep the orientation and the color profile?
The picture needs both to look the same. The orientation is one number that tells a screen which way up to show the photo. The color profile tells a screen what the color numbers in the file mean. Neither one says where or when the photo was taken.
How do I see the metadata of a photo on my iPhone?
Open the photo in the Photos app and swipe up, or tap the Info button. Photos shows the date, the device, camera details such as the lens, the file size, and the place on a map. For the complete list, with XMP, IPTC, and content credentials, choose the photo in the tool on this page.
Does a screenshot have metadata?
A screenshot has less metadata than a camera photo, because no camera and no GPS reading are part of it. It can still hold a date and text that the system or an app wrote into the file. Choose the screenshot in the tool on this page to see what the tool finds in your file. Remember that the picture of a screenshot can show a name, an address, or a map all by itself.
Can I remove metadata from a HEIC photo?
Yes. The tool reads and cleans HEIC, the High Efficiency format of the iPhone camera, in every browser. It overwrites the metadata with zeros in place, so the clean file keeps its size and its picture data. The preview in the frame shows where the browser can display HEIC, as Safari does.
Do messaging apps and social networks remove metadata for me?
Some do, some do not, and the answer can change with the way you send the photo. A photo that travels as a file or as a document arrives as the file it was, with all its metadata. Apple says about photos shared from an iPhone that the people you share them with may be able to access the location metadata and learn where a photo was taken. A copy that you cleaned yourself is clean in every app.
What are content credentials (C2PA)?
Content credentials are a signed record inside a file that says how a picture was made and edited. The C2PA standard defines them, and cameras and apps that support the standard add them. The tool lists them when a file holds them, and Remove all metadata takes them out with the rest.
What is the small preview picture inside a photo file?
Many cameras store a small second copy of the picture inside the metadata, so that a file browser can show it fast. It is a picture of its own, apart from the main one. The tool lists it as Embedded preview picture and removes it with the rest of the metadata.
Is my photo uploaded when I use this tool?
No. Your browser opens the photo and runs the tool on your own device, and the download is saved from the browser. You can check this in the Network panel of the browser's developer tools: no request carries the photo.
Is the tool free?
Yes. The tool is free, and you can use it as often as you want. It takes one photo at a time.
Guides
Three short guides about photo metadata, each for one question.
What are content credentials (C2PA) in a photo?
Content credentials are a signed record in a photo file of how the picture was made and edited. What they hold, how to find them, and how to remove them.
Read the guideHow to remove metadata from a photo on an iPhone
Two ways to remove metadata from a photo on an iPhone: the Location switch in the share sheet for the place, and a Safari tool for the rest.
Read the guideWhat is EXIF data in a photo?
EXIF data is what a camera writes into a photo file: the date, the camera, the settings, and often the place. What it holds and how to remove it.
Read the guide
And for the photos you keep to yourself
I'm Paul, and I make Milkglass. It keeps private photos, videos, and files in Drawers on your iPhone. Draw a pattern, and the Drawer of that pattern opens.
See how Milkglass works Milkglass is coming to the App Store for iPhone and iPad, and the date is still open.