Skip to content
OneFileConverter

Compress an image to 40 KB

Exam, visa and job portals often require photos under 40 KB. This preset gets you there while keeping the image as sharp as possible.

Formats
JPG, PNG, WebP +14
Up to
100 MB per file
Price
Free, no sign-up
Watermark
No watermarks

Drop files here

or choose from your device

Processed on your device · nothing is uploaded

JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, PSD, RAW, SVG, TGA, PPM, PCX, DDS, ICO, JPEG XL · up to 100 MB per file

How to compress an image to 40 KB

  1. Add your photos — up to 100 at a time.
  2. The maximum size is already 40 KB; change it in the options if your form asks for something else.
  3. Click Compress and download — the result screen shows each new size.

What fits in 40 KB

40 KB is about 330,000 bits — at about one bit per pixel, a picture of roughly 570 × 570 pixels. It suits forms that want a slightly larger photo than the usual passport-style upload, and scanned images of small documents such as an ID card or a thumb impression. Because 40 KB is close to the common 50 KB ceiling, it's also a safe choice when a form says “under 50 KB” but you've seen uploads refused near the limit — it leaves room for portals that count kilobytes differently.

What a 40 KB limit means

40 KB here is 40,960 bytes (1 KB = 1,024 bytes), which is how most upload portals count. Some sites count 1 KB as 1,000 bytes, so if a 40 KB file is still refused, set the limit a few KB lower and run it again. Portals usually check pixel dimensions separately as well — read the instructions next to the upload button for both numbers.

Fewer pixels, sharper result

At 40 KB, a full-size phone photo has to lose a lot of quality to fit. If the form gives required dimensions (for example a passport-style photo or a signature box), crop and resize to exactly those first with Crop Image and Resize Image: a smaller picture needs much less compression, so faces and handwriting stay clearer.

Will a group photo or a busy background fit in 40 KB?

It will fit, but it will look softer than a portrait. Detail is what costs bytes: leaves, crowds and patterned walls need far more than a plain background. The tool keeps lowering quality and then the pixel size until it reaches 40 KB, so a busy picture ends up smaller in pixels than a simple one at the same file size.

How do you get an image under 40 KB?

Quality is lowered step by step first. If even a low quality is still over 40 KB, the image is scaled down step by step until it fits — large photos in bigger steps. PNGs are lossless, so they are only scaled down.

Will my photo still look good at 40 KB?

Usually yes on screen at modest sizes; fine detail softens a little.

Does it keep the original format?

Yes, by default. Under Advanced you can switch to JPG or WebP, which reach small sizes with better quality than PNG.

Are my images safe?

Yes. Your images are only used to create your result — they’re never shared and never used to train AI.