DEV Community

yangjiaqiang12
yangjiaqiang12

Posted on

I Built a Free Image Compressor That Never Uploads Your Files

The Problem

Every time you use an online image compressor, your files get uploaded to someone else computer. TinyPNG does it. Compressor.io does it. Even most so-called free tools collect your data.

Images can contain sensitive stuff -- screenshots, private photos, business documents, unreleased designs. Why should making them smaller require handing them to a stranger?

The Solution: Squash

Squash is a free, open-source image compressor that runs entirely in your browser.

  • ?? No uploads -- everything stays on your device
  • ? Instant compression -- no waiting for network round-trips
  • ?? Multi-format -- JPEG, PNG, WebP support
  • ?? Batch up to 50 images (PRO) or 5 (free)
  • ??? Quality slider -- full control from 1% to 100%
  • ?? Dark mode -- works great at night

Free vs PRO

Feature Free PRO ($5)
Images per batch 5 50
Quality control ? ?
Format conversion ? ?
EXIF stripping ? ?
Priority support ? ?

?? Unlock PRO for $5 -- one-time purchase, lifetime access.

How It Works

Squash uses the browser Canvas API to decode images, apply compression settings, and re-encode them at your chosen quality level. All processing happens on your device.

No server. No upload. No privacy concern.

Try It

?? Launch Squash

?? GitHub

?? Buy PRO -- $5


Built with vanilla HTML/CSS/JS. MIT licensed.

Top comments (0)