Files & Assets

Compress Image to 1 MB

Add a JPG, PNG or WebP and it comes out just under 1 MB (1,000,000 bytes), at the best quality that fits. It all happens in your browser: the photo is never uploaded.

Drop a file, get the result. Nothing is uploaded. Accepted formats: JPG, PNG, WEBP. Maximum file size: 50 MB. Files stay in your browser — nothing is uploaded.

Drop files here

Drop a file, get the result. Nothing is uploaded.

JPGPNGWEBPMax 50 MB

Files stay in your browser — nothing is uploaded

Still JPG, PNG, and WebP images only. GIF and animated WebP files are not supported because this tool would remove their animation.

Navigation
  • Last reviewed:
  • Runs in your browser: nothing is uploaded
  • Found an error?
Did this help?

Cite this tool

The page date is when this page was last reviewed. The retrieval date is today's date on your device. Check your style guide for details such as italics.

Compress to a specific size

Each one is this tool with the size filled in: the file comes out just under it, at the best quality that fits.

What a 1 MB limit is usually for

One megabyte limits. Email systems, forms and CMS media fields often cap uploads at 1 MB, while a modern phone photo is often several megabytes. Compress to just under the cap and keep as much detail as fits.

Still a lot of picture. A megabyte holds a sharp image at full resolution for many photos. The tool only shrinks the dimensions when the picture is too detailed to fit otherwise.

How it reaches 1 MB

The photo is first saved at full size, trying the highest JPEG or WebP quality that keeps the file at or under 1,000,000 bytes. It lowers the quality only as far as needed, and if that would leave the picture badly degraded it makes the picture smaller instead, then spends whatever room is left on quality again. The result is never over 1 MB and, when your photo is too big for it, lands within 3% of it.

A file that is already under 1 MB is left exactly as it is. A PNG is saved as a JPG, because a lossless format cannot be squeezed to an exact size. Transparent areas become white.

Private

The compression runs in this tab with your browser's own image encoder. Your photo is not uploaded and nothing about it is sent anywhere.

Other sizes

20 KB, 50 KB, 100 KB, 200 KB, 500 KB, or choose any size from 10 KB to 50,000 KB. Need to change the dimensions first? Try the image resizer.