Compress WebP to an exact size
WebP is the modern web's workhorse: lossy like JPG but more efficient, with transparency like PNG. The compressor above outputs WebP, so you can watch it hit KB targets that would force a JPG into visibly lower quality.
Drop images here, or
JPG, PNG or WebP · add as many as you like · everything runs locally in your browser, nothing is uploaded
Add an image to begin.
Why WebP reaches the target more gracefully
WebP's lossy mode is based on the VP8 video codec's intra-frame coding: it predicts blocks of the image from their neighbours and stores only the differences, with a more flexible block structure than JPG's fixed 8×8 grid. In practice, at the same file size a WebP photo generally holds onto detail better than a JPG — Google's original WebP study reported files roughly 25–35% smaller than comparable JPEGs, and while your mileage varies by image, the direction is consistent. For a to-the-KB compressor that means: more of the search is spent at comfortable quality settings, less at the crunchy end.
WebP or JPG — which should you export?
- Websites and apps: WebP. Every current browser supports it, and the savings are real.
- Exam, visa and government forms: JPG. Many portals' upload validators still whitelist .jpg/.jpeg/.png by extension and will reject a .webp file no matter how perfect it is. Use the JPG compressor for those.
- Maximum compatibility (email, older software): JPG again.
- Graphics with transparency for the web: WebP — it replaces PNG at a fraction of the size, in lossy or lossless mode.
A quick self-test
Compress the same photo to 100 KB here, then on the 100 KB page as a JPG, and compare the two at full size. The difference is easiest to see in hair, foliage and gradients — the places JPG artifacts show first.