Compress an image to 5 MB

Upload box says 'max 5 MB'? Add your photo and get the best-looking version that's 5 MB or smaller.

Loading tool...

How to compress an image to 5 MB

Quick answer: To compress image to 5 mb, open the tool above, the 5 MB limit is already set, and add your file. It keeps the best quality that fits under the limit, lowering quality first and size only if needed. Nothing is uploaded.

  1. The target is already set to 5 MB, change it if your limit is different.
  2. Add one or more photos (JPG, PNG, HEIC or WebP).
  3. Download, the result shows the final size.

What does 5 MB look like?

At 5 MB, a typical photo is a full-resolution photo, suitable for printing at common sizes.

We find the highest quality that fits under 5 MB. Only if quality alone isn't enough do we gently reduce the dimensions, so you never get a needlessly blurry image.

Tip: If a form says 'under 5 MB,' a file of exactly 5 MB can still be rejected because of how sites count kilobytes. We target just under the limit to be safe.
Private by design. This tool runs in your browser. Your photos are never uploaded, not to us, not to anyone. How it works →

Frequently asked questions

Is it safe? Are files uploaded?

Nothing is uploaded. Conversion happens inside your browser on your own device, so it's safe for personal photos and documents, and it works offline once the page has loaded.

How do I reduce a photo to 5 MB?

Add it above, the target is preset to 5 MB. You'll get a JPG at or just under 5 MB.

Will it work with iPhone photos?

Yes. HEIC photos are converted and compressed in one step.

Related tools

Other size targets

Last updated November 18, 2026