Compress Image to 2 MB
2 MB is a common upload limit for photos that should stay high quality. Most phone photos fit at their original size.
Choose an image to see the result here.
Check against your target
Notes
How we got there
Your image is processed in this browser and never uploaded. Close the tab and it is gone.
2 MB at a glance
- 2 MB with 1 KB = 1024 bytes
- 2,097,152 bytes
- 2 MB with 1 KB = 1000 bytes
- 2,000,000 bytes
- Our safe target
- Up to 1,980,000 bytes
- A plain-background portrait at good quality
- About 1,600 × 2,400 px
What fits in 2 MB
How large a photo can stay, in pixels, when it is saved as a JPG of this size. Detail is what costs bytes, so the answer depends on the kind of photo.
| Photo type | Good quality | Fair quality |
|---|---|---|
| Portrait on a plain background | about 1,600 × 2,400 px prints sharp up to about 13.5 × 20.3 cm at 300 dpi | about 1,600 × 2,400 px prints sharp up to about 13.5 × 20.3 cm at 300 dpi |
| Everyday photo with lots of detail | about 3,072 × 2,048 px prints sharp up to about 26 × 17.3 cm at 300 dpi | about 3,072 × 2,048 px prints sharp up to about 26 × 17.3 cm at 300 dpi |
| Scanned text page | about 1,654 × 2,339 px prints sharp up to about 14 × 19.8 cm at 300 dpi | about 1,654 × 2,339 px prints sharp up to about 14 × 19.8 cm at 300 dpi |
How we estimated this: we ran our own compressor on three reference photos (a portrait against a plain wall, a detailed outdoor photo and a text page scanned at 200 dpi) and recorded the largest size that stays within the target at JPG quality 80 (good) and 60 (fair). Your photo will land near these numbers; a busier photo lands lower, a cleaner one higher.
Sources
jSquash MozJPEG 1.6.0 ·
Where 2 MB comes up
- Photo uploads with a 2 MB limit on forms, marketplaces and support sites.
- Photos for printing services that cap the upload size.
- Keeping a high-quality copy of a photo while saving storage space.
How the tool reaches 2 MB
The tool first turns the photo upright and removes camera data. It then saves it as a JPG, trying different quality settings and keeping the highest quality that stays within the limit.
If even a modest quality is still too large, it reduces the dimensions step by step before lowering quality further, so you get a smaller but clean image instead of a full-size blurry one.
It aims one percent below the limit, so a form that rounds sizes a little differently still accepts the file.
Common questions
How many bytes is 2 MB?
2,097,152 bytes if 1 KB is counted as 1024 bytes, or 2,000,000 bytes if it is counted as 1000. Forms rarely say which they use, so by default the tool keeps the file under 1,980,000 bytes, which passes either way.
Will compressing to 2 MB change the dimensions of my photo?
Only if it has to. The tool keeps the original pixel size when the photo fits at a reasonable quality, and reduces it only when that is the only way to reach 2 MB without the photo turning blocky. If the form also asks for exact dimensions, open “Also change dimensions” and enter them.
Is my photo uploaded anywhere?
No. The compression runs in your browser on your own device. You can disconnect from the internet after the page has loaded and the tool still works.
My photo is 2.1 MB on my phone. Why does the form still reject it?
The file is over the limit in both counts. 2.1 MB on a phone is 2,100,000 bytes, more than 2,000,000. Note that a phone showing exactly 2.0 MB may also be rejected by a form that counts 1000-byte KB. Compress it here and the result stays under 1,980,000 bytes.