Compress image to
40KB online.
Compress a photo to a 40KB JPG — a common small-file limit on exam, admission and job forms. It is tight, but with a quick crop your photo still stays clear. Runs privately in your browser, no signup.
Need a different limit? Try 20KB JPG, 30KB JPG, or 50KB JPG. Uploading to a Pakistan board form? See the FBISE 40KB compressor. Need iPhone HEIC photos as JPG first? Use the HEIC to JPG converter.
Kodotools Team · Last updated: August 25, 2026 · Files stay on your device
About this tool
Use this 40KB image compressor when a form caps the photo at 40KB — common on Indian exam, admission and recruitment portals, and the size Pakistan's FBISE boards use too. 40KB sits between a cramped 30KB and a roomier 50KB: small enough to clear a strict limit, but enough to keep a face recognisable after a tight crop.
Who needs this tool?
- Applicants on exam or admission forms with a 40KB photo limit
- Candidates uploading a small JPG to a job or recruitment portal
- FBISE and board-form users who need a 40KB photo
Use it safely
When should you choose 40KB?
| Situation | Best action |
|---|---|
| Form says "photo under 40KB" | Crop to head-and-shoulders first, then compress the JPG to 40KB. |
| FBISE or board upload | Use the FBISE 40KB page for board-specific guidance. |
| Form shows exact pixels too | Resize to those pixels first, then compress the resized image to 40KB. |
| 40KB looks blurry | If the portal allows it, step up to 50KB for a sharper face. |
There is no single official 40KB rule across every website — it is just a common small-file limit for form photos. Always follow the exact file size, format, and pixel instructions shown on your current form.
How to compress an image to 40KB in JPG
40KB is a tight budget, so a tight crop does most of the work. Trim to a head-and-shoulders portrait and keep the dimensions modest — around 500px on the long edge is enough for a form photo. Drop your picture above, keep the 40KB preset, and the tool lands within a couple of KB of the target. If the face looks soft, start from a sharper original and crop out background before compressing, rather than shrinking an already-small file further.
Drop your images here
or click to browse · select multiple
0 images ready
Total: —
Target size
What makes us different
Built for real people,
not techies.
100% private. Always.
Your photos never touch a server. Every byte of work happens right inside your browser tab — no uploads, no accounts, no tracking pixels.
Instant compression
Most images compress in under a second. No queues, no uploads waiting.
iPhone HEIC ready
Drop iPhone photos directly. We auto-convert HEIC to JPEG before compressing.
Exact size control
Hits your target within 2% — every time.
Bulk upload
Drop 50 photos at once. Compress all in seconds.
Forever
No watermarks, no signups, no limits.
How it works
Three steps. Under 10 seconds.
Drop your images
Drag & drop or click. JPG, PNG, WebP and HEIC can be opened, then exported as a small JPG.
Pick target size
Choose the 40KB preset, or type the exact KB value shown on your form.
Download
Hit Compress and grab your perfectly-sized images. Done.
FAQ
Common questions
How do I compress an image to 40KB JPG?
Upload your image, keep the 40KB preset selected, click Compress, then download the JPG. For a form photo, crop to head-and-shoulders first so 40KB has less to work with and the face stays clear.
Is my image uploaded to a server?
No. All compression happens in your browser using JavaScript. Your image never leaves your device — not even for a millisecond.
Should the 40KB output be JPG or PNG?
JPG/JPEG is the only realistic choice at 40KB — a photo fits into 40KB far more cleanly as a JPG, while a PNG of the same photo is usually much larger. Use PNG only if your form specifically demands it.
Should I resize before compressing to 40KB?
At 40KB, yes — it makes a big difference. Crop to a tight head-and-shoulders portrait and bring it down to about 500px on the long edge first; that reaches 40KB with a usable face, whereas compressing a full phone photo to 40KB tends to look muddy.
Can I compress multiple images at once?
Yes. Drop or select multiple images at once and hit "Compress all". Download one image individually or use "Download all (ZIP)" to save the batch as a ZIP.
Does it work with iPhone HEIC photos?
Absolutely. HEIC files are auto-converted to JPEG before compression — no extra steps needed.
Why is my compressed image still larger than 40KB?
At 40KB this usually means the image is still too large in pixels or very detailed. Crop out background and resize the dimensions smaller, then run the 40KB preset again.
Can I use this for passport, admission, or job form photos?
Yes — 40KB is a common photo limit on exam, admission and job forms, and on Pakistan's FBISE boards. Just confirm your form allows 40KB and check whether it also fixes an exact pixel size before uploading.
Is this tool really free?
Completely. No account, no watermarks, no usage caps. Files stay on your device.
Guides
Real use-cases, step by step
Practical walk-throughs for the most common forms with strict size limits.