Ontool
18 free toolsAll tools

Image tool

Compress Image to 20 KB

Compress JPG, PNG and WebP images to fit under a 20 KB file-size cap, with quick presets for 10, 50 and 100 KB or any custom target, and batch downloads in a ZIP.

20 KB capBatch
Free to useNo sign-upNo account

Compress to 20 KB

Up to 20 files · one at a time

Free
Drop images, or click to chooseJPG, PNG, WebP · free, no sign-up

Quick targets
Quality floor

The tool searches for the best quality that still fits under the cap. An image already under it is returned unchanged. JPEG fills transparent areas with white.

Images

Nothing queued yet

Your images will appear here.

Add a few files to see them squeezed under the cap.

Files are processed sequentially to keep memory use predictable.

How it works

  1. Drop or choose up to 20 JPG, PNG, WebP, GIF, BMP or AVIF images.

  2. The target is preset to 20 KB. Pick a quick preset (10, 20, 50 or 100 KB) or type any size such as 1.5 MB.

  3. Press Compress. Each image is re-encoded, searching for the best quality that still fits under the cap.

  4. Download files individually or grab the whole batch as a ZIP.

Frequently asked questions

Will my image be exactly 20 KB?

The tool searches for the highest quality that fits under 20 KB, so the result is at or below the cap rather than an exact byte count. An image that is already under the cap is returned unchanged.

What happens to very large or very detailed images?

JPEG and WebP compression can only go so far. For images that will not fit at a reasonable quality, the tool shrinks the dimensions instead of crushing the quality into a blurry block — you can also set a maximum dimension yourself.

Can I use a different target size on this page?

Yes. Type any size such as 10 KB, 200 KB or 1.5 MB, or use the quick presets. A bare number means kilobytes, and the resolved byte count is shown before you run.

Why is PNG not offered as an output format?

PNG has no quality dial, so hitting a file-size cap means progressively shrinking its dimensions, which is rarely what people want from this task. JPEG and WebP both compress by quality and work well under a 20 KB cap. The main Image Compressor tool handles PNG.

Why did the result come back as “kept original”?

That image was already at or below the target, so re-encoding it would only lose quality for no size benefit. It is included in the downloads unchanged.

How many images can I process at once?

Up to 20 images per batch, each limited to about 60 megapixels, processed one at a time so memory use stays predictable. The ZIP download is capped at 512 MB.

Search tools

JPG to PDFConvert one JPG or an ordered image batch into a PDF.ProductivityPDF to JPGTurn PDF pages into downloadable JPG images, one page at a time or as a ZIP.ProductivityQR GeneratorCreate a QR code for text or a URL and download SVG or PNG.DeveloperMarkdown EditorWrite Markdown with a fast, sanitized live preview.ProductivityImage CompressorReduce JPG, PNG and WebP size — or hit an exact target.ImageBarcode GeneratorCreate EAN, UPC, Code 39 and Code 128 barcodes.DeveloperEtsy Fee CalculatorSee the fees, profit and price behind an Etsy order.FinanceVideo Frame ExtractorPull still frames from a video at intervals or timestamps.MediaTemp MailGet a disposable inbox and watch incoming mail live.DeveloperDisposable Email CheckerCheck an address against 10,000+ throwaway domains.DeveloperAd Revenue CalculatorTurn CPM or RPM into daily, monthly and yearly revenue.FinanceImage ResizerResize JPG, PNG and WebP to exact pixels or a percentage.ImageImage to Text (OCR)Read printed text from an image and get editable text.ProductivityCompress Image to 20 KBSqueeze images under a 20 KB cap — or any size you set.ImageImage ConverterConvert JPG, PNG and WebP images between formats.ImageInvoice GeneratorCreate a clean invoice and print or save it as a PDF.ProductivityExplain My ReportTranslate a medical report into plain English, with quoted evidence.ProductivityParent TranslatorTurn a school document into a four-part parent brief in your language.Productivity
↑↓ to navigate↵ to openEsc to close