Compress Any Image to
Exact KB — Free Online

The only free tool that lets you type an exact KB target. Instantly compress photos to 20 KB, 50 KB, 100 KB, or any custom size — for government exams, passport photos, and job portals.

✅ No upload✅ No account✅ Works in browser✅ Completely free
⚡ Open PhotoFit — Compress now

How it works — 3 steps

1
⌨️
Type your target KB
Enter the exact file size you need — for example 50 for a 50 KB limit. Every Indian government portal has a specific range.
2
📁
Upload your photo
Click Upload or drag-and-drop any JPG, PNG, or WebP image. No account needed. Nothing is sent to any server.
3
⬇️
Download instantly
PhotoFit uses binary-search compression to hit your exact target in under a second. Download as JPEG or PNG.

Why exact KB matters

📋
Government exam portals
UPSC, SSC, RRB, IBPS, JEE, NEET — all require photos in exact KB ranges like 10–50 KB or 20–200 KB.
🛂
Passport & visa applications
Most passport portals cap photos at 200 KB or 240 KB. Exceeding this gets your application rejected.
💼
Job applications
Many HR portals (especially in India and the Gulf) have a 50–100 KB limit on uploaded photos.
📱
Email & WhatsApp
Sending a 5 MB photo when a 100 KB one does the job. Compress it without quality loss.

Frequently asked questions

How does PhotoFit hit an exact KB target?
PhotoFit uses a binary search algorithm over JPEG quality — up to 22 iterations — to converge on a file size within your target range. It works like a scientific instrument, not a slider.
Is my photo uploaded to any server?
No. PhotoFit processes all images entirely inside your browser using the HTML5 Canvas API. Your photo never leaves your device. There is no server-side processing.
What's the minimum KB I can compress to?
For a 1 megapixel photo, you can typically reach 15–20 KB before quality degrades severely. For very small targets (under 10 KB), the algorithm gets as close as physically possible given the image dimensions.
Does compressing reduce the image dimensions?
Only if you ask it to. In the quick compress hero, dimensions are preserved and only quality is reduced. In the Resize & Compress tab, you can set exact pixel dimensions alongside the KB target.
Can I compress PNG to a specific KB?
PNG is lossless — it cannot be compressed the same way JPEG can. PhotoFit will output a PNG but cannot guarantee a specific KB for PNG. For precise KB control, use JPEG output.

Ready to compress?

Free. Private. Instant. No account needed.

⚡ Open PhotoFit