2 MB describes data, not width and height
An upload limit of 2 MB usually refers to the file's stored data. This tool uses the decimal definition: 2 MB = 2,000 KB = 2,000,000 bytes. Some software reports size in binary units, where 2 MiB is 2,097,152 bytes. The smaller decimal limit also fits within that binary limit.
A 1200 × 800 photograph can be larger or smaller than 2 MB depending on format, detail, and encoding. There is no reliable “2 MB in pixels” conversion. If your application asks for both 600 × 600 pixels and a 2 MB maximum, those are two separate checks.
Prepare the file in four steps
- Read the upload field. Confirm it accepts JPEG and note any required width, height, or minimum size. Keep a copy of the source.
- Choose your image above. JPEG, PNG, and WebP are accepted. For an iPhone HEIC photo, convert it to JPEG first.
- Check and compress. Leave Maximum size at 2000 KB for 2 MB. If a JPEG already fits, the download preserves its original bytes instead of recompressing it.
- Inspect the downloaded JPEG. Confirm the measured bytes and dimensions, then open it at full size to check important detail before submitting it.
A file-size pass is one part of an upload check
Suppose a form asks for a square JPEG under 2 MB, and your photo is 1600 × 1200 pixels. Compressing can satisfy the byte limit while leaving the image rectangular. Use the editor's combined requirements controls to set the required square dimensions and choose crop-to-fill or white padding.
For a passport or visa application, framing, background, recency, and restrictions on editing can matter too. Follow the issuing authority's current instructions. The passport photo guide links to official application-specific sources.
If quality reduction is not enough
A large, detailed photo may exceed your limit even at the lowest tested JPEG quality. The compressor then automatically reduces the pixel dimensions just enough to fit and reports the new size. If the destination also requires exact dimensions, set them together with the limit in the editor, where the tool will not shrink below the size you specify.
Look for block patterns, halos around text, or blurred facial details after compression. If those appear, start again from the original. Saving an already-compressed JPEG repeatedly can add further damage. For a much smaller allowance, use the 50 KB workflow.
Common questions
What is the pixel size of a 2 MB photo?
There is no fixed pixel size for 2 MB. A detailed photo and a plain-background image can have identical width and height but different file sizes. Check pixel dimensions and bytes separately.
Can I set a 1 MB, 500 KB, or 200 KB limit?
Yes. Enter 1000, 500, or 200 in Maximum size (KB). Changing the limit clears the previous result, so check and compress again before downloading.
Why is my file still rejected after it fits?
The form may also require a specific format, minimum file size, width, height, filename, or acceptable photo framing. Check the exact error and the current application instructions. A file-size pass checks bytes only.
Will PNG and WebP remain in their original format?
No. This compressor produces JPEG output, including a white background wherever the source is transparent. Keep the original if you need transparency or a lossless copy.