Compress image to 40 KB
Your files are converted on your device. They are never uploaded.
or drop them here, or paste with Ctrl+V / ⌘V
.jpg.jpeg.png.webp.heic.heif.avif
- Files stay on your device
- Batch + ZIP
- No sign-up, no limits
This converter runs in your browser and needs JavaScript. Turn it on to convert; the steps below explain everything.
Settings
Just under the usual 50 KB ceiling: a photo below 40 KB keeps a safety margin and good detail.
Forty kilobytes is asked for directly on some forms, and it is also the value people pick when a form says “up to 50 KB” but its counter seems fussy. At 40 KB a cropped portrait keeps fine detail such as hair and the edge of glasses, and a single scanned card stays readable. This page compresses each image to at most 40,000 bytes, quality first and resizing second, and shows the result before you download.
How to compress an image to 40 KB
- Drop the photo, ID card scan or certificate image; several files at once are fine.
- Set the target to 40 KB. Turn on “Keep date taken” only if the form checks when the photo was taken.
- Compress, look at the reported quality and pixel size, then download one file or a ZIP.
What happens to quality, size and metadata
For a portrait, 40 KB is usually reached by quality alone or with one or two downscaling steps, so the photo often stays 600–800 px wide. A document image with lots of white paper compresses even better. When the quality search between 95 and 30 cannot fit, dimensions shrink by 15% at a time and the search repeats.
No file exceeds 40,000 bytes, so it fits whether the form counts 1,000 or 1,024 bytes per kilobyte. EXIF location is removed by default.
Where 40 KB is asked for
Notices for Indian exams and jobs often state the photo as 20–40 KB or 20–50 KB; examples include state public service commission forms, paramedical and nursing entrance tests, and several defence and paramilitary recruitment portals. Some school and college admission systems use 40 KB for both the photo and a scanned birth certificate image. Online ID and membership card applications in other countries, and older HR systems that store staff photos, use similar caps. If a portal says “less than 50 KB” and your 49 KB file keeps failing, a 40 KB file usually goes through because it avoids rounding issues.
Tips for clear photos at small sizes
- Keep the camera at eye level, about an arm’s length away; wide-angle selfies distort the face and add background.
- Remove glare from glasses by tilting them slightly or turning away from the light source.
- If the form wants a white background, shoot against a white wall; replacing backgrounds in an editor leaves edges that compress poorly.
Troubleshooting
- The form wants JPEG, not JPG. They are the same format; if the portal insists on the extension, rename the file to .jpeg.
- The file comes out at 25 KB, not 40. The image was already small or very plain. That is fine for an upper limit; check that no minimum is set.
- Colour looks slightly different. Wide-colour iPhone photos are converted to standard colour for JPG. That is normal.
- The page is slow on an old phone. Large HEIC photos take a few seconds each; compress them one at a time.
Questions and answers
How do I compress an image to 40 KB without losing quality?
Some loss is unavoidable when a 3 MB photo becomes 40 KB, but you can keep it invisible at normal viewing size. Crop to what matters, then compress here: the converter keeps the highest JPG quality that fits and reduces pixels only if it must. The result line shows exactly what was kept.
My form says 50 KB maximum. Is 40 KB OK?
Yes, as long as the form has no minimum above 40 KB. Choosing 40 KB gives you a margin against portals that round sizes or count in 1,024-byte units. For the sharpest possible photo within the full limit, use Compress image to 50 KB instead.
Is my photo uploaded when I compress it to 40 KB?
No. The compression runs inside your browser using your device’s processor. The photo is never sent to a server, and you can even switch to airplane mode after the page has loaded. Only the file you later attach to the application form leaves your device.