Photo Compressor To 40 KB

Free · no sign-up · nothing uploaded

Photo Compressor to 40 KB

That upload form says "max 40 KB" and your phone photo is 5 MB. Drop it here and get the biggest, sharpest version that still fits the cap — measured, compressed and downloadable in seconds.

Any KB target JPEG or WebP EXIF / GPS stripped Works offline in-browser

Compress to your exact KB ceiling

Your photo never leaves this device
Adjust target & format
Step with +/- or type a number.
Auto keeps the largest size that fits.
PNG photos are converted to JPEG.
Off strips EXIF and GPS.

How it hits 40 KB exactly

Three steps, all inside your browser tab.

Step 1
Set your cap

40 KB by default — or the exact number your portal demands, from 1 KB to 2000 KB.

Step 2
We search, not guess

The photo is re-encoded across a scale ladder while the quality is binary-searched, so you keep the largest, sharpest version that fits. No blind 8 KB shrinking.

Step 3
Download and upload

One tap saves photo-40kb.jpg, metadata-free and ready for the form.

Original vs result, side by side Progress rail from MB to KB Quality and pixel readout

Questions people ask before a deadline

Why exactly 40 KB?

Government, visa, exam and job portals very often cap photo uploads at 40 KB (sometimes 20 KB, 50 KB or 100 KB). The target field accepts anything from 1 to 2000 KB, so the same tool covers all of them.

Is my photo uploaded anywhere?

No. Decoding, resizing and encoding all run in your browser with the canvas API. There is no server round-trip and no account — you can even keep the tab offline once the page has loaded.

What if my photo is already under 40 KB?

We skip the re-encode and tell you so. Re-compressing a file that already fits only throws away quality, so you get the original bytes back with a download button.

It says "closest possible" — what now?

A noisy, detailed photo has a floor: at 200 px and the lowest quality it simply cannot reach a tiny target like 3 KB. The tool stops there instead of looping, shows the smallest reachable size, and lets you download it or raise the target a few KB.

Will 40 KB still look like a real photo?

For a portrait or passport-style photo at 600–1200 px, yes — 40 KB holds plenty of detail. Sharp text screenshots and heavy textures are the hard cases, because hard edges cost bytes. If it looks soft, raise the target or pin the longest side to 600 px.

What about iPhone HEIC files?

Browsers cannot decode HEIC/HEIF, so the tool detects it and tells you instead of showing a blank canvas. Export as JPEG from Photos first (Settings → Camera → Formats → Most Compatible), then drop the JPG here.

Does it remove GPS data?

Yes — by default the canvas re-encode strips EXIF, GPS and camera information. If a form specifically wants the original EXIF block kept, tick "Keep EXIF" and it is spliced back into the JPEG output (inside the size budget).

Latest updates