Skip to content
ToolZool
Buy Zooly a coffee

IMG / 01 · exact-size compression

Compress image to 20 KB

20 KB is the tightest limit you are likely to be handed, and it is almost always an identity photo — a passport-style headshot for a government form or an exam registration. At this size the question is not whether the image loses quality; it is whether the face stays recognisable. It usually can, but only if you reduce the dimensions first rather than crushing quality on a full-resolution file.

toolzool / image-tools / compress-image / 20kb

Target 20 KB

Zooly is still building this one. The interface below is the real thing, switched off until the compression engine ships. Nothing here will accept a file yet — we would rather show you what is coming than fake a progress bar. Read how it will work.

  1. 1 Choose
  2. 2 Compress
  3. 3 Download

No upload · processed on device · metadata stripped

How to compress an image to 20 KB

  1. 01

    Choose your image

    Drop a file on the tool or press the button to pick one. Because nothing uploads, a large file costs you no waiting — a 40 MB camera JPEG starts processing as fast as a screenshot.

  2. 02

    Set the target

    Pick a preset or type an exact number in KB or MB. This is a ceiling, not a goal: the result will be at or under it, never over.

  3. 03

    Let the search run

    The tool encodes at several quality levels and narrows in on the highest one that still fits, rather than encoding once at a guessed setting. On Auto, dimensions are only reduced if no quality level can reach the target.

  4. 04

    Check and download

    You see the original size, the new size and the reduction as a percentage, with a preview to judge the result. Aspect ratio is preserved and camera metadata is dropped.

What 20 KB realistically holds

Government portals and older exam systems set this limit because their databases store a photo per record and were sized decades ago. The forms rarely explain that a 600 × 800 crop at moderate quality gets there easily while a 12-megapixel phone photo never will.

What different kinds of image look like at 20 KB
Image type At 20 KB Notes
Passport-style headshot, 600 px wide Workable Gets there, with visible softening in hair and background
Screenshot of text or UI Not realistic Text goes illegible. Crop to the part that matters, or use PNG
Detailed landscape photo, full width Not realistic Not realistic at full resolution — reduce to about 800 px first
Flat logo or icon Comfortable Easy. Flat colour compresses extremely well

Guidance from typical JPEG behaviour at common web resolutions, not measured benchmarks. Published test data is on the roadmap, and we will say so here when it exists.

Privacy

Your image is decoded, compressed and re-encoded inside this browser tab. It is never sent to ToolZool or to anyone else, there is no upload queue, and nothing is stored — which is also why we cannot see what you processed.

  • No upload — there is no endpoint to send a file to
  • Nothing stored, so there is nothing for us to delete or leak
  • Camera, timestamp and GPS metadata are dropped by re-encoding
  • Works offline once the page has been visited

Read the full privacy policy

Supported formats

Accepts

JPGPNGWebPAVIF

Produces

JPEGWebP

Practically around 50 MB in a normal browser tab. The limit is your device's memory, not a server quota.

Who uses this

Students and applicants

A portal that will only accept 50 KB. Exam boards, visa forms and job sites cap uploads. Set the number, keep the face recognisable.

Site owners

Images that do not wreck page speed. Hit a per-image budget before upload, so Core Web Vitals stay green without a build step.

Office and admin

A photo too big to email. Bring an attachment under the limit without opening desktop software.

Anyone with a phone

Huge camera files. Modern phone cameras produce 10–20 MB images that most forms simply refuse.

Limitations

  • Compression is lossy. If your original is far above the target, some quality loss is unavoidable — the tool minimises it, it cannot eliminate it.
  • Screenshots of text and UI compress badly as JPEG. Below roughly 100 KB they go visibly soft; reducing dimensions usually looks better than pushing quality down.
  • Re-compressing an already-compressed file compounds the loss. Work from the original whenever you have it.
  • Very large files are bounded by your device's memory rather than by any quota we set. On a phone, expect trouble well before 50 MB.
  • Animated GIFs and multi-frame images are not supported; the first frame would be all that survived.

Other exact targets

Every size has a different answer to "will my image survive this". Pick the one you were actually given.

Questions about this tool

My photo will not reach 20 KB. What now?

Reduce the dimensions before compressing. A 4000-pixel-wide photo has around 44 times the pixels of a 600-pixel one, and quality alone cannot bridge that. On Auto the tool does this for you; if you have set it to keep dimensions, that is what is blocking you.

Will the image lose visible quality?

Some, unavoidably, if the original is far above the target. ToolZool minimises it by finding the highest quality that still fits, and reducing dimensions only when quality alone cannot get there.

Which formats can I put in?

JPG, PNG, WebP and AVIF. Output is JPEG or WebP; WebP reaches a given size at better quality, but check the form you are submitting to accepts it.

Is there a file size limit?

Practically around 50 MB in a normal browser tab. The constraint is your device memory rather than a server quota.

Is EXIF and location data removed?

Yes. Re-encoding drops camera, timestamp and GPS metadata. Orientation is applied to the pixels first, so the image does not come out rotated.

Does the result go over my target?

No. The target is treated as a ceiling. If no setting can reach it — which happens when a target is very small and the image very detailed — the tool tells you the smallest size it managed instead of silently handing you a file that is too big.

Related tools

IMG / 02 Resize image to exact dimensions Pixel-exact width and height, with sensible cropping and no upscaling surprises. In build
IMG / 03 Image format converter Convert in both directions, with quality control. In build
PDF / 01 Compress PDF to exact size Bring a PDF under an upload cap while keeping the text readable and selectable. In build

Related guides

About this tool

Most image compressors give you a quality slider and leave you to guess. That is the wrong way round, because the constraint you were handed is a number: 50 KB for an exam portal, 2 MB for an email attachment, 500 KB for a page that has to stay fast. This tool works from the number. It searches encoder quality levels for the highest one whose output still fits under your target, and only reduces dimensions when quality alone cannot get there. You get the largest file that fits — which is also the best-looking one.

Open the tool without a preset target