Compress Image to 1MB
Automatically compress any image to under 1 MB using jsquash binary-search encoding.
- Before/after preview
- Privacy-first
- No signup
Drag, drop, paste, or browse
JPG, PNG, WEBP, GIF, and AVIF up to 50 MB. Paste from clipboard with Ctrl+V.
Settings
Tune output without leaving the browser.
Target
≤ 1 MB
jsquash finds the highest quality that fits, scaling down if needed.
Best compatibility, great for photos. Transparent areas become white.
Before / after preview
Compare the source image with the generated file.
Result download
Your processed image will appear here.
Guide
Useful to know
Quality vs file size
Lower quality settings shrink files but introduce artifacts in flat areas like skies and skin. For most photos, 70-85% quality is visually indistinguishable from the original at typical viewing sizes.
What gets compressed
ImgShifter compresses JPG, PNG, WEBP, and AVIF locally in your browser. Hitting an exact size needs a lossy encoder, so the output is JPEG, WEBP, or AVIF - pick WEBP or AVIF to keep transparency. Re-compressing the same file repeatedly compounds quality loss.
Compress to 1 MB online with ImgShifter
ImgShifter compresses images locally with WebAssembly builds of MozJPEG, libwebp, and libavif from the jsquash project, plus Oxipng for lossless PNG. The slider controls quality directly, and the before/after preview gives an instant read on visual loss before you commit to a download.
PNG output is lossless. JPG, WEBP, and AVIF are lossy, so re-compressing the same file repeatedly compounds artifacts - start from the highest-quality source you have. Files of up to 50 MB process comfortably; larger files are limited only by your device's available memory.
Every byte stays on your device. You can verify by opening the Network tab while you compress, or by disabling your network after the page loads - the tool keeps working.
Keep going
Related tools
Other ImgShifter tools people use alongside Compress to 1 MB.
Compress to 500 KB
Automatically compress any image to under 500 KB using jsquash binary-search encoding.
Compress to 300 KB
Automatically compress any image to under 300 KB using jsquash binary-search encoding.
Compress
Reduce image file size with a quality slider and instant before/after stats. Powered by the jsquash MozJPEG, libwebp, AVIF, and Oxipng encoders.
Resize
Resize photos and graphics with aspect-ratio presets and bulk support, right in your browser.
Read
From the blog
Deeper guides related to Compress to 1 MB from the ImgShifter blog.
Image Too Large to Upload? How to Fix It on Any Device (2026)
Phone photos run 3 to 6MB and plenty of upload forms stop at 2MB. How to shrink, convert or resize an image so it uploads, on any phone or computer.
Read the guideWebP vs. JPEG vs. PNG vs. AVIF: Which Image Format Should You Actually Use?
JPEG, PNG, WebP, and AVIF compared in plain English — what each format does well, what it breaks on, where browser support stands in 2026, and which one to actually ship for photos, graphics, and the web.
Read the guideFrequently asked questions
Short answers for image workflows, privacy, and supported formats.
How does ImgShifter guarantee the file comes out under 1 MB?
It binary-searches the quality setting - encoding, measuring, and re-encoding with MozJPEG, libwebp, or the AVIF encoder until the file lands just under 1 MB. If even the lowest quality can't fit (very high-resolution images), the dimensions are scaled down automatically until it does.
Will my photo still look good at under 1 MB?
Almost always yes. 1 MB is a generous budget - a typical 12 MP photo fits with quality high enough that the difference is invisible at normal viewing sizes. Visible degradation only appears with extremely large or detail-dense images.
What needs images under 1 MB?
Email-friendly attachments, CMS and forum upload limits, web page heroes, classified-ad listings, and document management systems commonly cap at 1 MB. It's the most common 'your file is too large' threshold on the web.
Which output format hits 1 MB with the best quality?
WEBP or AVIF reach the target with more quality to spare than JPG, since their compression is more efficient. Use JPG when the destination demands it; otherwise let the modern formats keep more detail inside the same byte budget.
Is the image compressed on a server?
No - the encoders are WebAssembly builds of MozJPEG, libwebp, and libavif running in your browser. Your photo never leaves your device, and the tool works offline after the page loads.