Compress an image to an exact KB

Upload limits ask for 100KB, 50KB or 20KB — not “smaller”. Set the exact size, get a file that actually fits, without wrecking the picture.

Files never leave your browser No account needed No watermark
Drop an image here, or click to choose JPG, PNG or WebP · up to 50MB · processed on your own device
Compressed result preview
—Before
—After
—Dimensions
—Distance to target
Download

Next step: crop a photo to passport or visa spec — exact pixels, 300 DPI tag, file-size cap.

How it works

1. Pick your limitType the exact KB your form asks for, or tap a preset.
2. We search for the best fitThe compressor tries quality and resolution combinations on your device until the file lands within 3% of your target.
3. Download and upload itSave the file and hand it to whatever form asked for it.

Questions

Is my photo uploaded to a server?

No. Compression runs inside your browser using the canvas API. The file never leaves your device, so there is nothing to delete afterwards and nothing to leak.

What if it cannot reach the target exactly?

Some files cannot go below a certain size without becoming unusable — a very detailed photo at 20KB, for example. When that happens we return the closest achievable result and tell you the gap instead of silently failing.

Which format should I choose?

JPG is the safe default for photos and almost every upload form accepts it. WebP is roughly 25% smaller at the same quality but not every portal accepts it. PNG keeps text and flat graphics sharp but cannot be pushed as small.

Does it keep my photo metadata?

No. Converting through the canvas strips EXIF, including GPS coordinates. That is usually what you want for a form upload — say so if you need it preserved.