Compress an image to 40 KB
40 KB gives a small photo a little more room than the tightest caps. An exam face shot or a small portrait fits well and looks decent. Set the compress to size tool to 40 KB and the result holds up at modest sizes.
Drop images here or click to upload
PNG, JPG, WebP, GIF, AVIF, HEIC — up to 50MB each
Output lands at or under your target. JPEG and WebP only.
- Files never leave your device
- Runs in your browser
- Free, no signup
What fits in 40 KB
40 KB comfortably holds a photo around 300x300 to 400x400 pixels. A face keeps its color and stays clear, and small text on a scanned signature remains legible. There is enough budget to avoid the harsh blockiness you see at 10 KB.
For an oversized source, resize the image first to around 400 pixels on the long edge. With the pixels trimmed, the compressor spends 40 KB on quality rather than fighting a huge image.

Common 40 KB uses
Exam headshots, small avatars, and certain signature uploads sit around this number. It is a step up from the strict 20 KB and 30 KB caps, giving a face a touch more sharpness.
A grayscale signature is the easiest thing to fit here. Crop to the ink, drop the color, and a 600x200 scan lands well under 40 KB while staying crisp enough for a picky form.