Compress image to 40KB

Pick a JPG, PNG or WEBP image and get a copy that is 40KB or smaller. Everything happens in your browser; nothing is uploaded.

or drop files here

When you need a 40KB image

40KB is a mid-small cap for photo and ID-proof fields, and it is a handy target when a form says "under 50KB" and you want a safety margin.

What to expect at 40KB

At 40KB a portrait is clear at roughly 350 to 450 pixels wide, with natural skin tones and readable edges. It is a good balance for face photos.

Tip for the best result

For documents and ID scans, text matters more than colour. If the text looks soft after compression, convert the scan to black and white first, then compress. Text compresses much better without colour noise.

Frequently Asked Questions

Is 40KB enough for a scanned document?

For a single-page ID card or certificate crop, usually yes if the scan is cropped tight. For a full A4 page of small text, 40KB will blur it; aim for a larger limit such as 150KB or 300KB instead.

How does the tool get an image down to 40KB?

It re-encodes the image as a JPEG and searches for the highest quality that fits under 40KB. If quality alone is not enough, it also reduces the pixel dimensions a little at a time until the file fits. The result never exceeds your limit.

What if my file is already smaller than the limit?

A JPG that is already under the limit is returned unchanged, so you are never made to lose quality for nothing. Other formats are converted to JPG at high quality.

Is my image uploaded to your server?

No. The image is decoded, resized and re-encoded inside your browser tab, so the file never leaves your device. You can confirm this yourself: open your browser DevTools, switch to the Network tab and run the tool. You will not see your image in any request.


Our other free Image Tools



Free Image Format Conversion Tools