PhotoFit
🔒 On-device · Free · No sign-up

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.

Choose a photo or drag it here JPG, PNG, WEBP · processed locally, never uploaded
🎯
Exact size, not guesswork

Other tools give you a quality slider and hope. You type the KB; we binary-search to land just under it — every time.

🔒
100% on your device

Compression runs in your browser with the Canvas API. Your photo is never uploaded, stored, or seen by anyone.

📄
Built for official forms

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.

Work & profiles

LinkedIn photo1:1 · 400px+

Crisp profile photo, no upscale blur.

LinkedIn banner1584×396 · 4:1

Cover image that fits the header.

Upwork photo1:1 · ≤5 MB

Square, face-centered — passes the check.

Fiverr gig1280×769

Gig thumbnail at the right ratio.

Social

Instagram portrait1080×1350 · 4:5

Tallest feed size, best quality.

WhatsApp DP1:1 · 640px+

Profile photo with no crop surprise.

YouTube thumbnail1280×720 · ≤2 MB

Under YouTube's 2 MB limit.

Facebook cover851×315

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.

Get PhotoFit on Google Play →