.WEBP

WEBP File

WebP image
Ask a question
QUICK ANSWER

A WebP file is a raster image format made by Google that stores photos and graphics at smaller file sizes than JPEG or PNG. Any web browser opens it instantly - drag the file onto a tab. On Windows 11 the Photos app handles it natively; on macOS, Preview does. The most common task is converting it to JPG or PNG so older apps and upload forms accept it; free tools like IrfanView, GIMP, and Squoosh do this in seconds.

Developer: Google Category: Raster Image Files Open standard MIME: image/webp
OPENS ON Windows macOS Linux Web
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Aug 20, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the WEBP file format?

.webp files were designed by Google to enable storing pictures in both lossy and lossless compression formats within a single open standard. The lossy .webp mode uses predictive coding to estimate the color values of adjacent pixels, then encodes the variance between the real values and the estimated values. Many of those differences are zero or near-zero, which leads to significant reductions in file size - typically 25-34% smaller than a comparable JPEG at equivalent visual quality.

The format is built on a RIFF container that identifies three internal variants: VP8 for lossy frames, VP8L for lossless compression, and VP8X for extended features such as transparency (alpha channel) and animation. The animation capability makes .webp a modern alternative to the GIF format, supporting full 24-bit color per frame rather than GIF's 256-color palette.

.webp images are natively supported by all modern web browsers including Google Chrome, Firefox, Edge and Safari (since version 14). Applications such as GIMP, IrfanView, XnView MP and ImageMagick (with libwebp) can open and convert .webp files on the desktop. Google also provides command-line encoders cwebp and dwebp as part of the open-source libwebp library.

Security & safety

RISK: LOW

A WebP is passive image data, not executable code, so opening one is normally safe. One notable exception: in 2023 a critical heap-overflow vulnerability in libwebp (CVE-2023-4863) let a maliciously crafted WebP run code in browsers and apps that bundled the library - Chrome, Firefox, Edge and many others shipped emergency patches. The practical advice is just to keep your browser and image apps updated; a fully patched system opens WebP safely. Beware "free webp to jpg" sites that bundle adware - prefer client-side tools (Squoosh) or reputable apps (IrfanView, GIMP).

Format details

in a nutshell
FULL NAMEWebP image
DEVELOPERGooglesince 2010 (lossy); lossless + alpha added 2011; animation 2012
MIME TYPEimage/webp
TYPERIFF-container raster image (lossy VP8, lossless VP8L, optional alpha and animation)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
52494646
ASCII
RIFF
WebP uses a RIFF container: bytes 0-3 are "RIFF" (52 49 46 46), bytes 4-7 are the file size, and bytes 8-11 are "WEBP" (57 45 42 50). A following chunk FourCC identifies the variant: "VP8 " (lossy), "VP8L" (lossless) or "VP8X" (extended: alpha/animation/metadata).

Programs that open WEBP files

Windows5 apps
GIMP Open-source Open the WebP to edit, then File > Export As to save JPG/PNG (GIMP also writes WebP).
IrfanView Free Fast free viewer; opens WebP and batch-converts whole folders to JPG/PNG (File > Batch Conversion).
Photos app (Windows 11) Built-in Double-click the .webp - the built-in Photos app opens WebP (static and animated) on current Windows 11. Install 'Web Media Extensions' from the Store if it doesn't.
Any web browser (Edge/Chrome/Firefox) Built-in Drag the .webp file onto an open browser tab (or Ctrl+O) to view it instantly, including animation.
XnView MP Free Free viewer/converter; open or batch-export WebP to JPG/PNG/TIFF.
macOS2 apps
GIMP Open-source Open to edit and export to JPG/PNG; also writes WebP.
Preview / Photos Built-in Double-click the .webp - macOS Preview and Photos open WebP natively (since macOS Big Sur, 2020).
Linux3 apps
GIMP Open-source Opens and exports WebP natively; edit then File > Export As JPG/PNG.
ImageMagick (with libwebp) Open-source Command line: 'convert in.webp out.png' (or .jpg); great for batch jobs and scripts.
Google Chrome / Firefox Free Open the .webp in a browser tab to view it, including animation.
Web1 app
Squoosh Free Google's in-browser image tool; drop a WebP in and export JPG/PNG/AVIF - runs client-side, nothing uploaded.

Technical details

deep spec
Container formatRIFF (Resource Interchange File Format)
Compression modesLossy (VP8), lossless (VP8L), extended/animated (VP8X)
Lossy algorithmVP8 intra-frame coding derived from the VP8 video codec
Lossless algorithmVP8L - LZ77 backward references, Huffman coding and 2D color transforms
Color depth24-bit RGB (lossy/lossless); 32-bit RGBA when alpha is present
Alpha channel8-bit alpha plane, encoded separately as either lossy or lossless
Animation supportYes - VP8X with ANIM/ANMF chunks; supports full-color animated sequences
Metadata supportExif, XMP and ICC color profiles stored in VP8X extended chunks
Magic bytes"RIFF" (52 49 46 46) at offset 0; "WEBP" (57 45 42 50) at offset 8
MIME typeimage/webp
Maximum dimensions16,383 × 16,383 pixels per frame
Color space (lossy)YCbCr 4:2:0 (chroma subsampled), converted from/to sRGB
File size vs. JPEGLossy WebP is typically 25-34% smaller at equivalent visual quality
File size vs. PNGLossless WebP is typically 26% smaller than PNG for the same image
Reference encoder/decoder`cwebp` / `dwebp` command-line tools from the open-source `libwebp` library
Released2010 (lossy); lossless + alpha added 2011; animation 2012
Open standardYes · royalty-free
Specificationdevelopers.google.com

WEBP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with WEBP files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about WEBP files.

Frequently asked questions

How do I open a WebP file?
Drag it into any web browser tab (Chrome, Edge, Firefox, Safari) to view it instantly. On Windows 11 the Photos app opens WebP; on macOS, Preview does. To edit, use free GIMP, IrfanView or XnView.
How do I convert WebP to JPG?
Use Google's free Squoosh (squoosh.app) in your browser, or free IrfanView/XnView/GIMP on the desktop - open the WebP and export/save as JPG. IrfanView and XnView also batch-convert whole folders.
Why did an image download as .webp instead of .jpg?
The website serves WebP to save bandwidth, so 'Save image as' gives you the original WebP. To get a JPG/PNG, either choose a different format in the save dialog if offered, or convert the WebP afterwards with a free tool.
Can Windows open WebP files?
Yes - current Windows 11 opens WebP in the Photos app and shows thumbnails in File Explorer (the codec is built in / available as 'Web Media Extensions' in the Store). On older Windows, open it in a browser or install IrfanView/XnView.
Is WebP better than JPG or PNG?
For the web, usually yes - WebP files are typically 25-35% smaller than JPEG and ~26% smaller than PNG at similar quality, and it supports both transparency and animation. The trade-off is that some older apps and upload forms still don't accept it.
How do I convert an animated WebP to a GIF?
Use ffmpeg, ImageMagick or an online animated-WebP-to-GIF converter. The GIF will usually be larger and have fewer colours, but it plays in apps that don't support WebP.
Does converting WebP to JPG lose quality?
A little - JPEG is lossy, so re-encoding adds some compression loss, and JPEG can't keep transparency (it becomes a solid background). For graphics with transparency convert to PNG instead.

References

1MDN - WebP image formatdeveloper.mozilla.org
2Google - WebP: A new image format for the Webdevelopers.google.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.PARTPartial Download File
8.JSONJavaScript Object Notation file
9.ICSiCalendar data file
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z