Squoosh
Free, open-source image compressor from Google that runs entirely in your browser, with a live before-and-after preview.
Overview
Squoosh is a free image compressor and converter from Google Chrome Labs. You open one image and pick an output format, MozJPEG, WebP, AVIF, OxiPNG, JPEG XL and QOI among them. Then you adjust the settings until the file is as small as you can accept. A slider splits the screen between the original and the compressed version, and the file size updates live as you change settings. You can resize in the same pass.
It is free and open source. There is nothing to pay for and no limit on use. You do not need an account. The compression runs on your own machine in the browser, and the project states your images are never sent anywhere. The main limit is scale: it handles one image at a time, with no batch mode.
Key features
When to use
Use Squoosh if:
- You are putting an image on a web page and want it as small as possible without visible damage. The side-by-side preview shows you exactly what you are giving up.
- You cannot upload the image anywhere. The work happens on your own machine, so confidential or client images never leave it.
- You want to test whether a modern format is worth it. You can export the same photo as WebP, AVIF or JPEG XL and compare the resulting sizes directly.
- You want to shrink and resize in one step, rather than resizing somewhere else first.
- You want to understand what each setting does. The codec controls are exposed rather than hidden behind a single compress button.
When NOT to use
Skip Squoosh if any of these describe you:
- You have a folder of images to get through. Squoosh does one image at a time and has no batch mode. Optimizilla also works on your own machine and does take a batch, so you keep the privacy. TinyPNG and iLoveIMG are quicker still, but they upload.
- You want the decisions made for you. Squoosh asks you to pick a codec and set the quality yourself. If you only want a smaller file with no choices to make, a simpler image compressor is less work.
- You need compressing inside a script or a build step. The Squoosh command-line tool is no longer maintained, so automation is better built on something supported, such as CloudConvert.
- Your file has to open everywhere. Some formats Squoosh can produce, including JPEG XL and QOI, are not widely supported by browsers and other software.
- You need to edit the photo rather than shrink it. Squoosh compresses, converts and resizes, and does nothing else. A general photo editor covers the rest.
Frequently asked questions
Yes. You do not need an account and there is nothing to pay for. Results are not watermarked, and you can use it as much as you like. It is an open-source project from Google Chrome Labs. It can stay free because there is no server bill to pay. The compression runs on your own computer, so the project is only hosting a web page, not processing your images.
No. The project states that Squoosh does not send your image to a server and that all compression happens locally in your browser. This is the main reason people choose it over an online compressor for client work or anything confidential. The project states that it collects usage analytics, including image size figures. The images themselves stay on your machine, the measurements about them do not.
No. Squoosh handles one image at a time and has no batch mode. There was a Squoosh command-line tool that could apply the same settings to many images, but it is no longer maintained. If you want batch without giving up local processing, Optimizilla compresses in your browser too and does take a set at once. Bulk compressors like TinyPNG and iLoveIMG are faster again, at the cost of uploading your files.
Yes. You can install it from your browser so it opens in its own window like a normal app. The codecs run on your own machine rather than on a server. Squoosh keeps working once the page has been loaded and the files are cached, even with no connection. That makes it usable on a plane, which is unusual for a web tool.
It depends on where the file has to open. WebP is supported by all current major browsers and is the safe modern choice for images going on a public web page. AVIF is also supported by current versions of the major browsers and often produces smaller files. MozJPEG produces ordinary JPEG files that open anywhere at all. JPEG XL and QOI are the experimental options: they are interesting to compare against, but they are not widely supported, so other people may not be able to open them.
Partly. Google Chrome Labs deprecated the Squoosh command-line tool and the libsquoosh library, and both are gone. The web app is the maintained part, and its public repository is open source and still receiving code.
No. Squoosh is a web app at squoosh.app from Google Chrome Labs, and there is no official app in either store. To use it on a phone, open squoosh.app in the phone's browser and install it from there, which gives it its own icon and its own window.
Alternatives to Squoosh
ImageResizer.com
Browser tool that resizes, crops, compresses and converts images with no account, free up to 5 images a batch and 10 MB a file.
Bulk Resize Photos
Resizes a whole batch of images inside your browser without uploading them. You do not need an account, there is no limit, and it can resize to hit a target file size.