Local Image Compressor by Andrei AlbaLocal Image Compressor by Andrei Alba

Local Image Compressor

Portfolio project
Andrei Alba

Image Compressor: Local image compression

A free, open-source tool that shrinks JPG, PNG and WebP images right in the browser. Nothing is uploaded.

Most online image compressors upload your photos to a server before giving them back. I wanted one that never lets the files leave your device.

How it works

Image Compressor runs entirely in the browser. It uses the same encoders the big online tools use (MozJPEG, OxiPNG and libwebp), compiled to WebAssembly and run in background workers, so the page stays responsive while it works. The app makes no network requests at all: fonts, styles and codecs all ship with the build.
Smart mode uses an SSIM image-similarity check to find the smallest file that still looks the same as the original.

What it does

Compresses JPG, PNG and WebP, and converts between them (PNG output is always lossless)
Smart quality targeting, or manual quality control
Strips EXIF and GPS data before download
Optional resize to a maximum width or height
Batch processing with a single ZIP download
Before/after slider to compare quality
Drag and drop, file browse or paste from the clipboard
Dark mode and remembered settings

My role

I designed and built it end to end: the interface, the compression pipeline and the release setup. It's free, needs no sign-up, and the code is public on GitHub.

Links

0 likes · 3 views · Sep 30, 2026

Designed and built a free local image compression tool.

Tags