Compress Image
A form that rejects a JPG as too large wants a smaller file, not a different picture. Compress it to an exact KB target online and the panel searches for the best quality that fits, then reports the size it wrote.
- Type the form's limit into Target File Size, or choose a preset.
- Keep Preserve Dimensions on for a full-size first attempt.
- If the target is still missed, reduce dimensions further or change format and run again.
Read the upload rule before you compress
Find out which number the form enforces. A limit in KB is about the file, while a limit in pixels is about width and height, and shrinking one does not always satisfy the other. Note the accepted format too, because a JPEG-only portal will reject a WebP that fits. If the page also names a minimum, keep the original ready: re-encoding can occasionally produce a larger file, and the panel reports the measured result rather than hiding it.
Hit a strict KB limit step by step
Enter the limit under Target File Size. For JPEG and WebP, the search tries the full-size image first, so quality is spent before pixels; only if that cannot reach the target does it reduce dimensions. PNG has no quality setting, so the target is measured rather than chased; reduce dimensions or switch format if it must come down. The Result line shows the measured size and the Quality line shows what the encoder used. You can also turn Preserve Dimensions off to start from smaller dimensions, or switch Output Format to WebP, which keeps transparency. JPEG suits portals that demand it, but transparent areas are flattened onto the background colour.
When the limit is too small for the picture
Some images cannot reach an aggressive limit without visible damage. If the panel stops above your number, take the smallest safe result and change something else: Crop removes pixels you do not need, Resize can drop the longest side, and WebP often stores the same view in fewer bytes. Compress that new copy once. Repeated passes on a JPEG or WebP only discard more detail.
Check the downloaded size before returning to the form. If the upload still fails, re-read the other rules rather than compressing harder.
Common questions
- Can I compress a JPG to an exact KB limit?
- Enter the limit and the tool searches for the highest quality that fits. For JPEG and WebP it tries the full-size image first and reduces pixel dimensions only if quality alone cannot reach the limit. The result may land under the number, or it may fail to reach a very small one; the panel then shows the measured size it managed. A target is a ceiling to aim for, not a guarantee.
- Why did the file shrink but the form still reject it?
- The form may also check pixel dimensions, format or a minimum size. Compressing is aimed at file size, and it can still miss the other rules. Check them, then use Crop, Resize or Convert before trying again.
All image processing happens in your browser. Your image is never uploaded, and there is no signup.