Metadata and pixels live apart
Every common image format separates the picture from the notes about it. A JPEG is a series of marker segments: metadata in APP1, APP11 and APP13, the compressed image after the SOS marker. A PNG is a list of chunks, with pixels in IDAT and text in tEXt, zTXt or iTXt. WebP uses RIFF chunks, and HEIC and AVIF use ISOBMFF boxes. Because the two are stored separately, metadata can be removed without decoding the image at all.
The usual shortcuts, and what they cost
- Screenshot — removes all metadata, but captures at screen resolution, may crop or scale, can shift colors and may catch notifications or other content on screen.
- Re-save or export as JPEG — decodes and re-compresses the image; each generation adds artifacts, and the ICC profile may be dropped so colors shift.
- Online converters — re-encode the image and usually upload it to a server first.
- Format conversion, for example HEIC to JPEG — changes compression and often loses wide-gamut color or transparency.
How to remove metadata without losing quality
A lossless cleaner walks the file structure and copies every block that describes the picture, skipping only the blocks that carry metadata. For JPEG that means dropping APP1 EXIF and XMP, APP11 C2PA, APP13 IPTC and comments, while copying the quantization tables, Huffman tables and scan data untouched. For PNG, whole text and metadata chunks are removed, so the CRC of every remaining chunk stays valid. For HEIC and AVIF, metadata items are removed and internal offsets are rewritten so the image data still points to the right place.
AI Label Remover works this way in your browser, whether you use the EXIF data remover or the PNG metadata remover. The output contains exactly the same compressed image data as the input.
Three things a good cleaner keeps
- Orientation — many phone photos are stored sideways with an EXIF tag telling viewers to rotate them. Drop it and portraits display rotated. AI Label Remover writes the tag back into a minimal EXIF block.
- Color profile — the ICC profile tells apps how to interpret colors, especially for Display P3 phone photos. Without it, images can look dull or oversaturated.
- Animation and transparency — APNG, animated WebP and GIF frames, plus alpha channels, must survive intact.
How to check it really was lossless
You do not have to take a tool’s word for it:
- Compare dimensions — width and height should be identical.
- Compare file size — the clean file should be smaller only by roughly the size of the removed metadata, never dramatically smaller.
- Compare pixels — open both in an editor as layers with the Difference blend mode; a lossless result is pure black.
- Re-read the file — AI Label Remover reads every washed file again and shows which fields remain.
Where the size savings come from
Removing metadata can still make files noticeably smaller. Embedded thumbnails and MPF preview images in camera JPEGs, long XMP edit histories and large ComfyUI workflows in PNGs can add tens or hundreds of kilobytes. Removing them shrinks the file with no change to what you see.
About lossless metadata removal
Does removing metadata reduce image quality?
Not when it is done at the byte level. Only re-encoding — screenshots, re-saving, converting — reduces quality.
Why is my file smaller after washing?
Because metadata blocks, thumbnails and preview images were removed. The image data itself is unchanged.
Will the colors look different after washing?
No. AI Label Remover keeps the ICC color profile, so colors are displayed exactly as before.
Is a screenshot a safe way to remove metadata?
It removes metadata but lowers quality and may capture other things on screen. Lossless removal keeps the original image intact.