Browser-based image tool · JPEG, PNG → same file without metadata

Remove Photo Metadata

See the camera, date and GPS details a photo carries, then cut those blocks out of the file. The compressed pixels are copied byte for byte, so the picture is not re-saved and loses no quality. The file is read in this browser tab and never uploaded.

Input

One JPEG or PNG at a time, up to 25.00 MB. The type is checked from the file's first bytes.

Drop a photo here or click to choose

.jpg, .jpeg, .png

Cleaned file

The cleaned file is read again with the same checks.

Add a JPEG or PNG to see what it reveals.

Remove Photo Metadata

Operator: Abdulla Al Fahad. How tools are built and checked

A photo taken on a phone with location services on usually records where it was taken inside the file itself. Post that file to a forum, attach it to a classified ad or send it as a document rather than as a compressed chat image, and anyone who opens it in a metadata viewer can read the coordinates, the phone model and the second the shutter fired.

Remove Photo Metadata shows you that information first, in plain terms, and then cuts the blocks that hold it out of the file. It does not redraw the picture. JPEG segments and PNG chunks are separate, labelled pieces of the file, so the metadata pieces can be dropped and the compressed image data copied across unchanged, which means no quality is lost and the pixels are exactly the same as before.

Key features

  • JPEG readout of every APP1 Exif, APP1 XMP, APP13 IPTC, COM and APP2 ICC segment with its size.
  • Exif summary: camera make and model, date and time, software, orientation, and whether a GPS block exists.
  • GPS latitude and longitude in degrees, minutes, seconds and hemisphere, plus decimal degrees, when the values decode.
  • PNG readout of tEXt, zTXt and iTXt chunks with their keywords, plus eXIf and tIME chunks.
  • Byte-level removal that copies the scan data (JPEG) or IDAT chunks (PNG) unchanged and keeps the ICC colour profile.
  • A second readout of the cleaned file, and for JPEGs a check that it still starts with FF D8 and ends with FF D9.
  • Optional minimal orientation tag for photos that would otherwise display sideways.

A JPEG is a sequence of segments, each starting with the byte FF and a marker byte. Metadata lives in application segments near the start: APP1 holds Exif (camera settings, dates, GPS, often a small preview thumbnail) or an XMP packet (editing history, ratings, captions, sometimes location again), APP13 holds Photoshop's IPTC block (captions, credits, keywords), and COM holds a free-text comment. APP2 usually holds the ICC colour profile. After them come the tables and the scan data that make up the picture, ending with the marker FF D9.

A PNG is a signature followed by chunks, each with a four-letter type. tEXt, zTXt and iTXt store keyword and text pairs such as Software, Author, Comment or an XMP packet; eXIf stores an Exif block like a JPEG's; tIME stores the last modification time. The image itself is in the IDAT chunks, and colour information in chunks such as iCCP, sRGB and gAMA.

The tool identifies a file by its opening bytes, FF D8 FF for JPEG and the eight-byte PNG signature, not by its name. HEIC, WEBP, GIF and other formats are refused with a message saying what the file appears to be.

How it works

For a JPEG, the tool walks the file from the FF D8 start marker, reading each segment's two-byte length to jump to the next one. Application segments are labelled by their opening signature: Exif\0\0 for Exif, an Adobe namespace URL for XMP, Photoshop 3.0 for IPTC, ICC_PROFILE for a colour profile and MPF for a multi-picture index. When it reaches a start-of-scan marker it skips the compressed data by looking for the next FF byte that is not a stuffed FF 00 or a restart marker, and carries on until FF D9.

The Exif segment contains a small TIFF structure. The tool reads its byte order (II for little-endian, MM for big-endian), follows the first directory to the Make, Model, DateTime and Orientation entries, follows the Exif pointer for DateTimeOriginal, and follows the GPS pointer to the latitude, longitude and their N/S and E/W references. Each coordinate is stored as three fractions, degrees, minutes and seconds, which are added up and reformatted for display.

