Resize an image to 40 KB

40 KB is enough for a sharp colour headshot at passport dimensions when the compression is tuned properly. Drop your photo in below — the target is already set to 40 KB, and everything runs inside this browser tab, so the image never leaves your device.

How to get a photo under 40 KB without it turning to mush

Crop before you compress

Empty background costs bytes. Cropping tight on the subject leaves more of the size budget for the detail that matters.

Match the required dimensions

Most forms cap both KB and pixels. Set the dimension preset here as well so a 40 KB file is not rejected for being the wrong shape.

Use JPG for photos

PNG stores photos far less efficiently. Choosing JPG output often reaches the target with visibly better quality.

Who asks for 40 KB?

40 KB is a comfortable middle limit used by job boards, internal HR systems and a number of exam portals that allow a range up to 50 KB.

Settings that actually reach 40 KB

At 40 KB a 350×450 px colour headshot keeps genuinely natural skin tone. This is roughly the point where compression stops being a compromise for passport-style photos.

The mistake that gets uploads rejected

Assuming bigger is safer. Some portals reject anything over their cap without saying so clearly, and a silent failure at upload is far more common than a quality complaint.

Questions about 40 KB uploads

JPG or WebP for a 40 KB upload?
JPG. WebP is smaller at equal quality but many government and enterprise portals still reject the format outright.
How do I check the final size on a phone?
The tool prints the exact byte count next to the result before you download, so you do not have to hunt through your file manager.

Other size targets

Security first

Your files stay yours

Runs on your device

WebAssembly in your tab

Zero uploads

0 bytes sent to a server

Nothing stored

Cleared when the tab closes

No account

No sign-up, no tracking