Target size — 20KB

Compress JPEG to 20KB Online

Reduce your JPG below 20KB for signatures, small scans, and strict upload portals without creating unusable pixelation.

Upload your images

Target file size:20 KB

Drop JPEG images here

or choose files from your device

JPG, JPEG, PNG, WebP, AVIF · up to 30 MB each · max 20 files

You can also paste an image with Ctrl / ⌘ + V

Understanding the 20KB Ceiling

A 20KB file size limit equals approximately 20,480 bytes. In the context of modern digital imaging, this is an ultra-tight data budget. Modern smartphones capture images containing 12 million to 50 million pixels, weighing between 3MB and 15MB.

When an online form, exam portal, or document submission portal requires a file under 20KB, it treats that figure as a hard stop: files over the limit are commonly rejected. CompressJPEG searches for the highest image quality that stays below your 20KB limit — and tells you plainly when your photo cannot fit, instead of quietly breaking the limit.

Signatures and Scanned Thumbprints

The most common legitimate use case for a 20KB limit is applicant signature scans and biometric thumb impressions on registration portals.

  • Clean background: Ensure paper is well-lit with high contrast between ink and background.
  • Crop tightly: Cut out empty borders around the signature before uploading.
  • Keep text legible: Do not over-compress; moderate downsampling keeps stroke lines solid.

Why Dimension Resizing Is Critical for 20KB Targets

JPEG compression works through Discrete Cosine Transform (DCT) on 8×8 pixel blocks. When you force a 4000×3000 photo to under 20KB without changing dimensions, the compression algorithm has to quantize frequency data aggressively. The result is recognizable "mosquito noise", color banding, and illegible text.

Instead of destroying visual fidelity through extreme quantization, reducing the resolution to an appropriate physical dimension (such as 400px to 600px wide) dramatically reduces the raw byte load before compression even starts. This allows the JPEG encoder to use a gentle, high-quality quantization table, giving you a sharp 20KB result that passes automated validation cleanly.

Workflow

From upload to a 20 KB file.

20 KB is a tight ceiling — three steps to a JPEG that still looks clear.

  1. 01

    Drop your photo

    Add a JPG from your device or the clipboard. It never leaves your browser.

  2. 02

    Target 20 KB is pre-set

    The editor opens with a 20 KB limit and pairs it with a smaller resize so detail survives the tiny budget.

  3. 03

    Save it at or under 20 KB

    Download a JPEG within your 20 KB limit — downscaling dimensions is what keeps it sharp this small.

WorkflowClient-side
01Drop or Paste
02Target 20 KB
03Save ≤ 20 KB

Processed in this tab · No server round-trip

Privacy
No uploadsNo signupNo watermark

Target 20KB Questions

20KB JPEG Compression FAQ

Why does my high-resolution photo look blurry when compressed to 20KB?

A 20KB file size holds only about 20,480 bytes. If you take a 12-megapixel smartphone photo (4000×3000 pixels) and try to squeeze it into 20KB using quality compression alone, the JPEG encoder must discard almost all high-frequency image data, creating severe 8×8 block artifacts and fuzzy edges. To keep a 20KB image sharp, resize the pixel dimensions down (e.g., 400px to 800px wide) before or alongside compression.

What pixel dimensions work best for reaching a 20KB target?

For personal signatures and official stamps, dimensions between 300×150 pixels and 600×300 pixels work best. For profile photos or passport avatars under 20KB, dimensions between 200×200 pixels and 350×450 pixels keep the subject crisp while easily satisfying the 20KB limit.

Can I compress black-and-white signatures or document marks below 20KB?

Yes. Signatures written with blue or black ink on clean white backgrounds compress extremely efficiently because plain white space contains minimal frequency variation. Simply upload your signature scan, enable Resize if the image is from a phone camera, and Target Size mode will cleanly output a file below 20KB.

Why is the output file size 19.1 KB instead of exactly 20 KB?

Target Size mode treats 20KB as a strict maximum ceiling, not a guaranteed exact number of bytes. The algorithm searches quality levels 100 down to 1 for the highest fidelity under 20,480 bytes. On our 4032×2691 test photo that was impossible without help — the tool reports it cannot fit and suggests resizing instead of ruining the photo; with Resize set to a 1280 px longest side, our run landed at 19.1 KB (MEASUREMENTS.md).

What should I do if my photo cannot reach 20KB at acceptable quality?

If a photograph still looks too soft or fails to reach the 20KB target, crop away unnecessary background space to focus tightly on the subject, or reduce the image dimensions in the editor before compressing. Reducing the pixel count by 50% cuts the uncompressed pixel data by 75%, allowing the encoder to preserve much higher visual sharpness.

Start

Need a JPEG under 20KB?

Drop your image above — Target Size 20KB is pre-configured for instant compression.