Compress Image to 40 KB
Get any photo under 40 KB for forms and uploads. The limit is already set: add an image and download a file that fits, at the highest quality we can keep.
- Stays on your device
- No sign-up
- Free
from your photos or files
JPG, PNG, WebP or HEIC · up to 10 MB
How to compress image to 40 KB
Step 1
Add your image
Choose or drop a JPG, PNG, WebP or HEIC (iPhone) photo, up to 10 MB.
Step 2
Choose settings
The limit is set to 40 KB. Change it if your form asks for a different size. "Shrink dimensions if needed" keeps quality at 50% or more by making the image smaller.
Step 3
Download
Check the result size and dimensions, then download. The file is guaranteed to be under 40 KB when the result says so.
Where a 40 KB limit is used
40 KB is a common upper limit for applicant photos on recruitment and exam sites that accept 20–40 KB images.
A head-and-shoulders portrait around 350 × 450 pixels fits in 40 KB as a JPG with clear facial detail.
How big can a 40 KB image be?
As a rough guide, a typical photo saved as JPG at good quality fits in 40 KB at about 450 × 340 px. Simple images such as signatures, documents and graphics on white fit far more pixels; detailed photos with noise or foliage fit fewer.
This tool finds the highest quality that fits your limit, and only reduces the pixel dimensions when quality alone would drop below 50%.
How we count KB
Upload sites disagree on whether 1 KB is 1,000 or 1,024 bytes. We count 1 KB as 1,000 bytes, so a file we label as fitting your limit fits under both definitions.
Tips
- Aim a little below the limit (for example 38 KB); some sites count 1 KB as 1,024 bytes and reject files right at the edge.
- Crop away empty background before compressing; fewer pixels leaves more bytes for the part that matters.
- JPG is the safest format for forms. Use WebP only if the site lists it.
Frequently asked questions
How do I compress an image to 40 KB?
Add the image above. The maximum size is already 40 KB; the tool picks the best quality that fits and shows the final size before you download.
Will my photo lose quality?
Some, because the file must get smaller. The tool keeps the highest quality that fits and prefers slightly smaller dimensions over a blocky, low-quality image.
Can I compress iPhone HEIC photos?
Yes. HEIC photos are decoded in your browser and saved as JPG.
Are my images uploaded?
No. Compression runs entirely in your browser.
Compress to a file size
Need something else?
- ResizeChange width and height
- CompressMake files smaller
- ConvertJPG, PNG, WebP, HEIC
- Bulk resizeMany images at once
- Image to Base64Data URIs for code
- Text to QR codeLinks and text as QR
- CropSquare, 16:9, custom
- Rotate & flipFix sideways photos
- EnlargeMake images bigger
- Image to PDFMany images, one PDF