Exact-KB Image Compressor — Compress JPG to 20KB, 50KB, 100KB or 200KB
Set an exact file-size ceiling in KB and scale images proportionally in your browser—no quality guessing and zero file uploads.
100% browser-local processing · Zero uploads · No account · Ready offline
Preview and download
Choose an image to see your crop here.
Example To upload a portrait to a portal capped at 100 KB, click the 100 KB preset, choose your image, and verify the exact output KB before downloading.
Technical standards and tool limits
Target KB acts as an upper ceiling (1 KB = 1,000 bytes). Always inspect the preview for text or facial clarity after aggressive compression.
Compression parameters & byte math
| Parameter | Behavior |
|---|---|
| Kilobyte definition | 1 KB = 1,000 bytes (strict decimal cap so files pass both KB and KiB portal checks), configurable from 1 to 5,000 KB. |
| Longest edge | 1 to 4096 px. Scales proportionally without cropping or distorting aspect ratio. |
| Quality search | Binary-searches browser JPEG quality steps and embeds a clean 300 DPI JFIF header. |
Hit any portal file-size limit in three steps
- Select a JPG, PNG or WebP image from your device.
- Tap a target KB pill (such as 50 KB or 100 KB) or type your custom ceiling, then press “Compress to JPG”.
- Verify the exact output KB and pixel dimensions in the result panel before downloading.
Frequently asked questions
How do I compress a JPG under 50 KB or 100 KB without guessing quality?
Pick a quick target pill (20 KB, 50 KB, 100 KB, 200 KB or 500 KB) or type your exact cap. ToolCapy runs a binary search across JPEG quality levels in your browser and verifies the exact byte count before you download.
Does this compressor crop or stretch my photo?
No. It scales the width and height proportionally within your chosen maximum edge (default 1200 px), preserving the full composition.
Why is 1 KB calculated as 1,000 bytes here?
Strict web upload forms often validate `file.size <= 100000` (decimal kilobytes) rather than `102,400` bytes. Using `1 KB = 1,000 bytes` guarantees your file passes both decimal KB and binary KiB checks.
What if my photo is still larger than 20 KB even at low quality?
Lower the “Max longest edge (px)” setting—for example from 1200 px to 600 px—and compress again. Smaller pixel dimensions dramatically reduce the minimum achievable JPG size.
