Compress an image to 20KB

Compress any photo to under 20KB in your browser — free, no sign-up, no watermark. Best quality that fits 20KB, found automatically. Files never upload.

Drop an image — we’ll compress it under 20 KB

or click to choose — JPG, PNG, WebP, GIF, AVIF

Compressing in your browser…

Reading image…

Compressed image preview
Download

Many government portals, university application forms and job sites reject photos above 20KB — signature files and avatar uploads often carry the same limit. This page compresses any JPG, PNG or WebP image under that line, right in your browser: the file is never uploaded, so passport scans and ID photos stay on your device.

Drop your image above and Rollphy searches for the highest encoding quality that still fits 20KB — not a crude resize, but a proper search over quality settings. If the image can’t fit at full size, it is scaled down just enough to meet the limit, and the final dimensions are shown before you download.

For portraits and ID photos, 20KB is tight but workable in WebP; on Safari the fallback is JPEG. If you actually need a slightly larger allowance, the 50KB and 100KB targets are one click away.

Frequently asked questions

How do I compress a photo to exactly 20KB?
Drop the image on this page. Rollphy tries quality levels from high to low and keeps the best one that lands under 20KB — the exact output size is shown before download.
What if my image still won’t fit 20KB?
If even the lowest quality overshoots, the image is scaled down automatically until it fits. Very large posters may end up resized; the final dimensions are always shown.
Is the 20KB limit exactly enforced?
Yes — the compressor only offers the download once the file measures under 20,000 bytes (20 KB in Finder and Windows Explorer alike), so portal uploads won’t bounce.