I got tired of uploading personal photos to random websites just to shrink them. So I built QuickShrink — an image compressor that runs entirely in your browser. Your images never touch a server.
The Dirty Secret of “Free” Image Compressors
Go ahead and Google “compress image online.” You’ll find dozens of tools, all with the same pitch: drop your image, we’ll compress it, download the result.
Here’s what they don’t tell you: your photo gets uploaded to their server. A server in a data center you’ve never seen, governed by a privacy policy you’ve never read, in a jurisdiction you might not even recognize. That family photo, that screenshot of your bank statement, that product image for your client — it’s now sitting on someone else’s disk.
Some of these services explicitly state they delete uploads after an hour. Others are silent on the matter. A few have been caught in breaches. The point isn’t that they’re malicious — it’s that there’s no reason for the upload to happen in the first place.
The Canvas API Makes Servers Unnecessary
Modern browsers ship with the Canvas API — a powerful image processing engine built into Chrome, Firefox, Safari, and Edge. It can decode an image, manipulate its pixels, and re-encode it at any quality level. All of this happens in memory, on your device, using your CPU.
QuickShrink leverages this. When you drop an image:
- The browser reads the file into memory (no network request)
- A Canvas element renders the image at its native resolution
canvas.toBlob()re-encodes it as JPEG at your chosen quality (10%–100%)- You download the result directly from browser memory
Total data transmitted over the network: zero bytes.
The Results Are Surprisingly Good
At 80% quality (the default), most photos shrink by 40–60% with no visible degradation. At 60%, you’re looking at 70–80% reduction — still good enough for web use, email attachments, and social media. Only below 30% do you start seeing compression artifacts.
The interface shows you exact numbers: original size, compressed size, and percentage saved. No guessing.
It’s Also a PWA
QuickShrink is a Progressive Web App. On mobile, your browser will offer to “Add to Home Screen.” On desktop Chrome, you’ll see an install icon in the address bar. Once installed, it launches in its own window, works offline, and feels like a native app — because functionally, it is one.
The entire application is a single HTML file with inline CSS and JavaScript. No build tools, no framework, no dependencies. It loads in under 200ms on any connection.
Try It
Open source, zero tracking, free forever. If you find it useful, share it with someone who’s still uploading their photos to compress them.
Leave a Reply