Squoosh

26.1k GitHub starsGoogleChromeLabs/squoosh

Google's free image compressor that works in your browser. Make images much smaller as WEBP, AVIF or JPG, and compare before and after side by side.

View on GitHub

Build a stack with Squoosh

Pick parts from it and the projects that work well with it. We check the licences together and write a prompt for your AI.

Squoosh
rembg
Filee

Your stack

Tick the parts you want to use. Projects whose parts are not listed yet can be added whole; the prompt tells your AI to find the right pieces in their code.

Website (opens in a new tab)
More actions

Why we picked it

Squoosh is the easiest way to make images small enough for a fast website without them looking worse. Drop an image in, pick a format like WEBP or AVIF, and drag a slider to compare the original with the compressed version while you adjust the quality. It's made by the Chrome team at Google, it's Apache 2.0 licensed, and the compression happens in your browser, so your images are never uploaded. Its compressors are also available for developers as jSquash, so you can build them into your own apps.

About Squoosh

Squoosh is a free image compression app from the Chrome team at Google. It makes images smaller, often by more than half, so websites and shops load faster, while keeping them looking the same. It runs in your web browser at squoosh.app, and the compression happens on your own computer: your images aren't sent to a server.

What it can do

  • Compare before and after. A slider splits the image in two, the original on one side and the compressed version on the other, so you can see exactly what changes as you adjust the quality.
  • Modern formats. Save as WEBP and AVIF, the light formats websites load fastest, as well as JPG (MozJPEG), PNG (OxiPNG) and JPEG XL.
  • Resize as you go. Shrink images to the size you need, which often saves more space than compression alone.
  • Reduce colours. Cut down the number of colours in images like logos and illustrations to make them even smaller.
  • Works offline. Install it as an app from your browser and it keeps working without internet.
  • Private by design. The compression runs in your browser, so the image itself never leaves your computer.

Where you'll meet it

Squoosh's compressors are some of the best available, and they're reused well beyond the app. jSquash packages them for developers, so web apps can compress images in the browser too. That's how you can build your own image tools with an AI coding assistant, such as a background remover that saves web-ready images without uploading them.

Squoosh, TinyPNG or Photoshop?

All three make images smaller. They differ in privacy, control and cost.

SquooshThis page

Best forFine control over one image at a time

Compare quality side by side and pick from the best modern formats, all in your browser with no upload. One image at a time.

How you use it
In your web browser, or installed as an app
Open source
Yes (Apache 2.0)
Cost
Free
TinyPNG

Best forQuick batches with no settings

Drop up to 20 images and get smaller files back, with no settings to think about. Images are uploaded to its servers, and bigger files and batches need a paid plan.

How you use it
A website, plugins and an API
Open source
No
Cost
Free with limits; paid plans
Photoshop

Best forExporting while you design

Export As saves smaller JPG, PNG and WEBP files as part of your design work, but with less control over modern formats like AVIF. Needs a subscription.

How you use it
A desktop app
Open source
No
Cost
Monthly subscription

A quick way to choose: a quick batch with no settings? TinyPNG. Already exporting from your design file? Photoshop's Export As is fine. Want the smallest file at the quality you choose, without uploading anything? Use Squoosh.

How to get it

  • Easiest: open squoosh.app in your browser and drop in an image.
  • As an app: in Chrome or Edge, use "Install app" from the address bar, and it works offline.
  • For your own app: use jSquash, which packages Squoosh's compressors for web pages. Ask your AI coding assistant to "compress images to WEBP in the browser with jSquash".
  • Run your own copy: clone the project from GitHub and follow the steps in its README.

Good to know

  • It works on one image at a time. For many photos at once, use jSquash in your own tool, or a batch app.
  • The squoosh.app website uses Google Analytics to count visits and image sizes before and after. Your images themselves aren't sent anywhere.
  • AVIF gives the smallest files but takes longer to save, especially for big images. WEBP is much quicker and works everywhere.
  • The old command-line version, Squoosh CLI, is no longer maintained, so use the web app or jSquash.
  • Licence: Apache 2.0. Free to use, change and include in products you sell, as long as you keep the licence notice.

What you can build with it

  • Making photos smaller for a faster website or online shop
  • Converting images to WEBP or AVIF
  • Comparing quality settings side by side before exporting
  • Resizing images before you upload them anywhere
  • Building image compression into your own app

Works well with

  • rembg

    25.2k GitHub stars

    The most popular free background remover on GitHub. Cut people and products out of photos on your own computer, one image or a whole folder.

    • Photo & media
    • Command line tools
    • MIT License
  • Filee

    12.2k GitHub stars

    A free file converter you use by dragging: drop files on a format at your cursor. 244+ formats, works offline, no Office or uploads needed.

    • Photo & media
    • File sync & storage
    • MIT License

Comments

No comments yet. Be the first to share your thoughts.