RaveToolsImage Compressor

Image Compressor

MozJPEG, WebP, AVIF and OxiPNG, compiled to WebAssembly and run on your own machine. Quality slider or a hard kB budget. Nothing is uploaded.

Common compression tasks

Jump straight to a preset for your format or goal - each opens the same compressor tuned for that job.

About

The Image Compressor is a browser-native clone of Squoosh: drop an image, see it with a before/after compare slider, tune the format and quality, watch the new file size live, and download. Under the hood it runs the exact same WebAssembly codecs Squoosh uses - MozJPEG, WebP, AVIF and OxiPNG - so you get real, competitive compression, not a quick canvas re-encode.

Two ways to control weight. Quality mode gives you a quality slider with a live before/after preview. Target size mode lets you name a kB budget - say max 200 kB- and the tool binary-searches the quality per image until it fits, telling you honestly when a file can't reach the budget instead of faking it. Drop a whole folder or a ZIP- each image keeps its own settings, and “Apply current settings” copies them onto the ones you select - resize to a maximum dimension, and export each file or the entire batch as a ZIP.

100% in your browser: decoding, resizing, encoding and ZIP packaging all run locally on WebAssembly - no upload, no account needed, nothing stored on a server. If you only need a different format rather than the smallest weight, reach for the image converter instead.

Frequently Asked Questions

No. Every step - decoding, resizing, compression and ZIP packaging - runs entirely inside your browser using WebAssembly codecs. Your images never leave your device and nothing is sent to a server, so it works offline and is safe for private or sensitive photos.

You can drop PNG, JPG, WebP, AVIF, GIF or BMP images. You can export to WebP, AVIF, MozJPEG (JPEG) or PNG (optimised with OxiPNG). WebP and AVIF usually give the smallest files at good quality; JPEG is the most universally supported; PNG stays lossless.

Instead of picking a quality level, you set a kB budget (for example "max 200 kB") and the tool automatically searches for the highest quality that still fits under that size, separately for each image. It only aims at the weight - it never judges whether the result looks good, so you stay in control by watching the before/after preview.

The tool encodes at the lowest sensible quality and then tells you the truth - for example "couldn't hit 50 kB - got 78 kB" - instead of pretending it succeeded or wrecking the image. It never downscales the resolution on its own; if you want a smaller file you can lower the resolution yourself with the resize option.

Yes. Drop multiple files, a whole folder, or a ZIP archive. Each image keeps its own settings - a new one inherits whatever you last used - so you tune the one you are previewing without touching the rest. To put the current settings on several images at once, select them and use "Apply current settings". Then download them individually or grab the whole batch as a single ZIP.

A converter changes the container format (PNG to JPG, HEIC to JPG) with a simple quality slider. This compressor fights for the smallest possible weight using the same WebAssembly codecs as Squoosh - MozJPEG, WebP, AVIF and OxiPNG - plus a before/after slider and target-size search. If you only need a different format, an image converter is the lighter tool.

JPEG has no alpha channel, so transparent areas have to be filled. When you export a transparent image to JPEG, the tool flattens it onto a background colour - white by default, but you can pick any colour with the "Background when flattened" swatch - and tells you it did so. To keep transparency instead, export to WebP, AVIF or PNG and leave "Preserve transparency" on.