Compress image to 2 MB

For big files that need to come in under 2 MB. The target is set under Custom; add your image and press compress.

or drop an image hereYou can also paste with Ctrl+V or ⌘V. JPG, PNG, WebP, BMP, GIF, HEIC or AVIF.
Target size

1 KB = 1,000 bytes, so results also fit sites that count 1 KB as 1,024 bytes.

Keeps JPG and WebP. A PNG without transparency is saved as JPG.

Your result will appear here. Nothing is uploaded: the file stays on your device.

How to compress an image to 2 MB

  1. Choose or drop your file.
  2. Target size shows Custom, 2 and MB.
  3. Keep Auto under Save as, or choose a format yourself.
  4. Press Compress image. When the result shows, check the size and download.

Files that call for a 2 MB target

Very large images on low-memory devices

Some devices, phones in particular, have little memory for image work. When an image is too large for the device, the tool opens it at a reduced size and shows a message with both sizes. The 2 MB target then applies to that smaller version, and the file is always saved again, even if the original was under 2 MB. If you need full resolution, try again on a device with more memory.

What you can set

Custom target and Unit
2 in MB, which the tool reads as 2,000,000 bytes.
Save as
Auto keeps JPG and WebP, and saves PNG, BMP or GIF images without transparency as JPG. Same as original, JPG, WebP and PNG are the other choices.
Allow smaller dimensions if needed
Comes into play only for an image that is still over 2 MB at 50% quality.
Background for transparent areas
Shown when a transparent image will be saved as JPG; the colour fills the see-through parts.

Limits

  • Results reported as reached are 2 MB or less, aimed at 1.8 to 2 MB.
  • The tool stops at 92% quality, so a file can end well under 2 MB.
  • Animated GIFs come out as one frame.

Questions

My image was 1.5 MB. Why is it different now?

Either it was not in the format you chose (a PNG with Auto becomes a JPG), or it was opened at a reduced size on your device. A file already under 2 MB in its own format is returned as it is.

Can I compress a 20 MB photo to 2 MB?

Yes, if your device can open it. The tool lowers quality first and reduces dimensions only if needed; the result line shows which happened.

Does compressing to 2 MB keep the date and camera details?

No. The new file is saved without that information, including GPS location. Keep the original if you need it.

Do I need to install anything?

No. The compressor runs on this page in your browser; no account or app is needed.