Resize Image to 40 KB
Bank and exam forms often want extra scans — a thumb impression, a stamp — with limits in the 20–50 KB range. 40 KB sits safely inside it. This page gets your file there. Everything runs in your browser — nothing is uploaded. Need different dimensions instead? Resize or convert.
How resizing reaches 40 KB without a blurry photo
For a limit of 40 KB the cleanest result is usually a smaller picture saved at high quality. This page is set up for that, and it never changes the format you started with. If you would rather keep the full size and accept more compression, Compress JPEG to 40 KB does that.
345x255 for a 4:3 photo
A detailed landscape photo of roughly 345x255 pixels fits under 40 KB at high quality.
295x295 for a square
Profile pictures, product tiles and avatars: about 295 pixels a side stays below 40 KB with fine detail intact.
255x345 upright
A portrait phone photo or ID-style picture of about 255x345 pixels lands under 40 KB.
395x225 widescreen
Screenshots and 16:9 frames fit 40 KB at about 395x225 pixels.
Format stays the same
JPG stays JPG, and PNG and WebP keep their format and transparency. A PNG photo needs several times more bytes than a JPG, so under 40 KB it ends up much smaller in pixels.
2.1x more pixels on the twin page
Compress JPEG to 40 KB fits about 490x370 pixels at medium quality — more detail when zoomed, more compression in smooth areas.
40 KB: sizes at high quality
| Landscape photo, 4:3 | about 345x255 px |
|---|---|
| Widescreen, 16:9 | about 395x225 px |
| Square, 1:1 | about 295x295 px |
| Portrait, 3:4 | about 255x345 px |
| Same photo saved as WebP | about 390x295 px |
| Limit counted as | 40,960 bytes |
| Output format | Same as the original: JPG, PNG or WebP |
| Typical use | Passport-style photos on exam, job and visa application portals |
Resize an image to 40 KB in 3 steps
- Add your photo or graphic — it keeps its format, whether JPG, PNG or WebP.
- Leave the target at 40 KB, or open the Resize tab and type a width of about 345 pixels for a landscape photo.
- Click Compress and download a file under 40 KB (40,960 bytes).
Need the most pixels possible instead? Use Compress JPEG to 40 KB.
Thumb impressions and small scans
Thumb impressions are commonly asked for between 20 KB and 50 KB. Press firmly with blue or black ink on white paper, photograph it straight on, and crop close before compressing.
Scan in grayscale. Ink marks carry no useful colour. A grayscale image is smaller for the same sharpness, leaving room for detail in the ridges.
Resolution. 200 DPI is plenty for a thumb or stamp; higher scans just make the tool work harder to reach the limit.
Signature next: 20 KB. Photo: 50 KB. JPG only: JPEG under 40 KB.
Other file-size targets
Nearby limits — each one opens the compressor already set to it:
Compress by format
Guides and presets for each format:
Compress under a file size
Keeps your image’s format — pick the limit you need:
JPEG under a file size
Frequently asked questions
What width should I type to get under 40 KB?
For a typical 4:3 photo, about 345 pixels wide keeps high quality; up to 490 pixels works if slight softness is fine. Graphics, screenshots and scans with plain areas can be wider.
Will resizing to 40 KB keep my PNG as a PNG?
Yes. JPG, PNG and WebP files keep their format, and PNG transparency is kept. If the PNG is a photo, convert it to JPG first — under 40 KB a JPG can hold far more pixels.
Resize or compress — which looks better at 40 KB?
For things seen small — passport-style photos on exam, job and visa application portals — fewer pixels at high quality looks cleaner. If people will zoom in, Compress JPEG to 40 KB keeps about 2.1 times as many pixels at medium quality.
Can the file be exactly 40 KB?
It ends just under. The limit is counted as 40,960 bytes and the tool stops below it, so an upload form never rejects the file for being a few bytes over.
How is this different from Compress JPEG to 40 KB?
That page always saves a JPG and lowers quality before it touches the pixels. This one keeps your original format and suits jobs where the width matters too, such as a form that says “maximum 40 KB and 345 pixels wide”.
Are my images uploaded anywhere?
No. They are read and compressed by your own browser and never leave your device. You can disconnect from the internet once the page has loaded and it will still work.