PNG Metadata Remover: Strip tEXt, iTXt, zTXt & eXIf Chunks
Most EXIF cleaners only work on JPEGs. Inspect and strip hidden PNG textual chunks, Adobe XMP packets, and creation timestamps while keeping lossless PNG transparency.
Drop PNG files to inspect & strip ancillary chunks
Parses binary tEXt, iTXt, zTXt, eXIf & caBX chunks Β· Exports clean lossless PNGs
2. Why This Matters (Executive Summary)
PNG files do not store metadata the same way JPEGs do. Instead of a single EXIF header, PNGs embed arbitrary ancillary chunksβsuch as tEXt (uncompressed Latin-1 text), iTXt (UTF-8 international text and XML/XMP packets), zTXt (zlib-compressed metadata), eXIf, and tIMEβalongside the pixel stream. PrivaLens parses the binary PNG chunk table in your browser and outputs a sanitized, lossless PNG containing only the essential image header and pixel data.
3. What Hidden Metadata Is Exposed in This Scenario?
Below are the exact binary chunks, EXIF IFD tags, and cryptographic provenance containers that PrivaLens inspects and strips for PNG Chunk (tEXt/iTXt) Scrubber workflows:
| Metadata Field / Tag | Container Layer | Risk | What It Leaks & Sample Payload |
|---|---|---|---|
tEXt (Uncompressed Key-Value) | PNG Ancillary Chunk | Critical | Plaintext strings including Author, Software, Comment, Copyright, Stable Diffusion parameters, and ComfyUI JSON graphs. Software: Adobe ImageReady | Author: corp_workstation_04 | parameters: ... |
iTXt (UTF-8 & Adobe XMP Packet) | PNG Ancillary Chunk | Critical | Full XML:com.adobe.xmp packets containing Photoshop edit history, layer names, Midjourney descriptions, and Document GUIDs. Keyword: XML:com.adobe.xmp -> <xmpMM:DocumentID>adobe:docid:photoshop:91a8...</xmpMM:DocumentID> |
zTXt (Deflate-Compressed Text) | PNG Ancillary Chunk | High | Zlib-compressed metadata blocks used by ImageMagick, Inkscape, and AI generators to store large serialized configs. Keyword: Raw profile type exif (2,480 bytes compressed) |
eXIf & tIME Chunks | PNG Ancillary Chunk | High | Raw EXIF TIFF payload embedded inside modern PNGs plus the exact last-modification UTC timestamp (tIME). tIME: 2026-10-17T15:08:44Z | eXIf: Apple iOS Screenshot Profile |
4. Critical vs. Ancillary PNG Chunks: How Lossless PNG Stripping Works
In the official W3C PNG specification, every chunk has a 4-letter ASCII type code where the capitalization of the first letter defines whether the chunk is "Critical" (uppercase) or "Ancillary" (lowercase). Only three chunks are required to render a standard RGB/RGBA PNG: `IHDR` (dimensions and bit depth), `IDAT` (compressed pixel data), and `IEND` (end marker).
Everything else starting with a lowercase letterβ`tEXt`, `iTXt`, `zTXt`, `eXIf`, `caBX` (C2PA), and `tIME`βis ancillary metadata. Design tools like Photoshop, Figma, Inkscape, and AI generators pack kilobytes of hidden XML history, author names, and prompts into these lowercase chunks.
PrivaLens reads the 4-byte length and 4-byte type header of every chunk in your PNG file to reveal hidden `tEXt`, `iTXt`, `zTXt`, and `caBX` payloads. When you download the cleaned file, the browser decodes the raw RGBA pixel array (preserving full alpha transparency) and writes a clean PNG stripped of all ancillary text and provenance chunks.
Chunk | Category | Purpose | PrivaLens Action
------+-----------+----------------------------------------------+-----------------
IHDR | Critical | Image width, height, color type, bit depth | KEPT (Fresh)
tEXt | Ancillary | Plaintext Author, Software, SD/Comfy Prompts | STRIPPED 100%
iTXt | Ancillary | UTF-8 text, Midjourney Prompt, Adobe XMP XML | STRIPPED 100%
zTXt | Ancillary | Zlib-compressed metadata profiles | STRIPPED 100%
eXIf | Ancillary | Camera / Screenshot EXIF & GPS payload | STRIPPED 100%
caBX | Ancillary | C2PA / JUMBF Content Credentials manifest | STRIPPED 100%
IDAT | Critical | Lossless Deflate RGBA pixel stream | KEPT (Re-encoded)
IEND | Critical | End-of-file trailer | KEPT 5. Why Standard OS Properties & Platform Strippers Fail
JPEG-Only EXIF Scrubbers Crash or Report False "Clean" on PNGs
Many online EXIF removers only parse JPEG `0xFFE1` markers. When given a PNG containing 50 KB of Adobe XMP `iTXt` history or AI prompts, they fail to read the PNG chunk table and falsely tell you the file has no metadata.
Converting PNG to JPEG Ruins UI Screenshots and Transparent Logos
Tools that strip metadata by converting everything to `.jpg` destroy alpha-channel transparency (turning transparent backgrounds black or white) and introduce ugly ringing artifacts around crisp text and icons.
Command-Line Tools Like exiftool Require Local Terminal Setup
Running `exiftool -all= image.png` or `pngcrush -rem alla` works well but requires installing Perl/CLI binaries. PrivaLens gives you the exact same chunk-free result in any browser tab.
6. How to PNG Metadata Remover: Strip tEXt, iTXt, zTXt & eXIf Chunks (4-Step Local Protocol)
Drop Your PNG Files
Drag up to 10 PNG files (screenshots, transparent logos, Photoshop exports, or AI renders) into PrivaLens.
Inspect Binary PNG Chunks
View the Detected Metadata panel to see extracted `PNG tEXt [...]`, `PNG iTXt [...]`, XMP tags, and C2PA `caBX` chunks.
Export Lossless Clean PNGs
Click Download. PrivaLens automatically detects `image/png` and exports a lossless `clean_filename.png` with full alpha transparency preserved.
Verify Chunk Removal
Drop the exported PNG back into PrivaLens to confirm all ancillary text and XMP chunks are gone.
7. Frequently Asked Questions
Does PrivaLens preserve transparent backgrounds in PNG files?
Yes. HTML5 Canvas 2D contexts initialize as transparent RGBA buffers (`rgba(0,0,0,0)`). When PrivaLens redraws your PNG and exports it as `image/png`, 100% of your alpha channel transparency and pixel sharpness are preserved.
What is the difference between PNG tEXt, iTXt, and zTXt chunks?
`tEXt` stores uncompressed Latin-1 key-value strings (used by Stable Diffusion and ComfyUI). `iTXt` stores uncompressed or compressed UTF-8 international text and Adobe XMP XML packets (used by Photoshop and Midjourney). `zTXt` stores deflate-compressed text strings.
Do macOS and Windows screenshots contain hidden PNG metadata?
Yes. macOS screenshots embed display ICC profiles, DPI pixel dimensions (`pHYs`), and EXIF/XMP creation timestamps showing your exact local time and monitor configuration.
Will stripping ancillary chunks also make my PNG file size smaller?
Often yes. Adobe Photoshop XMP packets and ComfyUI workflow JSON chunks can add 15 KB to 200 KB of invisible text bloat to a PNG file. Removing them slims down the file without touching image quality.