Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.
How to make an image 2 MB
- Choose or drop the image. JPG output is preselected because it compresses photos best.
- The size limit is already set to 2048. The tool tries quality values by binary search (7 steps) and keeps the best one under 2 MB.
- If even very low quality is too big, it reduces width and height and searches again; the note under the result tells you what changed.
- Download. Check the result size shown above the preview.
How many pixels fit in 2 MB?
A JPEG’s size is roughly pixels × bits per pixel ÷ 8. Bits per pixel depend on detail and quality, so these are rough planning numbers, not guarantees:
| Image type | Typical rate | Pixels that fit | 4:3 size | Square |
|---|---|---|---|---|
| simple graphic / document scan, quality 70 | 0.6 bits/pixel | 27.96 MP | 6,105 × 4,579 | 5,287 × 5,287 |
| average photo, quality 70 | 1.2 bits/pixel | 13.98 MP | 4,317 × 3,238 | 3,739 × 3,739 |
| average photo, quality 85 | 2 bits/pixel | 8.39 MP | 3,344 × 2,508 | 2,896 × 2,896 |
| detailed photo, quality 90 | 3.2 bits/pixel | 5.24 MP | 2,643 × 1,982 | 2,289 × 2,289 |
2 MB is a typical limit for email attachments and uploads with megabyte limits while keeping a lot of detail. At this size most photos fit at high quality without changing dimensions.
KB vs kB
This tool counts 1 KB as 1024 bytes, which is how most upload forms and operating systems measure. If a form uses 1 kB = 1000 bytes, 2 MB means 2,000,000 bytes, so the file here will also pass.