Compress JPG to an exact size
JPG is the format forms expect and the format photos arrive in. The tool above is set to JPG output: pick your target KB and it will binary-search the JPG quality setting until the file fits — no slider-guessing, no upload.
Drop images here, or
JPG, PNG or WebP · add as many as you like · everything runs locally in your browser, nothing is uploaded
Add an image to begin.
How JPG compression works
JPG (JPEG, standardised as ISO/IEC 10918) is a lossy format designed for photographs. It converts the image into frequency components and discards fine detail your eyes are least likely to miss, controlled by a single quality value. High quality keeps more detail and costs more bytes; low quality costs artifacts — blocky patches in skies, halos around text, smeared faces. Because the relationship between quality and file size is smooth and predictable, it is perfect for a binary search: try the middle quality, check the size, halve the range, repeat. Seven or eight tries land within a hair of your target.
Which quality will my photo end up at?
- 50 KB, passport-style photo (~600×750): usually a comfortable mid-to-high quality.
- 50 KB, full phone photo (4000×3000): low quality at full size, so the tool will also scale it down — the result line tells you the final dimensions.
- 200 KB, typical web photo (1600×1200): high quality, visually near-identical to the original.
JPG tips
JPG has no transparency — transparent areas of a PNG become white here, which is what most form portals want anyway. And avoid re-compressing a JPG many times: each save discards a little more. Keep your original, and always compress from it, not from last year's compressed copy. If your source is a screenshot or a logo with hard edges and text, PNG or WebP will treat it more kindly.