compresso
Open the app

Compress an image to under 2 MB

Compresso binary-searches quality to fit your size target. Set maxSizeMB: 2 and it finds the highest quality that stays under 2 MB — locally in your browser.

How it works

  1. Open Compresso.
  2. Load your image.
  3. Set max size to 2 MB and download.

Common questions

Works for passport or visa forms?
Yes. Processing is local — ideal for sensitive documents.

For developers

Embed compression in your upload flow:

npm install compresso.js
npm · Docs

Related