File types / Images

.webp file

WebP image

Extensions
.webp
MIME type
image/webp
Signature
52 49 46 46 .. .. .. .. 57 45 42 50  (RIFF....WEBP)at byte offset 0
Safety
Low risk

What is a .webp file?

WebP is an image format from Google that handles both lossy and lossless compression, transparency and animation, usually at smaller sizes than JPEG or PNG.

It is stored in a RIFF container, so the file starts with RIFF, then a 4-byte length, then WEBP at offset 8. Checking only the first four bytes is not enough: WAV and AVI files also begin with RIFF.

Used for: Web images, where smaller downloads matter.

How can I tell if a file is really a WebP?

Read its first bytes rather than trusting the name. A genuine WebP file has the signature 52 49 46 46 .. .. .. .. 57 45 42 50 (RIFF....WEBP) at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .webp file safe to open?

WebP is an image format. Decoder bugs have occasionally been serious, so keep your browser and viewer up to date.

Easy to confuse

A file that begins with RIFF is not necessarily WebP. Look at bytes 8 to 11 to tell WebP, WAV and AVI apart.