Skip to content

Compress image to 2 MB

Upload failed because the file is too large and the form allows 2 MB at most? Shrink your photo below 2 MB here, iPhone photos and whole sets included.

Files never leave your device

Drop images here or

"File too large, maximum 2 MB" is an upload error plenty of people run into, and a phone photo easily goes over that limit. Drop the photos here, the tool gets each one under 2 MB and shows the new size of every file. Read on for why so many forms stop at exactly 2 MB, when to change the pixel dimensions too and how to do it on a phone.

How to compress a photo to 2 MB

  1. 1

    Add your photos

    Choose photos with the button or drag them onto the page. iPhone photos in HEIC are saved as JPG.

  2. 2

    The 2 MB limit is already set

    It applies to each photo separately, so there's nothing to set. For a different limit, use Compress image.

  3. 3

    Choose the dimensions

    If the site states a maximum size, cap the longest side at Full HD (1920 px), 2K (2560 px) or 4K (3840 px).

  4. 4

    Download the result

    Each photo shows its original and new size. One photo downloads directly, several in one ZIP.

Why so many forms stop at 2 MB

PHP, the language behind many websites, has a default upload limit of 2 MB per file. Many forms simply keep that default, so the limit often comes from the server setup rather than from any rule about photos. Some sites raise it, so check what yours says.

How to make a photo smaller than 2 MB

Add the photo and click Compress to 2 MB. The tool first lowers the quality and keeps the dimensions, and shrinks the photo in pixels only when that isn't enough. You see the new size of each photo in the result.

If the form also gives a maximum size in pixels, choose it yourself under Longest side. A photo capped at Full HD usually fits under 2 MB with high quality to spare.

Should I change the pixel size too?

Not if all the form cares about is file size. The tool keeps the full resolution whenever a lower quality alone gets the photo under 2 MB, so you don't lose pixels you might need later.

Change the dimensions when the site asks for them, for example "at least 600 × 600 px" or "no larger than 1920 px". For an exact size, use Resize image first and then compress the result here if it's still over 2 MB.

How to compress a photo to 2 MB on a phone

Open this page in Safari or Chrome on your phone, choose the photos from your library and tap Compress to 2 MB. The compressed photos download straight to your phone, and iPhone HEIC photos come out as JPG, which forms accept far more often than HEIC.

Privacy

Images are processed in your browser and never uploaded to a server. Some tools remember your settings on this device, and the files you download stay on it.

FAQ

Will the photo lose quality at 2 MB?

A little, but you rarely see it on screen. The tool first lowers the quality and keeps every pixel, which is often enough for a phone photo. Only a very large or very detailed photo also gets smaller in pixels.

Why did a site reject a photo under 2 MB?

The format or the dimensions are usually to blame. Many forms accept only JPG and PNG, so a HEIC or WebP file fails even when it's small. Others require a minimum or exact size in pixels. Read the form's requirements and fix those first.

Does compressing to 2 MB change the photo's dimensions?

Only if needed. The tool first tries a lower quality and keeps the dimensions, and shrinks them only when that isn't enough. If the site sets a maximum size, choose it yourself: a 4096 px limit, for example, is covered by the 4K option.

Can I compress several photos at once?

Yes. Select all the photos at once and each one goes under 2 MB separately. You download them in one ZIP with -compressed added to the names, so you won't mix them up with the originals.

Does it work with iPhone HEIC photos?

Yes. The tool accepts HEIC photos and saves them as JPG, so you fix the format and the size in one step. That helps with forms that don't list HEIC among the allowed formats.

Is 2 MB counted as 2,000,000 or 2,097,152 bytes?

This tool uses decimal megabytes, so 2 MB means 2,000,000 bytes. A server that counts 2 MB as 2,097,152 bytes, as PHP does with its 2M setting, allows slightly more, so a photo that fits here fits there too.

Are my photos sent to a server?

No. Compression runs in your browser tab, it's free and needs no sign-up. Your ID photo or unreleased product photos therefore go nowhere until you upload them yourself.

Image tools overview