WebP
A web image format offering smaller files, with lossy and lossless modes.
See it on the 3D treeGoing deeper
Developed by Google, it can stand in for JPEG, PNG or GIF: it supports photographic lossy images, exact lossless images, transparency and animation. Savings depend on the image and settings, so compare results by eye. Some older or non-web software handles it poorly.
Why it matters
Lighter images mean faster pages, often with no visible difference to the person looking.
In practice
You convert a landing page's large PNG illustrations with transparency to WebP and check the edges before shipping.
Common mistake
Sending WebP files for print or client use without checking that their software can open them.
Connected terms
- CompressionWebP offers both lossy and lossless compression.
- JPEGThe older photographic format WebP is often used to replace.
- PNGWebP can often store the same lossless image in a smaller file.
- Alpha ChannelWebP also supports transparency, often at smaller file sizes than PNG.
- Image OptimizationServing WebP is a common step in reducing image weight.
- Performance BudgetSmaller image files help a page stay within its weight limit.