Online forms love exact file-size limits: a passport portal wants under 20KB, a job site caps photos at 100KB, an email won't take more than 1MB. Hitting a precise size by hand — export, check, adjust quality, repeat — is tedious and imprecise. Here's how file size actually works and how to land on any target in one step.
What controls an image's file size
Two things decide how many kilobytes an image takes: its dimensions (the number of pixels) and its compression level (how aggressively detail is discarded). To reach a small target you usually reduce both — shrink the pixels first, then fine-tune JPG quality. Lowering quality alone on a full-resolution photo creates blocky artefacts, which is why resizing first is the secret to a clean result.
Pick the right target
| Target | Best for | Tool |
|---|---|---|
| 10–20 KB | Signatures, strict exam/govt photos | Compress to 20KB |
| 30–50 KB | Most application & registration forms | Compress to 50KB |
| 100–200 KB | Web & blog images that stay sharp | Compress to 100KB |
| 500 KB – 1 MB | Emailing or printing high-quality photos | Compress to 1MB |
The one-step method
Instead of guessing, use a target-size compressor. Pick the exact size you need, drop your photo in, and it automatically searches for the highest quality that still fits under the limit — or use Reduce Image Size for a flexible reduction. Need an unusual number? Compress to a custom size lets you type any KB target. Everything runs in your browser; your file is never uploaded.
Tips to keep quality high
- Crop tightly before compressing — less detail compresses smaller.
- Use JPG for photos; PNG for graphics, text and transparency.
- Pick the largest size the form allows for a clearer image.
- Keep your original so you can re-compress to a different target later.
Frequently asked questions
- How do I compress an image to an exact KB size?
- Use a target-size compressor: pick the KB limit, upload the image, and it searches for the highest quality that fits. For very small targets, reduce the dimensions first.
- Should I use JPG or PNG to hit a small file size?
- JPG. It uses lossy compression that reaches small sizes far more efficiently than PNG, which is lossless and stays large for photos. Use PNG only for graphics or transparency.
- Can I compress to a size that isn't a round number, like 35KB?
- Yes — a custom-size compressor lets you type any target KB and fits the image under it automatically.