How to Compress an Image to a Target Size
- Upload your image: drag it in or browse — JPG, PNG, and WEBP are supported.
- Set your limit: enter the exact KB or MB size you need to stay under (common for email attachments, upload portals, or forms with a maximum file-size limit).
- Download: click "Compress" and a file under your limit downloads instantly, at the best quality that still fits.
Why Compress to a Target Size?
Many upload forms — job applications, government portals, email attachments — reject a file for being too large, even if the image itself looks fine. This tool searches for the highest JPEG quality that still lands under your byte limit, so you get the best possible result that clears the check on the first try.
Key Features
- Exact KB/MB ceiling: stay under the precise size a form requires.
- Best quality for the size: searches quality levels (and dimensions, if needed) to maximize quality while fitting your limit.
- 100% local: your image never leaves your browser.