Compress image to 40KB
Get any photo under 40KB in seconds. The tool finds the best quality that fits — no guessing, no re-trying, no uploads.
How to reduce an image to 40KB
- Drop your photo (JPG, PNG, HEIC or WebP) into the box. The target is already set to 40KB.
- Wait a second while it tries different quality levels and finds the highest one under 40KB.
- Download your file. The new size and pixel dimensions are shown next to it.
When you need an image under 40KB
- Passport-size photos for exam, job and government application forms (commonly 20–50 KB)
- Profile photos on portals and HR systems
- Images embedded in documents or emails where size matters
What fits in 40KB: about 400–800 px wide — sharp enough for a face photo on any form.
Tip: Crop to the required photo shape before compressing so no bytes are wasted on background.
How it works
Instead of one fixed setting, the compressor tests quality levels with a quick search and keeps the best result that stays under 40KB. If quality alone can't get there, it gently reduces the pixel dimensions and tries again — so you get the sharpest possible image at your size limit.
Frequently asked questions
How do I compress an image to 40KB?
Drop your photo into the tool above — the target is already set to 40KB. It automatically finds the highest quality that fits under 40KB, then you download the result.
Will the image look worse at 40KB?
The tool keeps quality as high as possible and only reduces the pixel size when needed. At 40KB you can expect about 400–800 px wide — sharp enough for a face photo on any form.
Can I compress PNG, HEIC or WebP files?
Yes. PNG, HEIC (iPhone), WebP, AVIF and JPG are all accepted. The output is JPG (best compatibility) or WebP (smaller files).
Are my photos uploaded anywhere?
No. Compression runs entirely in your browser, so your photos never leave your device. That also makes it fast.
What if the result must be between two sizes (e.g. 10–40KB)?
Set the target to the maximum allowed size. The tool always stays under the target, usually within a few KB of it.