Compress WebP Files Online

Shrink WebP files with our free online WebP compressor. Modern image format with superior compression. Perfect for web performance and modern browsers. Lossy and lossless compression available.

Superior Compression
Supports Transparency
Modern Format
Batch Processing
Also compress: PNG • JPEG • AVIF • All Formats

Upload WebP Files

Drag and drop your WebP images below. Supports up to 5 files at once.

Drop Your Images Here
Supports PNG, JPEG, WebP, AVIF • Up to 5 files at once
or

Why Use Our WebP Compressor?

Superior Compression

WebP usually produces smaller files than JPEG or PNG at similar visual quality, which means faster loading and lower bandwidth costs. The saving varies by image.

Supports Transparency

Unlike JPEG, WebP supports alpha channel transparency like PNG. Get the best of both worlds: small file sizes and transparency support.

Modern Browser Support

WebP is supported by current versions of Chrome, Firefox, Safari and Edge, so it suits most modern websites.

Lossy & Lossless

WebP supports both lossy compression (for photos) and lossless compression (for graphics). Choose the best mode for your use case with our compression settings.

When to Use WebP vs PNG vs JPEG

Use WebP for:
  • Modern web applications
  • Mobile-first designs
  • Fast-loading websites
  • Images with transparency
  • Responsive images
Use PNG for:
  • Legacy browser support
  • Exact color reproduction
  • Text and line art
  • Logos requiring perfect quality
Use JPEG for:
  • Universal compatibility
  • Photographs
  • Social media images
  • Email attachments

A Practical Guide to Compressing WebP Images

When WebP is the right choice, and when it is not

WebP is a good general-purpose format for websites. It handles photographs with lossy compression, graphics with lossless compression, and transparency in both. If you are replacing a mix of JPEG and PNG files on a site, WebP can cover both jobs with one format.

It is less useful outside the browser. Some email clients, older image editors, print services and upload forms still expect JPEG or PNG. For files that will be attached to messages or passed to other people, the JPEG compressor or PNG compressor is the safer option. If you want to push file sizes further on modern browsers, the AVIF compressor is worth a look. The guide on WebP vs PNG vs JPEG compares the formats side by side.

Lossless or lossy for WebP

Lossless WebP keeps every pixel exact. Use it for logos, icons, screenshots, charts and anything with sharp edges or flat color, and for files you may edit again. Lossless files are larger than lossy ones, and for photographs the gain over the original can be modest.

Lossy WebP gives much of the size reduction on photos. The quality value sets how much detail is discarded: lower values make smaller files but add visible artifacts such as blur, blocky areas and fuzzy edges around text. The result depends on the image, so judge it in the compare view rather than by the number alone. For background on how the encoder works, see how WebP compression works, and for when each mode fits, lossy vs lossless compression.

Suggested settings for common uses

Treat these as starting points and adjust after looking at the result.

Custom settings

Custom mode shows fields for quality, target size in KB, maximum width and maximum height. Maximum width and height are meant to cap the pixel dimensions of the output, and the target size is meant to steer the final file size. Leave a field empty to leave that setting alone.

Custom settings are not applied reliably at the moment. In our own checks, entering a target size, a quality value or a maximum width did not change the result the way these fields describe. Treat the fields as a request, and compare the original and compressed sizes in the results table before you use the file.

Why a WebP file may barely shrink

A WebP file that was already exported with sensible settings has little left to remove, and lossless mode may change the size only slightly. Compressing a lossy file with lossy settings again adds a second round of quality loss, so artifacts build up faster than the savings do.

When the saving is small, the options that still work are resizing the image in an editor first, or returning to the original source and compressing it once. Starting from the original is nearly always better than compressing a copy of a copy. The WebP optimization guide goes into more detail.

Serving WebP with a fallback

Current versions of Chrome, Firefox, Safari and Edge support WebP. If you still need to cover older browsers or other software, use a picture element with a JPEG or PNG fallback. The browser picks the first source it can read.

<picture>
  <source srcset="photo.webp" type="image/webp">
  <img src="photo.jpg" alt="Describe the image" width="800" height="600">
</picture>

Keep the width and height attributes on the img tag so the layout does not shift while the image loads. For a fallback that is a graphic with transparency, use a PNG instead of a JPEG.

Common problems and fixes

How to compress a WebP file here

  1. Drop up to 5 files onto the upload area, or choose them from your device. PNG, JPEG, WebP and AVIF are accepted.
  2. Pick Lossless, Lossy or Custom. Custom mode has extra fields, but they are not applied reliably yet, so check the result size.
  3. Start compression and wait for each row in the results table to finish.
  4. Compare the original and compressed sizes, then open the compare view to check the image by eye.
  5. Download files one at a time, or as a ZIP.

Files are uploaded to our servers over HTTPS and deleted automatically after processing. No registration is needed. The AVIF, JPEG and PNG tools work the same way.

Frequently asked questions

Does WebP support transparency?
Yes. WebP supports transparency in both lossless and lossy modes, which is one reason it can replace PNG for web graphics.
Is WebP supported by all browsers?
Current versions of Chrome, Firefox, Safari and Edge can display WebP. Very old browsers cannot, so keep a JPEG or PNG fallback if you support them.
Lossless or lossy WebP?
Lossless keeps every pixel and suits graphics. Lossy gives smaller files for photos. Compare the before and after view to pick.
Are my WebP files uploaded?
Yes. Files are uploaded to our servers over HTTPS, compressed, and deleted automatically afterwards.