Image compressor:How much smaller can your images get?
Convert up to 50 JPEG, PNG or WebP images at a time to WebP, AVIF or smaller JPEG, scaled to the size your site shows, without uploading them.
Processed in your browser. Your files are never uploaded. JPEG, PNG, WebP, AVIF, GIF (first frame) · settings apply to images you add next
- Free, no account
- Runs in your browser
- Up to 50 images at a time
What this tool checks
The codecs Google's Squoosh uses, running on your computer. Your images never leave your browser.
WebP, AVIF or JPEG
Convert JPEG, PNG or WebP images to WebP, AVIF or a smaller JPEG, at the quality you choose.
Scaled to the size you show
Images larger than the longest side you pick are scaled down before they are encoded.
Squoosh's codecs
Encoded with the WebAssembly builds of libwebp, libavif and MozJPEG, the codecs Google’s Squoosh uses.
Before and after
A table shows the size of every image before and after. Download them one by one or as a zip.
Never worse than the original
When the new file would be larger than the original, the tool says so and keeps the original.
Orientation and transparency kept
Photos keep their orientation. Transparent PNGs keep transparency in WebP and AVIF and get a white background in JPEG.
Show 2 more checks
Never worse than the original
When the new file would be larger than the original, the tool says so and keeps the original.
Orientation and transparency kept
Photos keep their orientation. Transparent PNGs keep transparency in WebP and AVIF and get a white background in JPEG.
How it works
Choose the settings
Pick a format, a quality and the longest side your site shows.
Drop your images
Each image is decoded by your browser, scaled down if needed and encoded in a Web Worker, up to 50 at a time.
Download the results
Compare the sizes in the table and download the files one by one or as a zip.
AVIF encoding takes several seconds per photo, so a large batch in AVIF takes a while. WebP is the faster choice.
Questions
Is this really free?
Yes. getReport is funded by donations, not plans. This tool runs entirely in your browser, so there is no limit and nothing to pay for.
Are my images uploaded?
No. Decoding and encoding happen in a Web Worker in your browser. The page downloads the codecs once; your files never leave your computer.
WebP or AVIF?
WebP works in every current browser and encodes quickly; it is the safe default. AVIF is usually noticeably smaller at the same quality and is supported by current Chrome, Edge, Firefox and Safari, but encoding takes several seconds per photo. For a hero image, AVIF is worth the wait.
Why compress before you upload?
The largest element on most slow pages is a photo uploaded straight from a phone or a stock site: 3,000 pixels wide and 2 MB, shown at 1,200. Scaling it to the size you need and saving it as WebP typically removes most of the bytes with no visible difference, which is the fastest way to improve Largest Contentful Paint. Online compressors either cap the free tier or upload your files to their servers. The same codecs run in your browser, so there is no reason for either.
What quality should I use?
Around 75 for photos in WebP or JPEG, 60–65 for AVIF. Look at the result at 100 % zoom on a detailed area (hair, text, foliage); go up five points if you see smearing.
Related free tools
All 41 tools →Free, funded by the people who use it
€0 of €75 this month. At €75, site crawl up to 500 pages + weekly re-check switches on for everyone.