Compress Image to 20 KB
Reduce image size to a maximum of 20 KB with Smart or Strict compression. Compare quality and download locally in JPG, PNG or WebP.
Free online tool · No account required
Smart compares multiple resolutions and encoding settings. Maximum quality may exceed the limit; Strict size may reduce detail. PNG keeps pixels at unchanged dimensions but may not meet a small target. No mode guarantees identical quality.
Choose an image to start.
Max 20 MB per image · 25 MP · 8,192 px per side. Still images only. Privacy details.
How to use this tool
Choose a supported image above, confirm the target and output format, and select the mode that matches your requirements. Click Compress image and wait for the result. Review the actual size, dimensions and full-size preview before downloading. Your image is processed in your browser rather than sent to an image processing server.
A 20 KB limit is a tight budget
Twenty kilobytes means 20,000 bytes on this page. A signature, a small portrait and a screenshot use those bytes differently. A clean signature on white paper contains fewer complicated edges and colors than a photo taken outdoors. Start with the sharpest available original, crop away the desk or irrelevant borders, and avoid sending an entire camera frame into a 20 KB target. A smaller but clear image may be a better choice than a large, heavily compressed one.
Example: a small signature for an online form
Suppose a portal accepts JPG signatures up to 20 KB and requires a specific width and height. Enter the exact dimensions from that portal in the photo and signature resizer rather than making a guess here. If there is no dimension rule, select JPG on this page and allow smaller pixel dimensions. Start with Smart mode. Check the loops of letters and the ends of pen strokes, not just the white space. If the signature breaks into jagged pieces, go back to the original and crop closer or choose Maximum Quality if the limit is flexible.
When 20 KB is not enough
A detailed image with thousands of pixels may not remain readable at this limit. Strict Size can trade detail for a smaller file; it cannot make every document readable. If the tool cannot find a satisfactory result, do not keep recompressing the already damaged copy. Restart from the original and consider a different permitted format or size. A maximum of 20 KB is not a requirement to make the file exactly 20,000 bytes. If the portal also sets a minimum size, check that separately.
Check before submitting
Use the full-size preview to inspect the signature or face, then use the image size checker for an independent check of bytes, dimensions and format. A JPG with the right number of bytes can still be rejected if the receiving site expects different pixels or a different type of photo. The example above is not an official examination rule.
When 20 KB is a strict limit
Twenty KB is a small allowance for a detailed photograph. Start with a tight crop of the required subject and avoid repeatedly saving an already compressed JPEG. If the upload accepts a signature or a small portrait, check the minimum pixel dimensions before allowing the compressor to reduce them. A file below 20 KB is not automatically acceptable if its text, face or handwriting has become unreadable.
Compare the downloaded file against the receiving portal’s exact byte limit (20,000 bytes on this tool). If it asks for a fixed width and height, prepare those dimensions in the photo and signature resizer first. Keep the original as a fallback. When the portal allows a higher maximum, a 50 KB copy may retain more detail.
Related image tools
Image Resizer
Set custom width and height, preserve proportions, crop or pad, and optionally set a maximum KB.
Photo & Signature Resizer
Prepare a photo or signature with custom pixels, minimum and maximum KB, and output format.
JPG to PDF
Combine up to ten JPG, PNG or WebP images into a PDF, reorder pages and choose paper size.
Measured example: compress an image to 20 KB
In an offline Chromium test on 29 November 2026, the Smart mode processed an original test illustration (not a real photo) with fine lettering, color gradients and line detail. The original was 272.14 KB at 1200 × 800 pixels. The actual JPG output was 19.59 KB at 576 × 384 pixels, within the 20 KB maximum. Different images and browsers may produce different results.


The smaller file does not retain every original pixel. Zoom in before using a compressed photo or document; if detail is more important than the byte limit, choose Maximum Quality.