BASE

Squoosh

Squoosh

Browser image compression · Free

Reduces image size with visual comparison of quality and formats. Processing happens on the device in the browser; it suits website media preparation.

Resource illustration: Squoosh

Open resource ↗

What you can use for free

Browser compression and export are free; application code is Apache 2.0.

Paid features and costs

The main operation requires no paid subscription.

Access and limitations

Browser compression and export are free; application code is Apache 2.0. The main operation requires no paid subscription.

Use cases

  • Compress card and hero images
  • Compare file size and artifacts before publication

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with Squoosh: Compress card and hero images.

Before you start

  • The source file and its size; the scene or page where it is used.
  • The acceptable loss of detail and requirements of the final format.

Steps

  1. For the task “Compress card and hero images”: retain the original and choose a small sample for comparison.
  2. Apply the available optimization settings; compare the resulting file size and appearance.
  3. Open the saved file in the actual project and retain settings that offer an acceptable balance of quality and size.

Check your result

  • Important details, color, transparency, and behavior are preserved where they are used.
  • Compare source and output file sizes; check loading and final result quality.

Choosing Squoosh

Compress card and hero images

Choose this when

  • Compress card and hero images
  • Compare file size and artifacts before publication

Requirements

  • Choose the image format/settings and compare the output image with the original.

Things to consider

  • Costs and limits of free use: The main operation requires no paid subscription.
  • Terms of use: Apache-2.0 for the application; input images and codecs have their own terms.
  • According to the official README, the image is not sent to a server, but the site collects analytics.
  • Check the saved format and appearance; do not present the old standalone CLI as a supported workflow.
  • Local image processing does not mean there are no network requests or analytics. Check the behavior of your deployed build separately.

Frequently asked questions

What can you use for free in Squoosh?

Browser compression and export are free; application code is Apache 2.0.

What additional costs might arise with Squoosh?

The main operation requires no paid subscription.

What terms of use matter for Squoosh?

Apache-2.0 for the application; input images and codecs have their own terms.

Which environment can you use Squoosh in?

Environment: Browser.

How do you get started with Squoosh?

For the task “Compress card and hero images”: retain the original and choose a small sample for comparison. Apply the available optimization settings; compare the resulting file size and appearance. Open the saved file in the actual project and retain settings that offer an acceptable balance of quality and size.

Does Squoosh send the images it compresses to a server?

The README states that the web app processes images locally without uploading the image itself to a server. It also describes Google Analytics: basic visitor data, before/after image sizes, and PWA installation information. For your own build, the repository describes npm install, build, and dev.

Platforms

  • Browser

License

Apache-2.0 for the application; input images and codecs have their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Usage details

According to the official README, the image is not sent to a server, but the website collects analytics. Check saved format and appearance; do not present the old separate CLI as a supported workflow.

Technologies and topics

  • Images
  • Compression
  • Browser
  • WebP
  • AVIF

Sources

Other resources