Skip to main content

What is WebP?

WebP is an image format introduced by Google that provides superior lossy and lossless compression for images on the web. WebP lossy files are about 25-35% smaller than comparable JPEGs, while lossless WebP is about 26% smaller than PNG. It supports transparency and animation, making it a versatile choice for modern websites.

WebP was announced by Google in 2010 based on technology from the VP8 video codec. It supports both lossy compression (like JPEG) and lossless compression (like PNG), plus alpha transparency and animation, so a single WebP file can replace JPEG, PNG, and GIF in most use cases.

Today all major browsers support WebP, including Chrome, Firefox, Edge, and Safari (since iOS 14). Using WebP on a website can significantly reduce page weight and improve Core Web Vitals such as LCP.

To create or optimize WebP images, you can compress existing PNG or JPG files into WebP with an online image compressor.

Related tool

Try our free online Image Compressor — runs in your browser, no upload needed.

Open Image Compressor

Related terms

Frequently asked questions

Is WebP better than PNG?

For the web, yes. Lossless WebP is about 26% smaller than PNG with identical quality. However, PNG is more widely supported in editing software and older systems.

Does WebP support animation?

Yes. WebP supports both animated and static images, making it an alternative to GIF with much smaller file sizes and better color depth.

Is WebP lossless?

WebP supports both lossy and lossless modes. You choose the mode when exporting, depending on whether you prioritize file size or pixel-perfect quality.