DEV Community

Duke
Duke

Posted on

I Got Tired of Slow, Spammy Image Compressors — So I Built My Own in a Weekend

Have you ever just wanted to compress a PNG…
…but ended up in a maze of ads, cookie banners, and “upgrade to Pro” popups?

Same.

So I did what any slightly frustrated developer would do:
I built my own image compressor.
Simple. Fast. No ads. No BS.

👉 https://compressimage.run

😵 The Problem
Let me paint the picture:

You're prepping a blog post. You add an image. Suddenly the upload fails.
“File too large.”

So you Google “compress image online.”
And boom — you're in:

A UI from 2009

Three hidden download buttons

15MB of JavaScript

Some weird captcha with a picture of a bus that might not be a bus

I just wanted to make my image smaller, man.

💡 The Solution
I decided to spend a weekend building a cleaner alternative:

compressimage.run

✅ Compresses JPEG, PNG, and WebP

✅ Runs entirely in your browser (no upload!)

✅ Clean interface, dark mode ready

✅ No tracking, no login, no limits

✅ Works on mobile

No signup. No ads. No nonsense.

🧰 The Tech Stack (for my fellow devs)
This was built with:

HTML + TailwindCSS

Vanilla JavaScript

Image compression via the [browser-native canvas API]

Hosted on Vercel for instant speed

I kept it 100% frontend so your images never leave your device.
Privacy by default.

🛠️ Why I Built This
I’m a student dev. I didn’t have money for paid tools.
But I had time, and I had frustration — the perfect combo for building.

I wanted something that “just works,” for:

Devs prepping assets

Designers optimizing UI screenshots

Anyone who’s tired of bloated tools

🚀 Try It Out
If you ever need to compress an image quickly, check it out:
👉 https://compressimage.run

And if you find it useful, consider sharing it or giving me feedback.
It helps more than you know 💙

Top comments (0)