Home / Glossary / What is WebP?

Glossary

What is WebP?

WebP is an image format from Google that makes files about 25–35% smaller than JPEG at the same visible quality. It supports both lossy and lossless compression, plus transparency and animation, so one format can replace JPEG, PNG and GIF in many everyday cases.

What is WebP?

WebP is a modern image format developed by Google and first released in 2010. Its files use the .webp extension. Unlike older formats that do one job each, WebP covers several: lossy compression like JPEG for photos, lossless compression like PNG for graphics with sharp edges, an alpha channel for transparency, and animation frames like GIF. That range is why it has become the standard choice for images on the web, where smaller files mean faster pages.

How WebP works

WebP has two compression modes. In lossy mode it uses predictive coding, guessing each block of pixels from its neighbours and storing only the difference, which keeps photos small. In lossless mode it records the exact pixel data using prediction plus entropy coding, so the decoded image is a perfect copy of the original. Transparency is stored as a separate alpha channel, and animation works by storing several frames with timing, like a small flipbook inside one file. All major browsers decode WebP natively, so no extra software is needed to view it.

WebP vs JPEG and PNG

Against JPEG, WebP wins on size: the same photo at the same visible quality is about 25–35% smaller, which makes pages load faster and saves bandwidth. Against PNG, WebP wins on size too — lossless WebP is usually smaller than PNG — while keeping transparency and exact pixels. PNG still has an edge in one place: universal compatibility with very old software. JPEG keeps its place when a file must open anywhere, including old editors and printers that do not know WebP yet.

When to use WebP

Use WebP for website images, thumbnails, product photos and blog graphics, where smaller files mean faster loading. Use lossless WebP for logos and screenshots that need sharp edges and exact colours. Keep JPEG or PNG only when the destination is old software, a printer, or a platform that lists WebP as unsupported. For most sharing and publishing today, WebP is the practical default.

Make any image smaller, free. Compress JPG, PNG and WebP in your browser — files never leave your device.