Compress an image to 1 MB

Reduce an image to under 1 MB for portals with a 1 MB limit, keeping the best quality that fits.

loading Compress an image to 1 MB
About this tool

What this page does

This page opens the picture compressor with the target already set to 1 MB (1,048,580 bytes). Drop a JPG, PNG, WebP, HEIC or other picture and the tool searches for the best quality that makes the file fit, entirely in your browser: the picture is not uploaded anywhere.

One megabyte is the limit of many upload fields and the point where a phone photo starts to fit with little loss. A recent phone photo is typically several megabytes, so reaching 1 MB means a clear but visible reduction, not a drastic one.

What 1 MB really allows

A file size is a budget of bits shared by all the pixels. A photograph at medium quality usually needs about 1.5 bits per pixel, so a picture with more pixels than the budget can pay for has to be shrunk. The table shows what 1 MB allows for common starting points and, assuming that rate, the size the picture would have after the fit (a rule of thumb: flat graphics need far less, noisy photographs more).

Starting picturePixelsBits per pixel allowedSize at 1.5 bit/pixel
Phone photo, 12 MP4000 × 30000.72731 × 2048
Photo of 8 MP3264 × 24481.052731 × 2048
Full HD screenshot1920 × 10804.05as is
HD image1280 × 7209.1as is
Portrait for a form600 × 80017.48as is
Webcam, VGA640 × 48027.31as is

How the tool gets there

First it tries the original size at the highest quality. If that is too big, it searches the quality between 100 and 40 by halving the range until it finds the highest that fits. If even 40 is too big, or the format is PNG (which has no quality), it shrinks the dimensions instead, never below 10% of the original side. When nothing fits, you get the smallest result it could make, with a warning.

In this tool 1 KB is 1,024 bytes, as most operating systems show it, so 1 MB is 1,048,580 bytes. Some forms count 1 KB as 1,000 bytes: for a limit of 1 MB written that way the largest safe target is 976 KB, and the table below puts the three numbers side by side.

How it is countedBytes
1 MB in this tool (1 KB = 1,024 bytes)1,048,580
The same number counted with 1 KB = 1,000 bytes1,000,000
Safe target: 976 KB999,424

A worked example

With 1,048,580 bytes there are 8,388,610 bits to spend. At 1.5 bits per pixel that pays for about 5,592,410 pixels, which is a 4:3 picture of 2731 × 2048. A 4,000 × 3,000 phone photo would have to lose 53% of its pixels (32% on each side) to be paid for at that rate; a picture that is already smaller than 2731 × 2048 needs no resizing at all, only the quality search.

Step by step

  1. Drop the picture on the area above, or press the button to choose it (several files work too).
  2. Check that the target says 1 MB and choose the format: JPG for photographs, WebP for smaller files, PNG for graphics.
  3. Press the compress button and wait a few seconds: the tool shows the size it reached, the quality used and whether the dimensions had to shrink.
  4. Look at the result next to the original, and download it. The name keeps the original with a suffix, so nothing is overwritten.

A tip for this size

Because the limit is generous, the tool will usually keep the full resolution and only lower the quality. If the form also has a minimum size in pixels, check that the result still meets it: the result line shows the final dimensions.

Common mistakes

  • Compressing a picture that was already compressed several times: each pass of a lossy format adds damage. Start from the original whenever you have it, and use 1 MB only for the final copy.
  • Renaming a PNG to .jpg to get under 1 MB: the form reads the content, not the name, and the weight does not change. Convert with the tool and pick JPG as the format.
  • Sending the result without looking at it: at a hard limit like 1 MB the tool may have lowered the quality to 40 or shrunk the picture, and what you need (a face, a stamp, a number) must still be readable.

Frequently asked questions

Is 1 MB the same as 1,024 KB?

In this tool, yes: 1 MB is 1,024 × 1,024 = 1,048,580 bytes. A form that counts megabytes as one million bytes has a limit of 1,000,000, so aim for 976 KB to be safe.

Is my picture uploaded?

No. The compression to 1 MB runs in your browser, with your own computer or phone, so the picture never leaves your device and the page also works offline once loaded.

Does the form decide the exact limit?

Yes. This page only prepares the file; the exact limit, the accepted formats and how it counts a kilobyte are set by the site you upload to. Read its help text and leave a small margin: 976 KB is the safe target for 1 MB counted in thousands.

Can I compress several pictures to 1 MB at once?

Yes: drop them together. Each one gets its own search, so a small picture is returned almost untouched and a large one is reduced as much as it needs; the results can be downloaded one by one or in a zip.

Report a problem