Compress an image to an exact KB
Type the file size you need — 240 KB, 100 KB, 50 KB — and get it. No quality-slider guessing. Built for passport, visa, DV Lottery and government form uploads.
Other tools give you a quality slider and hope. You type the KB; we binary-search to land just under it — every time.
Compression runs in your browser with the Canvas API. Your photo is never uploaded, stored, or seen by anyone.
Passport, visa, DV Lottery, Aadhaar, PAN, exam portals — the size limits that reject your photo, handled.
Every upload limit, one tool
The exact specs that get photos rejected — pick your size or form and we nail it. KB targets run right here in your browser; exact-dimension crops open in the app.
By file size
ID & government forms
Square sRGB JPEG the validator accepts.
Passport photo600×600 · squareStandard digital passport dimensions.
Aadhaar update413×531 · ≤50 KBAadhaar photo in spec.
PAN card (NSDL)≤50 KB · JPEGPAN photo for NSDL / UTIITSL.
Exam signature10–20 KBSSC / exam signature that won't get rejected.
Work & profiles
Crisp profile photo, no upscale blur.
Cover image that fits the header.
Square, face-centered — passes the check.
Gig thumbnail at the right ratio.
Social
Tallest feed size, best quality.
Profile photo with no crop surprise.
Under YouTube's 2 MB limit.
Cover photo that fits everywhere.
Frequently asked questions
What is PhotoFit?
PhotoFit is a free tool that compresses or resizes any photo to an exact file size in KB or to exact pixel dimensions — built for passport, visa, DV Lottery, Aadhaar, PAN and government form uploads that reject oversized photos. It runs entirely in your browser, so nothing is uploaded.
How do I compress a photo to an exact KB?
Upload your photo, type the file size you need — for example 240 KB or 50 KB — and PhotoFit lands the photo just under it. Instead of a quality slider, it binary-searches JPEG quality and downscales only if needed, so you keep the most quality the limit allows.
Is my photo uploaded to a server?
No. PhotoFit runs entirely in your browser using the Canvas API. Your photo is never uploaded, stored, or seen by anyone, and it works offline once the page has loaded.
Is PhotoFit free?
Yes, completely free with no sign-up. There is also a free PhotoFit Android app that adds batch processing, exact-dimension cropping, and saved presets.
The whole toolkit, on your phone
Batch dozens at once, crop to an exact 600×600, save your presets, and work fully offline — all free, with the same exact-KB engine.