How it works
JPG compression has a quality setting. Lower quality means a smaller file. The tool tries quality levels in a binary search — high, low, then halfway, and so on — until it finds the highest quality that still fits under your largest file size. If even the lowest quality is too big, it shrinks the pixel dimensions step by step until the file fits.
- Choose your image.
- Type the largest file size in KB (or use the slider).
- Optional: enter a width or height in pixels if the form specifies one.
- Download the result.
Tips for the best quality at small sizes
- Smaller pixel dimensions look better than heavy compression. A 600 px wide photo at 50 KB looks sharper than a 3000 px photo squeezed to 50 KB.
- Crop away empty background first — fewer pixels to store.
- Photos of documents compress better if they are bright and evenly lit.
Popular sizes: 20 KB, 50 KB, 100 KB.
Portals disagree on whether 1 KB is 1,000 or 1,024 bytes. Files from this tool stay under the maximum and over the minimum by both definitions, so a “50 KB max” limit is never exceeded by a few bytes.