Compress an Image to 1 MB
The target below is already set to 1 MB. Drop an image in and the highest quality that still fits is chosen for you — in your browser, with no upload.
Drop an image here, or click to browse
JPG, PNG or WebP · processed locally · no size limit
Why people compress to 1 MB
If something is asking you to get under 1 MB, the interesting question is why the file was so far above it.
- Email attachment limits
- Upload caps on forums and support tickets
- Trimming a phone photo before sharing it
- Anywhere a 10 MB original is simply wasteful
Why is your photo over 1 MB in the first place?
One megabyte is a generous limit, and a photograph almost never needs to be near it. The reason phone photos arrive at 5–12 MB is that modern sensors capture 12 to 48 megapixels and save at very high quality by default — you are storing detail that no screen will ever show. Compressing to 1 MB usually throws away nothing you can perceive, which is why this target almost always succeeds without any resizing.
Where a 1 MB limit usually comes from
A cap around this size is rarely a considered decision about photographs — it is usually the server's default showing through. WordPress, for instance, does not set a limit of its own: its `wp_max_upload_size()` function "Determines the maximum upload size allowed in php.ini", taking the smaller of PHP's `upload_max_filesize` and `post_max_size`. Whoever configured the host chose those values, often years ago and not with images in mind.
That is worth knowing because it tells you the limit is arbitrary rather than principled, and that a site owner can usually raise it. If you are the one hitting it repeatedly on your own site, the fix may be a configuration change rather than a compression habit.
Source: WordPress Developer Resources — wp_max_upload_size()
Email limits are far more generous than people assume
The other common reason to reach for 1 MB is an email attachment, and the ceiling there is usually nowhere near it. Gmail states plainly that "For personal Gmail accounts, the limit is 25 MB", and that "If your total attachment size is greater than the limit, Gmail automatically removes the attachment and adds it as a Google Drive link in the email."
So compressing a single photograph to fit an email is almost always unnecessary. Where it does help is the case nobody thinks about: an attachment is sent to every recipient and stored in every mailbox, so a 12 MB original mailed to a group of twenty is a quarter of a gigabyte of duplication for an image nobody will open at full size.
Source: Google — Send attachments with your Gmail message
Why the original is so large in the first place
A phone photograph arrives at 5 to 12 MB because the sensor captures far more than any screen will show and the camera saves at a quality setting chosen so that editing later does not degrade it. Both decisions are correct for the file sitting in your library and wrong for the copy you are about to upload. Compressing to 1 MB discards the margin that was being kept for editing, which is exactly the right thing to spend when the image is going straight to a screen — and exactly the wrong thing to do to your only copy. Keep the original.
How the target is reached
Quality is searched before resolution, because losing a little quality is far less noticeable than losing pixels. The tool encodes your image repeatedly, halving the range each time, until it finds the highest quality setting that still lands under 1 MB. Only if even the lowest quality is too large does it begin scaling the image down, and it re-searches quality at every smaller size rather than simply shrinking until it fits.
One format note worth knowing: PNG is lossless, so a quality setting does nothing to it. Hitting a size target with PNG is possible only by reducing dimensions. For photographs, WebP or JPEG will always get you further.