imagetoolbox

Compress an image to 5MB

Drop an image and it's squeezed to fit under 5MB, at the best quality that still fits.

  • Free
  • Runs on your device
  • No account
  • No limits

Good to know

5 MB fits nearly any photo without a visible change, so this is about clearing a limit rather than saving space.

Camera photos and scans are the usual reason to need it.

This page is the compress an image to a target size tool with the setting already filled in. Everything happens in your browser, so the file is never uploaded.

All ready-made sizes

Common questions

Is the compressor free?

Yes, properly free. No paid tier, no trial, no watermark on the result and nothing to sign up for. Put as many files through it as you like, as often as you like.

Are my files uploaded to a server?

No. The compressor runs inside your browser, on your own machine, so your files never go anywhere. Big ones are fine too, up to whatever your browser can hold.

Why is my image still bigger than 5MB?

Because quality alone couldn't get it there. The tool lowers quality as far as it sensibly can, and on a very large photo with a tight target that's not always enough. Turn on downscaling and it will reduce the dimensions as well, which is almost always the better looking answer, since a smaller picture at decent quality beats a large one that has been crushed.

How much quality will I lose getting down to 5MB?

It depends entirely on the picture rather than on the number. A soft photograph compresses beautifully and may look untouched, while a screenshot full of text and flat colour shows the damage quickly at the same file size. The result line tells you the quality setting that was used, so you can see how hard it had to work.

Free to use, with no account and no limits. Everything runs in your browser, and your files never leave your device.