- Home
- Image tools
- Compress Image
- Compress an image to 40 KB
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 · or paste it
JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, PSD, RAW, SVG, TGA, PPM, PCX, DDS, ICO, JPEG XL · up to 100 MB per file
Related tools
More image tools
All image tools →- HEIC to JPG
- Image to Text
- Image to Word
- QR Code Generator
- Passport Photo Maker
- Barcode Generator
- EXIF Viewer
- Crop Image
- Combine Images
- Rotate Image
- Add Text to Image
- Watermark Image
- GIF Maker
- Black & White Image
- Blur & Pixelate Image
- Circle Crop Image
- Adjust Brightness & Contrast
- Favicon Generator
- Add Border to Image
- Split Image into Grid
- Remove EXIF Data
- Color Palette from Image
- Which Format Is Smallest?
- Image to Base64
How to compress an image to 40 KB
- Add your photos — up to 100 at a time.
- The maximum size is already 40 KB; change it in the options if your form asks for something else.
- 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.
Guides
- KB vs MB: how to check and meet file upload size limitsIs 1 MB 1,000 KB or 1,024 KB? Both, depending on who's counting. How to read file sizes on any device and get files under a form's upload limit.
- How to open HEIC photos on a Windows PCWindows can't open iPhone HEIC photos out of the box. Here are your options: Microsoft's extensions, converting to JPG, or changing the iPhone setting.
- How to reduce a photo or signature to 20, 50, 100 or 200 KBJob, exam and visa portals often want a photo or signature under 20–200 KB at set dimensions. Here's how to hit both limits and keep it legible.
- JPG, PNG, WebP or AVIF: which image format should you use?Photos, screenshots, logos, websites or email? A plain comparison of JPG, PNG, WebP and AVIF — size, quality, transparency and where each one opens.