Image Compressor
Reduce the file size of JPEG, PNG, WebP and AVIF images. Pick a quality level, optionally resize, and process up to 50 files at once. Everything runs in your browser.
How it works
Add an image, or up to 50 at once in bulk mode, and the compressor re-encodes each one with the codec you choose. The codecs come from Google's Squoosh project and run in your browser, so your photos are not uploaded to a server. When processing finishes you can compare the original and the compressed result side by side and download each file, or all of them in one ZIP.
The main control is the Quality slider. Higher values keep more detail and produce larger files. Lower values shrink the file further and start to show artifacts. For photos, a setting somewhere around 75 to 85 percent often cuts the size noticeably with little visible change, but it depends on the image, so check the comparison before you download.
- Output format can be JPEG (MozJPEG), WebP, AVIF, PNG, QOI (lossless) or WebP2. In bulk mode, files keep their own format unless you pick another.
- Max Width and Max Height scale large images down while keeping the aspect ratio. Leave them at 0 for no resizing.
- Advanced options change by codec: progressive and optimize coding for JPEG, lossless mode, near lossless, alpha quality, speed and effort for WebP and AVIF, and PNG-specific settings.
When this is useful
Page weight is the usual reason. Oversized hero images and product photos slow down a site, and smaller files help pages load faster on mobile connections. Compression also helps when an email, form or CMS rejects an attachment for being too large, or when you want to free up storage without opening an editor.
Converting to WebP or AVIF is a common way to get smaller files than JPEG at similar visual quality. Check that the places you plan to use the file support the format, since older software may not open AVIF or WebP2.
What to know
Lossy compression discards information that cannot be recovered, so keep your original files. Compressing an already compressed JPEG again can add more artifacts, and sometimes the result is barely smaller. If a file does not shrink, try a different format or a lower quality value.
Processing happens on your own device, so very large images and big batches take longer and use more memory, especially with AVIF, which is slow to encode. If the browser struggles, work in smaller batches.
Frequently asked questions
Are my images uploaded anywhere?
No. Compression runs in your browser, and the files stay on your device.
How many images can I compress at once?
Up to 50 in bulk mode. You can then download them as a single ZIP.
Which format gives the smallest file?
For photos, AVIF and WebP are usually smaller than JPEG at similar quality. Results vary by image, so compare before choosing.
Can I make an image smaller in pixels too?
Yes. Set Max Width or Max Height and the image is scaled down proportionally before compression.
Compression uses codecs from Squoosh, by Google Chrome Labs.