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.
1 · Add your photo
2 · Result
3 · Set the budget
Fine-tune — resolution, format, metadata
How it works
Your browser reads the photo straight from your disk with the canvas API. No upload, no queue, no server.
The encoder binary-searches JPEG/WebP quality and steps the resolution down until the file fits your KB limit.
You get a correctly named, metadata-free image with the exact size printed next to it — ready to upload.
Built for hard upload limits
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.
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.
The image is processed in your browser tab and never transmitted. EXIF, GPS and camera serial numbers are stripped by the re-encode.
Rotation recorded in EXIF is applied before resizing, so portrait shots stay upright after compression.
PNG logos and cut-outs are composited onto white, so JPEG output never turns transparent pixels black.
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.