Photo to 20KB
Drop a photo and compress it to a target file size — 20KB by default, or any size you choose — at the best possible quality. All in your browser.
1. Image & target
Canvas · localDrop an image here
or click to browse · or paste with Ctrl/Cmd + V
Target file size
—Adjust
2. Preview & export
—About Photo to 20KB
Photo to 20KB compresses a photo to a target file size — 20KB by default or any size you set — at the best quality it can manage for that limit. It is for forms and portals that cap the upload size of a photo.
Many official forms reject files over a strict size. Compressing to that exact target in the browser meets the limit without uploading your photo anywhere.
Step by step
- Drop the photo you need to shrink.
- Set the target file size, or keep the 20KB default.
- The tool compresses toward that size at the best achievable quality.
- Check the result and the final size.
- Download the compressed photo.
What it offers
- Target file-size compression
- Adjustable size goal beyond the 20KB default
- Quality kept as high as the limit allows
- Compression done in the browser
Tips for best results
- Check the form’s exact size limit and accepted format before uploading; this tool cannot guarantee acceptance.
- Crop to just the needed area first so the limited bytes are spent on what matters.
- Very small targets soften detail; use the largest size the form allows.
Why people use it
Meets upload caps
Hit a strict file-size limit exactly.
Best possible quality
Keeps the photo as clear as the target permits.
Private
Compression happens on your device.
Flexible target
Set any size a form requires, not just 20KB.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.