WebP is an image format made by Google for the web. It has two ways to store a picture: lossy, which leaves out detail the eye notices least, as a JPEG does, and lossless, which keeps every pixel, as a PNG does. Both can keep a transparent background, and a WebP can also be animated.
Chrome, Edge, Firefox and Safari all show WebP images, and many websites serve their photos in it because it is small for its quality. That is often how a WebP ends up on your computer: you saved an image from a web page.
Drop the image on this page or press Choose images. It is compressed at once at quality 75, the default of the WebP encoder itself, and the list shows its old size, its new size and how much smaller it got. Press its thumbnail to compare it with the original, then press Download.
For a smaller file, choose 60 or 40 under Quality, or 75% or 50% under Size. Every change compresses the whole list again, so what you see is what you download.
Quality runs from 0 to 100; the page offers 90, 75, 60 and 40. At 75 our three photos became 21% to 62% smaller, and at 40 they became 51% to 75% smaller. At 90 a photo keeps fine detail, but one that was saved at a lower quality before gets larger, not smaller.
To check, press a thumbnail and choose Actual pixels: the original and the compressed image are shown pixel for pixel, side by side, and scroll together. Faces, skin and fine text show the change first. Screenshots and graphics take a low quality well: our app screenshot kept readable text at 40.
At 75% an image keeps a little over half of its pixels, and at 50% a quarter, which saves more than any quality: at 50% size and quality 75 our six test images became 71% to 86% smaller. Each new pixel is the average of the pixels it replaces, so edges stay smooth.
A website rarely shows an image wider than its column. A photo 3,000 pixels wide in a column 1,000 pixels wide carries more pixels than even a high-resolution screen shows there, so making it smaller in pixels costs nothing on the page.
Compressing does not undo earlier compression. A WebP saved at quality 82 and compressed again at 90 is encoded with more bits than it had, for detail that is no longer there: our 182 KB web photo came out at 217 KB. The page then says Not smaller and offers the original for download.
A lower quality or a smaller size gets such a file smaller. A lossless WebP, such as a screenshot, has more room: this page writes lossy WebP, which drops detail a lossless file keeps, and our lossless screenshot and logo got smaller at every quality.
A transparent background stays transparent: the transparency is kept without loss, only the colors are compressed. The color profile of the original goes into the new file, so the colors look the same; camera data (EXIF) and XMP metadata are left out.
The compressor takes still images. An animated WebP would come back as its first frame alone, so the page leaves it as it is and says so in the list.
This page keeps your images as WebP. To turn a WebP into a JPG or a PNG, open it in an app that saves those formats. On a Mac, open it in Preview, choose File > Export and pick JPEG or PNG. On Windows, open it in Paint, choose File > Save as and pick JPEG or PNG.
A JPG suits photos and is what older apps and websites expect. A PNG keeps every pixel and transparency, so it is larger; the PNG compressor on this site makes it smaller again.
An image rarely travels alone: it goes into a page, a post, an email or a message that explains it. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the text can be said rather than typed. It is free to start.
Measured with this compressor on six WebP files: a photo as a website serves it, saved at quality 82; two photos saved at quality 95 and 90; an app screenshot and a logo saved without loss; and a phone screen on a transparent background. Sizes as the compressor shows them, 1 KB being 1,024 bytes.
|
| Web photo, 1,536 × 1,024 | 182 KB | 217 KB (larger) | 144 KB (−21%) | 122 KB (−33%) | 89 KB (−51%) | 51 KB (−72%) |
|---|
| Product photo, 1,200 × 675 | 87 KB | 62 KB (−28%) | 33 KB (−62%) | 29 KB (−67%) | 23 KB (−73%) | 13 KB (−86%) |
|---|
| Portrait photo, 1,118 × 624 | 45 KB | 43 KB (−6%) | 18 KB (−60%) | 15 KB (−67%) | 12 KB (−75%) | 7 KB (−84%) |
|---|
| App screenshot, lossless, 3,294 × 1,986 | 412 KB | 287 KB (−30%) | 183 KB (−56%) | 165 KB (−60%) | 140 KB (−66%) | 73 KB (−82%) |
|---|
| Phone screen, transparent, 1,318 × 2,717 | 177 KB | 184 KB (larger) | 117 KB (−34%) | 104 KB (−41%) | 90 KB (−49%) | 50 KB (−71%) |
|---|
| Logo, transparent, lossless, 512 × 512 | 30 KB | 26 KB (−13%) | 20 KB (−33%) | 19 KB (−36%) | 17 KB (−42%) | 9 KB (−71%) |
|---|
Where a setting made a file larger, the page offers the original instead. The same encoder runs in every browser, so the same setting gives the same file in Chrome, Edge, Firefox and Safari.