How to compress an image to 1 MB in 3 steps
- Add your image β drop a JPG, PNG or WebP above or click to browse. Nothing is uploaded; the image stays on your device.
- Press βCompress to 1 MBβ β the tool automatically searches for the highest JPG quality whose file fits 1 MB, and only reduces the dimensions if quality alone cannot get there.
- Download the result β you see the original size, the final size and the final dimensions before you download, including an honest note if the dimensions had to be reduced.
Who needs an image under 1 MB?
This page exists for the classic 1 MB ceiling β email attachments, CMS and blog uploads, and forms that say βfile must be under 1 MBβ. Instead of guessing with a quality slider and re-saving five times, you state the limit once and the tool searches for you: first quality at full size, then β only if needed β smaller dimensions, until the file fits at or under 1 MB.
One megabyte is where quality stops being a compromise for screen use: almost every photo fits at full size with a high quality setting, which is exactly what the search finds for you.
How it works
The image is decoded locally in your browser and drawn onto a canvas. It is first encoded as JPG at 92% quality. If that already fits 1 MB, you are done. If not, a binary search between 5% and 92% quality finds the highest quality that fits, keeping the full dimensions. Only when even the lowest quality is still too large does the tool step the dimensions down by 15% at a time (re-encoding at 70% quality) until the file fits β and when that happens, the result line says so and gives the final dimensions. The output is always a JPG at or under 1 MB (1048576 bytes), and because everything happens on your device, your image is never uploaded.
Worked example
A 9.6 MB JPG photo compressed to 1 MB keeps its full 4032 Γ 3024 dimensions and comes out at just under 1 MB β a saving of about 90% with quality you cannot distinguish from the original on screen.
Frequently asked questions
Will my compressed image be exactly 1 MB?
No β it will be at or under 1 MB, never padded up to it. The tool searches for the highest quality that fits within the limit, so the result is usually just a few KB below it. βUnder the limitβ is what upload forms actually require.
Why did the dimensions of my image change?
Only when there was no other way: JPG quality has a floor, and a detailed full-size photo cannot always reach 1 MB on quality alone. In that case the tool reduces dimensions step by step and tells you the final pixel size in the result line.
Why is the output always JPG?
JPG gives the smallest file for photographs and is accepted by every form and portal. PNG has no quality control, so hitting an exact size with PNG is unreliable β that is why this page, like the main Loona compressor's target mode, outputs JPG.
What does KB mean here β 1000 or 1024 bytes?
This tool counts 1 KB as 1024 bytes, so the target is 1048576 bytes. Some portals count 1000 bytes per KB; if yours does, your file at or under 1 MB (1024-based) is still within a few percent β for the strictest portals, pick the next size down to be safe.
Is my image uploaded to a server?
No. Compression happens 100% in your browser using the Canvas API. Your images never leave your device.
Is this 1 MB compressor free?
Yes β completely free, with no signup, no watermark and no limit on the number of images.
More free photo tools
Compress photos to any exact KB size with the full tool.
Convert JPG, PNG and WebP both ways, with quality control.
Compress any image to 10 KB or under, automatically.
Compress any image to 20 KB or under, automatically.
Compress any image to 30 KB or under, automatically.
Compress any image to 40 KB or under, automatically.
Compress any image to 150 KB or under, automatically.
Compress any image to 300 KB or under, automatically.
Compress any image to 500 KB or under, automatically.
Compress any image to 2 MB or under, automatically.
Resize by pixels, cm or inches, with a print DPI setting.