How to compress an image to 2 MB
- Choose or drop your file.
- Target size shows Custom, 2 and MB.
- Keep Auto under Save as, or choose a format yourself.
- Press Compress image. When the result shows, check the size and download.
Files that call for a 2 MB target
- High-resolution camera photos. There is room for a lot of detail, but photos with very many pixels may still be scaled down.
- PNG exports of photos or renders. Without transparency, Auto saves them as JPG. Pick Same as original if they must stay PNG.
- BMP files. Auto saves a BMP without transparency as a JPG, and one with transparency as a PNG.
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.