GONDAL AI / BLOG
How to Compress an Image to 200 KB (or Any Target Size)
To compress an image to 200 KB, stop guessing quality settings one export at a time: switch the compressor to target-size mode, type 200, and let it search for the highest quality that still fits. That is exactly what our free Image Compressor does — below is how the search actually works inside the tool, and what it did to a real 424 KB photo from this site's own asset folder.
How to compress an image to 200 KB — the 30-second version
- Open the free Image Compressor and drop your image in. It runs entirely in your browser — nothing is uploaded.
- Set Mode to Target file size. The target box starts at 200 KB — the limit upload forms ask for most — and accepts anything from 10 KB to 20,000 KB.
- Pick your format: JPG for photos, WebP for the smallest web file, PNG only when you need transparency or exact pixels (it plays by different rules — see below).
- Press Compress image. The tool shows original vs compressed size and the percentage saved before you download.
What target-size mode actually does (read from the tool's code)
For JPG and WebP, the tool binary-searches quality: it encodes at a quality halfway between 5% and 95%, keeps the result if it fits and searches higher, or searches lower if it doesn't — up to nine encodes, stopping when the range narrows under 3 points. You get the best quality that fits, not the first quality that fits. If even the lowest setting misses, it returns that smallest encode rather than failing.
PNG has no quality dial — it is lossless — so target mode shrinks the dimensions instead: each try scales the image to 80% of the previous size, up to nine tries. That works for graphics and screenshots. For a photograph it often cannot reach 200 KB at any usable size (measured proof below) — the honest fix is to switch the output to JPG or WebP.
Measured: one real photo, three ways to 200 KB
We took a real guide photo from this site's own assets — 2048 × 1152 px, 433,795 bytes (about 424 KB) — and measured it with a standard image encoder. Your browser's built-in encoder will land close to these figures, not byte-identical:
- JPG at the default 82% quality: 281,832 bytes — better, but still over a 200 KB limit. The default quality setting alone does not guarantee the target.
- JPG via the target search: the search settled near 72% quality at 203,538 bytes — under the 200 KB target as the tool counts it (200 × 1,024 = 204,800 bytes), with the highest quality that fits.
- WebP at 82% quality: 138,416 bytes — under target in a single encode, no search needed. When the destination accepts WebP, it is the easiest route under a tight limit.
- PNG, shrunk step by step: still 207,050 bytes at 537 × 302 px — just over the target at a quarter of the original width — and it only fits at the next step down, 429 × 242 px and 139,372 bytes. A photograph reaches 200 KB as PNG only by throwing away most of its dimensions; JPG or WebP keeps the full size.
When 200 KB still won't fit — the order to try things
- Switch format first. PNG → JPG or WebP is the single biggest lever for photos; our WebP vs JPG vs PNG comparison shows the same picture measured all three ways.
- Shrink dimensions second. A 4000 px-wide photo displayed at 1000 px is carrying sixteen times the pixels it needs. Resize first with the free Image Resizer, then compress — our post on resizing without losing quality covers the settings.
- Accept the search's answer. If target mode lands at a low quality, the form's limit — not the tool — is the constraint. Send the largest version the limit allows and keep your full-quality original archived.