To strip, the tool copies the file into a new byte array and leaves out every APP1, APP13 and COM segment, the MPF index and anything after FF D9. The APP0 JFIF header, the APP2 colour profile, the quantisation and Huffman tables, the frame header and the scan data are copied in their original order, byte for byte. For a PNG it copies the signature and every chunk except tEXt, zTXt, iTXt, eXIf and tIME, keeping each chunk's stored checksum, and stops after IEND. A PNG with none of those chunks and nothing after IEND therefore comes out identical to the input.

Common use cases

  • Someone selling a sofa online took the photos in their living room and wants to post them without revealing their home address.
  • A journalist receives a picture from a source and needs to publish it without the source's phone model and capture time pointing back at them.
  • A parent checks a school-play photo before sending it to a group of other parents, and finds a GPS block with the school's coordinates.
  • A designer exports PNG mock-ups and wants to remove the software name and XMP history the export tool wrote into text chunks before sending them to a client.
  • A researcher sharing sample images in a public dataset needs every file free of personal camera serial numbers and dates.

How to use this tool

  1. Drop a JPEG or PNG onto the box, or press Enter on it to choose one.
  2. Read the Found in the original panel: segments or chunks, their sizes, camera details and any GPS position.
  3. If the photo depends on its orientation tag, choose whether to keep a minimal one.
  4. Click Remove metadata.
  5. Read the Found in the cleaned file panel and the structure check.
  6. Click Download to save the cleaned copy.

Example

IMG_2041.jpg, 2,936,012 bytes, from a phone with location on

APP0 JFIF            18 B     kept
APP1 Exif        11,468 B     Make Pixel, Model 8a, 2026:06:14 18:42:07
                              GPS present (9 tags): 51° 30' 26.46" N, 0° 7' 39.60" W
APP1 XMP          3,174 B
APP2 ICC profile    548 B     kept
APP2 MPF index       90 B
Data after end of image  419,840 B

IMG_2041-no-metadata.jpg after stripping

2,501,440 bytes (434,572 bytes removed)
Found in the cleaned file: no Exif, XMP, IPTC or comment segments
Kept: APP0 JFIF (18 B), APP2 ICC profile (548 B)
Structure check: starts with FF D8, ends with FF D9
Scan data: identical to the original, byte for byte

Tips for best results

  • Read the readout before stripping. If it says a GPS block is present but the coordinates could not be decoded, the block still goes; the message only means the values were stored in an unusual form.
  • Check the size column. An Exif segment of a few hundred bytes is usually just camera settings; one of tens of kilobytes usually carries an embedded thumbnail as well.
  • After stripping, the second readout should list nothing under removable items. That second read is done on the cleaned bytes themselves, so it is the check that matters.
  • Keep the downloaded file's name generic if the original name contains a date or place; the tool adds -no-metadata to the existing name and does not rename it for you.
  • For a sideways phone photo, decide about the orientation option before you click Remove metadata, since changing it clears the result.

Common pitfalls

Removing Exif also removes the orientation tag. Phones often store portrait photos sideways and rely on that tag to display them upright, so the cleaned copy can appear rotated. The tool warns about this and offers to write a new Exif block holding only the orientation value, which contains no camera, date or location data.

The Exif thumbnail is a separate small copy of the picture. Some editors crop the main image but leave the old thumbnail untouched, so a cropped-out face or street sign can survive inside the metadata. Stripping removes the thumbnail with the rest of the Exif segment.

Data stored after the end-of-image marker is removed. Some phones append extra images there, such as a depth map, a gain map for HDR displays or a motion clip, listed in an MPF index. The cleaned file keeps the main photo but loses those extras, so portrait-mode refocusing or HDR brightness on supporting screens will no longer work.

Only the segment types listed above are removed. Rare maker-specific application segments (for example APP12) are left in place and listed under Kept, so you can see they are there.

