1
0 Comments

How I built a free image compressor that actually hits the exact KB limit

A few months ago I was filling out a government job application form. The portal required a photo under 50KB. Simple enough — except every tool I tried either crushed the quality into an unrecognizable mess, or gave me a file that was still 80KB with no way to control the output. So I built CompressTo200KB. The core idea is simple: instead of letting you pick a "quality" slider and hope for the best, the tool uses a binary search algorithm to find the highest JPEG quality level that still produces a file at or below your exact target size. You get the best possible image within your limit — not a guess. A few things I'm proud of: - Everything runs in the browser via the HTML5 Canvas API. Your images never touch a server. This matters a lot when you're uploading passport photos or ID scans. - It supports any target size, not just 200KB. There are presets for 20KB, 50KB, 100KB, 500KB, and 1MB, plus a custom input for anything in between. - Batch processing — up to 20 images at once, with a "Download All" button. - Works on mobile. A huge chunk of users in India (my biggest audience) are filling out UPSC/SSC/IBPS exam forms on their phones. The site is pure static HTML/CSS/JS — no framework, no build step, deployed on Cloudflare Pages. Total cost to run: $0/month. Currently getting organic traffic from Google for terms like "compress image to 200kb" and "compress photo for UPSC". Still working on pushing into the top 3 for the main keywords. Happy to answer any questions about the technical side or the SEO approach.

posted toAvatar for product CompressTo200KB
CompressTo200KB