Photo Size Compressor 20kb

Free · in-browser · no sign-up

Photo Size Compressor

Shrink any phone photo to a strict 20 KB budget — or 50, 100 or 200 KB — and download it in seconds. Everything runs on your device, so the picture never leaves it.

JPG · PNG · WebP in Nothing uploaded EXIF & GPS removed

1 · Add your photo

2 · Result

Your compressed photo and its exact file size appear here — with a before/after comparison you can drag.

3 · Set the budget

KB custom
20 KB is the usual ceiling for job portals, visa and exam forms. Any value from 5 to 2000 KB works.
Fine-tune — resolution, format, metadata
Auto starts at your photo's own size and only steps down when the KB budget cannot be met.
Transparent areas are flattened onto white either way.

How it works

1 · Decode on device

Your browser reads the photo straight from your disk with the canvas API. No upload, no queue, no server.

2 · Hunt the byte budget

The encoder binary-searches JPEG/WebP quality and steps the resolution down until the file fits your KB limit.

3 · Download the result

You get a correctly named, metadata-free image with the exact size printed next to it — ready to upload.

Built for hard upload limits

Strict, honest sizes

The result is measured in real bytes, not estimated. If the target is physically impossible you are told the best achievable size instead of being looped forever.

Form-ready output

JPEG for maximum compatibility, or WebP when you want more detail for the same KB. The file is named for you, e.g. photo-20kb.jpg.

Privacy by construction

The image is processed in your browser tab and never transmitted. EXIF, GPS and camera serial numbers are stripped by the re-encode.

Phone photos handled

Rotation recorded in EXIF is applied before resizing, so portrait shots stay upright after compression.

Transparency flattened

PNG logos and cut-outs are composited onto white, so JPEG output never turns transparent pixels black.

Clear failure modes

HEIC from an iPhone, SVG and animated GIF are rejected upfront with a plain-language reason and no half-written download.

FAQ

Is my photo uploaded anywhere?

No. The whole compression runs inside your browser tab using the canvas API. You can disconnect from the internet after the page loads and it still works: there is no upload step to disable.

20 KB looks blurry — is that normal?

20 KB is a tight budget, roughly a small passport-style photo. The compressor keeps as much resolution as the limit allows and lowers JPEG quality before it shrinks pixels. For a sharper copy raise the target to 100–200 KB, which most portals also accept.

What if 20 KB is impossible for my photo?

You get a truthful warning with the smallest size we can reach and the resolution it needed, plus a working download. The tool stops at minimum quality and 160 px instead of grinding your tab to a halt.

Does it keep EXIF or GPS data?

No, and it cannot. Any canvas re-encode writes a fresh file without metadata, so the download is clean by default. Orientation is baked into the pixels first, so the picture still looks right.

Why is my iPhone HEIC rejected?

Browsers can only decode the formats they were built with, and HEIC is not one of them. On iPhone open Settings › Camera › Formats › Most Compatible, or share the photo as JPG, then drop it here.

Can I use the result on a government form?

Usually yes: uploads check the file size and that the file really is a JPEG. Keep your original somewhere safe — the compressed copy is for the form, not for your archive.

Latest updates