Skip to main content

JPEG output · 20,000-byte maximum

Compress JPEG to 20 KB

Compress to JPEG with a verified maximum of 20,000 bytes. Check your destination requirements for minimum size, dimensions and framing as well.

A smaller file starts here.No sign-up
Maximum size

Drop your image here
browse files

JPG, PNG or WebP → at most 20.0 KB

Max 15 MBMax 24 MPPaste from clipboard
01 · Choose your settings
KB

20,000 bytes maximum · 1 KB = 1,000 bytes

Auto keeps JPEG inputs as JPEG and uses WebP for other inputs when supported. JPEG fallback uses a white background.

Zero server uploads: Processed in local browser memory
Decimal bounds: 20 KB = 20,000 bytes verified
  • Free to use. No account needed.
  • Your images stay on your device.
  • Check the preview and exact file size.
JPG · PNG · WebPUp to 15 MB · 24 MP
A little help getting the right result

Print size to pixels, crop fit and JPG vs PNG

Convert a form's centimetre or inch size into exact pixels, see whether your photo needs a crop or a white margin, and compare real measured file sizes by format. Sizes are common examples; confirm your current notice.

1. Print size → exact pixels

276 × 354 px at 200 DPI (0.1 MP). Formula: pixels = round(cm ÷ 2.54 × DPI).

2. Fit your photo into the required box

Centre crop · aspect difference -13.7%

Crop 13.7% of the source to a centred 3000 × 3450 px window, then scale to 200 × 230 px. Keep the face centred; never stretch.

Centre crop window
3,000 × 3,450 px (13.7% removed)
Fit on white
173 × 230 px image, 13.5% margin
200 px printed 3.5 cm wide
≈ 145 DPI

Exact 200 × 230 px canvas · source crop (sx, sy, sw, sh) = (0, 275, 3000, 3450) → (dx, dy, dw, dh) = (0, 0, 200, 230)

The main compressor reduces bytes and may shrink dimensions. The exact-pixel exporter keeps the canvas at exactly 200 × 230 px, crops or pads on white in your browser, and lowers JPEG quality only.

3. JPEG vs PNG vs WebP under a KB limit

Measured bytes for ID photo 200 × 230 px against 20,000 bytes
FormatMeasured bytesFits 20 KB?Header bytesAccepted by forms
JPEG ★7,503Yes (12,497 B spare)FF D8 FFAlmost always
PNG55,093No (+35,093 B)89 50 4E 47Some forms
WEBP3,110Yes (16,890 B spare)52 49 46 46 … 57 45 42 50Rarely

Use JPEG: 7,503 bytes fits. Lossless PNG is 55,093 bytes — over the 20,000-byte limit — because continuous-tone photo pixels barely compress without loss.

Portals read the first bytes of the file, not its name. A PNG renamed to .jpg still starts with 89 50 4E 47 and can be rejected; a real JPEG starts with FF D8 FF. Re-encode instead of renaming. Measured on seeded test images (JPEG quality 85, lossless PNG, WebP quality 80).

Exact-pixel photo export (crop or white pad)

Make a JPEG that is exactly the selected pixel size, then search JPEG quality so the file stays at or under your maximum. The photo is never stretched. Sizes are common examples; confirm your current notice.

Choose a JPG, PNG, WebP or HEIC photo. It stays on this device.

Box 200 × 230 px · Centre crop to fill · example window 20,480–50,000 bytes

Output is always a JPEG (header FF D8 FF) on a white background, so transparency becomes white. The tool checks the downloaded bytes and pixel size; it does not check face position, background colour or live-photo rules.

How to Prepare Your Image in 3 Steps

  1. 1

    Select or Drop Image

    Choose a supported static JPG, PNG or WebP file up to 15 MB and 24 megapixels. Animated images and PDF files are not supported.

  2. 2

    In-Browser Compression

    Your browser tries quality and dimension settings within its processing limits. Time depends on the file and your device; a matching result is not guaranteed.

  3. 3

    Download Verified File

    Download after checking the result against your destination’s file type, size and dimension requirements.

A GOOD FIT, NOT JUST A SMALL FILE

Make every kilobyte count.

How compression works

Choose the right output format

Use JPG when your form asks for a photograph in JPEG format. JPEG replaces transparent areas with white. Use WebP when the destination accepts it and you need a smaller file or transparency.

PNG is supported as an input. Downloads are JPEG or WebP; this tool does not export PNG or PDF.

Small enough, and still readable

Compression can soften details and reduce pixel dimensions. Check faces, letters and signature strokes in the comparison before downloading. File size in KB and image dimensions in pixels are different requirements.

For a strict 20 KB maximum, this site checks against 20,000 bytes. See why that differs from 20 KiB.

Supported inputs are static JPG, PNG or WebP files up to 15 MB and 24 megapixels. Before compression, the working image is limited to 12 megapixels; larger sources are reduced proportionally even if a generous byte limit is selected. The search may reduce dimensions further. Some images cannot reach the selected maximum within the time, attempt and minimum-dimension limits. The tool does not pad a smaller result to an exact size or enforce a minimum file size.

Convert Image to JPG 20 KB — Verified Baseline JPEG Compressor

Nearly all legacy government portals, banking KYC forms, and examination software verify the first magic bytes of an uploaded file (FF D8 FF) to ensure that the file is actually a legitimate baseline JPEG and not a renamed PNG or HEIC file. If you convert image to jpg 20kb using our dedicated JPG compressor, the browser will re-encode your original image in a standards compliant `.jpg` bitstream with a capped maximum of at most 20,000 bytes. When users just change .png or .webp to .jpg, there are some mysterious validation errors, while choosing to convert image to jpg 20kb properly rewrites the file header and color space in local memory. Whether you want to compress image to 20kb from an existing camera JPEG or image to jpg 20kb from a modern smartphone screen shot, our tool ensures true JPEG compliance, transparent to white background flattening and side-by-side visual verification without any server uploads.

  • Writes genuine baseline JPEG (`FF D8 FF`) headers when you convert image to jpg 20kb for strict exam and KYC validators.
  • Flattens PNG or WebP transparency onto white automatically and lets you compress image to 20kb in one step.
  • Verifies exact byte count at or below 20,000 bytes prior to download for global JPEG workflows (comprimir jpg, compresser jpg, jpg 圧縮).

Why must I convert image to jpg 20kb instead of renaming a PNG file?

Online portals inspect the binary file header (`FF D8 FF`). When you convert image to jpg 20kb in our tool, your PNG or WebP is genuinely re-encoded as a baseline JPEG under 20,000 bytes.

What happens to transparent areas when I convert image to jpg 20kb?

Because baseline JPEG does not support transparency, transparent pixels are automatically composited onto a clean white background before we compress image to 20kb.

Still getting an upload error?
  • Check the destination’s required file type. A small WebP file will not work in a JPG-only field.
  • Check both minimum and maximum file size. A result under 20 KB may also be below a required 10 KB minimum; this tool enforces a maximum only.
  • Check the required pixel dimensions, crop, background and photograph date. This compressor does not set an exact width, height or DPI.
  • If the result is blurry, crop away unnecessary background in an image editor first, then try again. Choose a larger target only if the destination allows it.

Frequently Asked Questions

Why do portals reject 20.1 KB files?

20.1 KB exceeds a 20,000-byte maximum. This tool only enables download for an output within the selected ceiling. Other form requirements still apply.