Compress Image to 20KB

20KB is a strong compression target. Strict mode may substantially reduce dimensions; Keep dimensions can return an honestly labeled above-target result.

Category: compression · Priority: P1

Static JPG/JPEG, PNG, and WebP. Animated WebP is rejected. Processing stays in this browser.

Target settings

Exact target: 20000 bytes (1 KB = 1,000 bytes; 1 MB = 1,000,000 bytes).

Quality is tested first. If needed, pixel dimensions are reduced without cropping or stretching.

Choose an image to begin.

How to target 20KB

  1. Choose a JPG, PNG, or static WebP.
  2. Review the 20,000-byte target, mode, and output format.
  3. Run the local search and inspect actual bytes, quality, and final dimensions.

What a 20KB target means

High-detail or large images often need low quality and smaller dimensions. The tool never hides those changes or fabricates a successful size.

Choose dimension changes deliberately

Strict can resize proportionally after testing quality. Keep dimensions never resizes and may remain above 20KB.

No silent format conversion

Original format is the default. PNG remains lossless and may require more dimension reduction than JPG or WebP.

When 20KB is unreachable

Container overhead, minimum quality, minimum dimensions, and the 32-candidate budget are real limits; the smallest verified result is shown.

Private local search

Every candidate exists only in browser memory and is discarded when no longer needed.

20KB compression FAQ

Does the result always equal exactly 20KB?

No. Success means at or below 20,000 bytes; exact equality is neither promised nor faked.

Why did dimensions change?

Strict mode reduced dimensions only after minimum quality at the original dimensions could not meet 20KB.

Is PNG converted to JPG automatically?

No. PNG stays PNG unless you explicitly select another format.

Are candidate images uploaded?

No. Candidate encoding and selection are browser-local.

Nearby size targets

Try 50KB for more detail or set a custom target.