compress image to 1 mb for a one megabyte picture cap
Use this page to compress image to 1 mb when a media field allows 1 MB and then stops. A small photo may already sit under 1 MB.
Preset: Compress image to 1 MB
Loading tool…
or drop / paste
Steps to compress image to 1 mb
- Add the picture with Choose files, or drop it. It stays in this tab while you compress image to 1 mb.
- Confirm the target is 1024 KB, which is 1 MB. Format stays on keep, so a JPEG stays a JPEG and a PNG stays a PNG.
- Run the compress. JPEG and WebP use a quality binary search, then a scale ladder if the file is still too big. A PNG is posterised and then scaled, because a lossless pass often cannot hit a small cap.
- Download the picture and compare its size with 1 MB before you upload it to the form.
How this target is applied
If the picture stays a JPEG or WebP, the tool runs a quality binary search and then a scale ladder if needed. It tries middle qualities and keeps a result that lands under 1 MB.
If the picture stays a PNG, a lossless pass often cannot hit a small cap. The tool posterises and then scales. A flat icon shrinks more willingly than a photograph that was saved as PNG. A small photo can already be under 1 MB.
Why 1 MB is the cap
Some media fields allow 1 MB and then stop. The target is 1024 KB, so the control matches the headline. A phone photo often fits by lowering quality. A very large original may also need a smaller width. You are keeping a sharper picture than the thumbnail caps, not an untouched camera file.
Use 1 MB when the form says one megabyte. A small photo may already be under it, in which case the search stops quickly.
What 1 MB does to the picture
Expect a small photo and a large photo to take different paths. The small one may already fit, so you mostly keep the current look.
The search stops at the first result under 1 MB. If nothing fits, you still get the smallest file it made, and you can see that the cap was missed.
Limits, formats and output
| Accepted input | JPEG, PNG, WEBP, GIF, BMP, HEIC, AVIF |
|---|---|
| Files per batch | 1–100 |
| Soft size warning | 50 MB each |
| Hard stop | 500 MB total in memory |
| Output | The chosen image format, or a ZIP for a batch |
| Account | None. The tool runs in this tab. |
Your file never leaves your device
Your image is processed only in this browser and is never uploaded. The work runs in a Web Worker in this tab, using WebAssembly for the heavy parts, and the result comes back as a local blob. This site does not upload the file, store it, or log its name.
To verify: load the page, turn on airplane mode, and drop the file again. It still finishes. Or open DevTools, choose Network, and watch the run: there is no upload. The architecture is described on How it works.
Frequently asked questions
Will a small photo already be under 1 MB?
Often, yes. A small photo that is already under 1 MB can come back close to the size you started with, because the search stops once the file fits. A large camera original is the opposite. It usually needs lower quality and, if that is not enough, a smaller width from the scale ladder.
How does the image target search work?
JPEG and WebP take a quality binary search, then a scale ladder if needed. The search keeps the first result under 1 MB and does not continue after a hit. PNG files on this keep format preset posterise and then scale, because a lossless pass often cannot hit a small cap.
Will the format change?
Format is set to keep, so a JPEG stays a JPEG, a PNG stays a PNG, and a WebP stays a WebP. The target is about bytes. If a form demands JPEG bytes specifically, use a JPEG target instead of this keep format preset.
What if the picture cannot reach 1 MB?
You get the smallest file the search produced, and you can see that it is still over 1 MB. A very detailed photo aimed at a tight cap is the usual reason. Cropping to the subject first gives the compressor less picture to store.
Will a photo suffer more than a logo?
A flat logo or a screenshot loses less at 1 MB than a detailed photo, because smooth areas compress well. A face, foliage, or a product texture shows blockiness sooner. If the picture matters, use the largest cap the form allows rather than the smallest number on this site.
Last updated 2026-09-26. By Tam.