Metadata is only part of what a photo reveals. A house number, a view from a window, a reflection or a car plate in the picture itself is untouched.

Common errors and how to fix them

"... is a WEBP image. Only JPEG and PNG files can be cleaned here"
The file's opening bytes are not JPEG or PNG, even if it is named .jpg. Convert it to JPEG or PNG first; note that converting re-encodes the picture, which drops most metadata on its own.
"This JPEG has no end-of-image marker, so it looks truncated"
The download or copy that produced the file was cut short, so its last bytes are missing. Get a complete copy of the original; most viewers show a truncated JPEG with a grey band at the bottom.
"The JPEG structure is damaged: a segment runs past the end of the file"
A segment length points beyond the end of the data, which means the file is corrupt rather than just carrying metadata. Open and re-save it in an image editor, then run the copy through the tool.
The cleaned photo shows up sideways
The original relied on its Exif orientation tag. Load it again, tick Write a new Exif block holding only the orientation tag, and strip it again.
"... is 31.40 MB; the limit is 25.00 MB"
Files over 25 MB are refused to keep memory use reasonable. Very large JPEGs are usually high-resolution camera files; resize or export a smaller copy first if you only need to share it.

Best practices

  • Turn off location tagging in the camera app for photos you expect to share publicly, so there is nothing to strip in the first place.
  • Strip the copy you are going to share, not your only copy; the date and place are useful in your own photo library.
  • Look at the readout of the cleaned file every time rather than assuming. It is the same reader that found the metadata in the original.
  • Check the picture itself for identifying details once the hidden data is gone.

Why the colour profile is kept

The ICC profile in APP2 or the iCCP chunk tells a viewer how the stored numbers map to real colours. Photos from recent phones are often in a wider colour space than standard sRGB; without the profile, viewers assume sRGB and the same numbers come out duller. A profile describes the colour space, not the person or the place, so keeping it costs no privacy and keeps the picture looking as it did.

Profiles do carry a short description string, for example Display P3, and occasionally a creation date. That reveals the colour space a device uses, which is shared by many devices.

What is removed and what stays

The list below is the exact rule the tool applies. Everything not in the removed list is copied through unchanged.

  • JPEG removed: every APP1 segment (Exif and XMP, including extended XMP), APP13 (IPTC), COM comments, the APP2 MPF index, and all bytes after FF D9.
  • JPEG kept: APP0 JFIF, APP2 ICC profile, APP14 Adobe colour information, other APP segments, tables, frame header and scan data.
  • PNG removed: tEXt, zTXt, iTXt, eXIf and tIME chunks, and any bytes after IEND.
  • PNG kept: IHDR, PLTE, tRNS, IDAT, iCCP, sRGB, gAMA, cHRM, pHYs and any other chunk.

Frequently asked questions

Does removing metadata lower the image quality?

No. The picture is not decoded or saved again. The compressed image data is copied byte for byte, so the cleaned file shows exactly the same pixels as the original and is only smaller by the size of the removed blocks.

How can I tell whether a photo has GPS data?

Drop it onto the tool and look at the GPS block line in the readout. It says Present with the number of GPS tags, and shows the latitude and longitude when they can be decoded. If the photo has no Exif at all, the readout says no Exif segment was found.

How can I check that my photo was not sent anywhere?

Open your browser's developer tools on the Network tab, then drop the photo and click Remove metadata. No request carrying the photo appears, because the bytes are read from the file, cut and joined into the cleaned copy inside the tab, and the download is built from that copy on your device.

Why is the cleaned file so much smaller than the original?

The original had a large block after its end-of-image marker, usually an extra image a phone appends for depth, HDR or motion effects. Those bytes are removed with the metadata. The main photo is unchanged.

Does it work on HEIC photos from an iPhone?

No. Only JPEG and PNG are supported. On an iPhone, choosing Most Compatible under Settings, Camera, Formats makes the camera save JPEGs, which this tool can then read and clean.