Over the limit?
Get under 5MB.
Compress a JPG, PNG, or WebP below the 5MB line that upload forms and print services love to draw — done locally.
How do I compress an image to 5MB? Drop your image, select the 5 MB target, and download. The compressor keeps as much quality as it can while fitting under 5 MB, and the file never leaves your browser.
Target image size compressor
Compressed image
KB = 1,000 bytes; MB = 1,000,000 bytes. A passing result is strictly below the limit. Your form may have additional requirements.
How to compress an image under 5 MB
- Add the oversized image — RAW exports, camera JPEGs, or screenshots saved losslessly.
- Pick the 5 MB target — at this budget the quality loss is usually invisible.
- Download — near-original appearance, ready for the upload form.
Why 5MB keeps coming up
- Print services and photo labs with per-image caps
- Portals that accept larger scans but not raw exports
- Cloud forms and ticketing systems with 5–10 MB limits
Good to know
If your file is already under 5 MB, you do not need to compress it — check with Image info first. Most images settle well below 5 MB once re-encoded, so if the form still complains about size, step down to the 2 MB or 1 MB target.
Why did the dimensions change?
When no required pixels are set, the compressor reduces dimensions only if quality alone cannot meet the byte limit. Required pixel dimensions are kept; if both checks cannot pass, the result is clearly marked over the size limit.
Will the original be overwritten?
No. The result is a new downloaded file. Your original remains unchanged on your device.