WebP has quietly become the default image format of the modern web. It is smaller than JPEG at the same quality, it supports transparency like PNG, and every major browser and platform now produces it, from Chrome downloads to WhatsApp images to screenshots saved on Android. What many people do not realise is that WebP carries metadata too, in the same EXIF and XMP formats as JPEG, wrapped in a RIFF container. This guide explains the chunk anatomy of a WebP file, what data it can hold, and how to strip it without re-encoding the image.
WebP Anatomy: RIFF, VP8X and Chunks
WebP is built on RIFF, the same container format behind WAV audio and AVI video. A WebP file starts with the four letters RIFF, followed by the file size and the letters WEBP. What follows depends on the variant. A simple lossy WebP contains a single VP8 chunk with the compressed image. A lossless WebP contains a VP8L chunk. An extended WebP, which is the variant that carries metadata, starts with a VP8X chunk that acts as a flag field, announcing which optional chunks follow: an ICC profile, an alpha channel, animation frames, and, crucially, EXIF and XMP chunks.
The VP8X chunk is a ten-byte header whose flags declare the presence of each optional chunk. If the EXIF flag is set, an EXIF chunk follows somewhere in the file, holding a standard EXIF block identical in structure to the one in a JPEG. If the XMP flag is set, an XMP chunk follows, holding an XML packet with IPTC fields, keywords, edit history and possibly a reference to a C2PA manifest. The ICCP chunk holds the colour profile, and the ANMF chunks hold animation frames in an animated WebP.
A cleaner works by parsing this chunk list, dropping the EXIF and XMP chunks, clearing the corresponding flags in the VP8X header, and updating the RIFF size field to match the shorter file. The VP8, VP8L and alpha data are copied unchanged, so the image itself is untouched. The chunk order is preserved for everything that remains, which keeps the file valid in every viewer.
RIFF + WEBP — VP8X (flags) — ICCP (colour profile) — VP8 / VP8L (image data) — EXIF — XMP — ANMF (animation frames)What Metadata Lives in a WebP
The EXIF chunk in a WebP is a full EXIF block, and it can hold everything a JPEG EXIF block holds: camera make and model, lens, exposure settings, ISO, orientation, timestamps and GPS coordinates. That surprises people, because WebP feels like a web format rather than a camera format, but any tool that converts a JPEG to WebP can carry the EXIF block across, and phones that save directly to WebP can write it natively.
The XMP chunk is often the larger of the two. It can hold the title, description, keywords, copyright notice and creator fields from IPTC, plus the edit history written by tools such as Photoshop and Lightroom. If the source image was AI-generated, the XMP packet can also carry generator information and a reference to provenance data. An animated WebP adds another wrinkle: each animation frame is a separate chunk, and metadata can sit alongside the frame data rather than in a single obvious place.
The ICCP chunk deserves a mention because it is metadata of a sort, but it is metadata you usually want to keep. It describes the colour profile, and removing it can make colours look wrong in colour-managed browsers. A careful cleaner removes EXIF and XMP while leaving the ICC profile and the VP8X flags for alpha and animation intact.
Why Remove WebP Metadata
The first reason is that WebP is a conversion target. Most WebP files were not born as WebP: they were converted from JPEG or PNG by a browser, a messaging app, a content management system or a phone. Each conversion can carry metadata forward, so a WebP downloaded from a website or received in a chat can contain EXIF data from the original photo, including GPS coordinates and camera details that nobody involved intended to share.
The second reason is that WebP is now a sharing format. Screenshots on Android, images saved from Chrome, and photos shared through WhatsApp and Telegram increasingly arrive as WebP. People who would think twice before emailing a JPEG with location data attached often share a WebP without a second thought, because the format feels new and anonymous. It is not: the EXIF and XMP chunks are the same ones JPEG has carried for decades.
The third reason is file size and cleanliness for the web. Stripping EXIF and XMP from a WebP typically saves a few kilobytes, which matters when the same image is served to thousands of visitors, and it guarantees that no stray keyword or description leaks into a search index or a social media preview.
How to Remove WebP Metadata
The cleanest method is a client-side cleaner that edits the RIFF chunk list directly. The MetaRinse AI image cleaner runs entirely in your browser: drop in a WebP, and it parses the VP8X flags, removes the EXIF and XMP chunks, updates the header flags and the RIFF size, and returns the cleaned file. Nothing is uploaded, so the photo never leaves your device.
The steps take under a minute:
- Drop your WebP into the MetaRinse AI image cleaner.
- Read the report to see whether EXIF or XMP chunks were found and removed.
- Download the cleaned WebP and use that version for your site, store or social post.
Because the cleaner works at the chunk level, animated WebP files keep their animation: the ANMF frame chunks are preserved and only the metadata chunks are dropped. Lossless WebP files keep their exact pixel data for the same reason. If you need to clean a batch of WebP files exported from a design tool, clean them all in one session so that no single file slips through with its metadata intact.
For the equivalent guides to the formats WebP files are usually converted from, see our guides to removing metadata from JPEG files and removing metadata from PNG files. Cleaning the source file before converting it to WebP is the best habit of all, because a converter that receives a clean file cannot carry metadata forward.
Cleaning WebP Without Quality Loss
WebP cleaning is lossless when it is done at the chunk level, for the same reason JPEG cleaning is lossless: the compressed image data is copied byte for byte and only the metadata chunks are removed. There is no decode and re-encode step, so there is no generational quality loss, and the file usually gets slightly smaller because the removed chunks no longer take up space.
There is one caveat, and it concerns orientation. The EXIF block stores an orientation value that tells viewers how to rotate the image, and removing the EXIF chunk without applying that orientation can make a photo display sideways in software that does not handle orientation itself. Most modern browsers and viewers handle orientation correctly or ignore it for WebP, but if a cleaned WebP ever appears rotated, that is the cause. The fix is to rotate the image in an editor before cleaning, or to use a cleaner that applies the orientation to the pixels first.
Colour is the other detail to watch. A cleaner that removes the ICCP chunk along with the EXIF and XMP chunks can change how colours render in a colour-managed browser. A good cleaner keeps the ICC profile, because it describes the image rather than identifying the photographer, and keeping it costs nothing in privacy terms.
What WebP Cleaning Cannot Do
Removing WebP metadata cannot remove an invisible pixel watermark baked into the image data, such as Google SynthID, and it cannot change what an AI detector reads from the picture itself. If a WebP was converted from an AI-generated image, the pixels still carry the traces of that generation after cleaning, and a detector that analyses image content will reach the same conclusion as before. Metadata cleaning only removes the data stored alongside the pixels.
It also cannot remove a visible watermark or any text that is part of the image, and it cannot protect a file you already shared. Once the original WebP has been downloaded, the metadata in that copy is beyond your control. The protection works on the next share, which is why cleaning before the first upload matters most.
Finally, cleaning a WebP does not change the fact that the format itself is a fingerprint of sorts: a WebP file tells anyone who looks that it was probably produced by a browser, a messaging app or a modern phone. That is not private information in any meaningful sense, but it is a reminder that metadata cleaning is one layer of privacy hygiene, not a disguise. For the broader story of how provenance data travels with images, see our guide to C2PA Content Credentials.

