WebP converter and compressor that runs in your browser
Convert PNG, JPG or AVIF images to WebP, or shrink WebP files you already have. Drop in as many images as you like, set the quality and download the results one by one or as a ZIP. Your files never leave your device.
Leave the size empty to keep the original. The ratio is kept and images are never enlarged. Camera data, location and colour profiles are removed.
| Preview | File | Format | Size in px | Original | New | Saving | Status | Actions |
|---|---|---|---|---|---|---|---|---|
How to convert and compress images to WebP
WebP is a modern image format that makes pictures on web pages smaller, in most cases without a visible loss. This tool re-encodes your images in your browser, so you can prepare a whole folder in a minute.
- Add your images Drop files onto the box, paste an image from the clipboard or click to choose files. PNG, JPG, WebP and AVIF are accepted, up to 200 files at a time.
- Check the output format and quality WebP is already selected on this page. A quality of 80 is a good start for photos. Lower it for a smaller file, raise it if you see artefacts.
- Pick lossy or lossless Lossy gives the smallest files and suits photos. Lossless keeps every pixel and suits screenshots, logos and graphics with sharp edges.
- Resize if the image is bigger than needed Enter a maximum width or height in pixels. The ratio is kept and small images are never enlarged. A 4000 px photo shown at 1200 px is the most common waste.
- Check the table and download Each row shows the old and new size and the saving. Open the before and after view for any image, then download the files one by one or all as a ZIP.
Tips for smaller WebP files
- Resize first. Reducing the pixel size often saves more than any quality setting.
- For photos start at a quality of 75 to 85. Above 90 the file grows quickly with little visible gain.
- Use lossless for logos, icons and screenshots, and lossy for photos.
- Compare one or two images in the before and after view before you convert a whole folder.
- Keep your originals. A lossy file cannot be turned back into the original.
Common mistakes
- Converting a file that is already small A small, well optimised JPG can come out larger as WebP. The table shows a negative saving when that happens. Keep the original in that case.
- Compressing the same file again and again Every lossy pass loses detail. Always start from the original file, not from one you already compressed.
- Using lossy WebP for sharp graphics Text and thin lines can look soft or show halos. Switch to lossless for those images.
- Forgetting the fallback Every current browser reads WebP, but some email programs and older tools do not. Keep a JPG or PNG for those uses.
Open it pre-filled with a link
Every field accepts a query parameter with the same name, so a link, a script or an AI agent can fill the tool in and run it. Open an example: /tools/webp-converter-compressor/?format=webp&quality=80&maxw=1600
| Parameter | Values | What it does |
|---|---|---|
format | webp · avif · png · jpg (default: webp) | Output format: webp, avif, png or jpg. |
quality | number (default: 80) | Quality from 1 to 100 for lossy output, and for the number of colours in PNG colour reduction. Higher is better and larger. |
mode | lossy · lossless · colors (default: lossy) | lossy or lossless for WebP and AVIF; lossless or colors for PNG (colors reduces the number of colours). JPG is always lossy. |
maxw | number | Maximum width in pixels. Empty keeps the original. Images are never enlarged. |
maxh | number | Maximum height in pixels. Empty keeps the original. Images are never enlarged. |
What this WebP tool includes
A complete batch workflow on one page. It uses open image codecs compiled to WebAssembly and runs on your own device.
- Batch conversion Process up to 200 images in one go, two at a time, with a status for every file.
- Lossy and lossless WebP A quality slider for photos and an exact lossless mode for graphics.
- Several input formats PNG, JPG, WebP and AVIF in. WebP, AVIF, PNG or JPG out.
- Resize while converting A maximum width and height, with the ratio kept and no enlarging.
- Results table Original and new format, size in pixels, size in bytes and saving in percent. A negative saving is shown as it is.
- Before and after Drag a divider over the image to compare the original with the new file.
- ZIP download All results in one file, with file names that never clash.
- Private by design Images are decoded and encoded in your browser by code served from this site. Nothing is uploaded.
WebP at a glance
| Lossy WebP | Lossless WebP | |
|---|---|---|
| Best for | Photos and complex images | Logos, icons and screenshots |
| Transparency | Yes | Yes |
| Typical size | Often a quarter to a third smaller than JPG | Often around a quarter smaller than PNG |
| Quality setting | 1 to 100 | Not used |
Who uses a WebP converter
Anyone who puts pictures on the web gains from lighter files.
Website owners and developers
Make pages load faster and clear the image warnings in speed tests by serving WebP.
Online shops
Hundreds of product photos shrink in one pass, and category pages open faster on phones.
Bloggers and content teams
Prepare article images before you upload them, so the media library stays light.
Designers
Turn exported PNG files into compact ones for the handover to developers.
Marketers
Make landing pages, banners and email images lighter without opening an editor.
Smaller images are one of the simplest ways to speed up a site. If your pages still feel slow, we can look at the whole picture; the related service is linked on this page.
Frequently asked questions
Are my images uploaded to a server?
No. The conversion runs in your browser with WebAssembly code that is served from this site. Your files are not sent anywhere and nothing is stored.
Is WebP supported in every browser?
All current versions of Chrome, Edge, Firefox and Safari display WebP. Some older software, email clients and print workflows do not, so keep the original for those uses.
What quality should I choose?
For photos, 75 to 85 is a good range. The before and after view helps you decide. For graphics with sharp edges, use lossless.
Why is my WebP file larger than the original?
Files that are already well compressed, such as small optimised JPG files, may not shrink. The table then shows a negative saving. Lower the quality, resize the image or keep the original.
Does it keep transparency?
Yes. Transparency in PNG, WebP and AVIF files is kept when you convert to WebP, AVIF or PNG. JPG has no transparency, so transparent areas become white.
Is metadata removed?
Yes. Camera details, GPS location and embedded colour profiles are removed. That protects privacy and saves a few kilobytes. Images in wide colour spaces may look slightly different.
Are animated images supported?
Only the first frame is converted. Animated GIF and animated WebP files lose their animation.
Is there a size limit?
Up to 200 files at a time, 50 MB per file and 40 megapixels per image, so that your browser does not run out of memory.
Can I open the tool with settings already filled in?
Yes. Add the options to the address, for example ?format=webp&quality=75&maxw=1600. The list is in the first tab. Files cannot be passed in a link, so you still add them yourself.
Have a project in mind? Let us talk it through.
Tell us what you want to build or improve. We reply with a clear next step.