What Is WebP?
WebP is a modern image format developed by Google that provides superior lossy and lossless compression for images on the web.
WebP explained
WebP is an image format introduced by Google in 2010, based on the VP8 video codec. It supports both lossy compression (like JPG) and lossless compression (like PNG), as well as transparency and animation — making it a versatile replacement for multiple legacy formats. WebP typically produces files 25-35% smaller than equivalent JPGs and up to 26% smaller than PNGs, with no perceptible loss in quality. Browser support is now near-universal, covering Chrome, Firefox, Safari, and Edge, which makes WebP the go-to format for web performance optimization.
Key points
Real-world examples
Related terms
AVIF is a next-generation image format based on the AV1 video codec, offering the best compression efficiency available today while being royalty-free.
Lossy compression reduces file size by permanently discarding data deemed less perceptible, trading some quality for significantly smaller files.
Lossless compression reduces file size without discarding any data, allowing the original file to be perfectly reconstructed from the compressed version.
Image transparency allows parts of an image to be fully or partially see-through using an alpha channel, essential for overlays and compositing.