Browser only - 100% private

Compress Image to 1MB

Automatically compress any image to under 1 MB using jsquash binary-search encoding.

  • Before/after preview
  • Privacy-first
  • No signup

Settings

Tune output without leaving the browser.

Target size

Target

≤ 1 MB

jsquash finds the highest quality that fits, scaling down if needed.

Output format

Best compatibility, great for photos. Transparent areas become white.

OriginalNo file
ProcessedWaiting
Reduction-
ProcessingBrowser

Before / after preview

Compare the source image with the generated file.

OriginalWaiting
Upload an image to begin
ProcessedWaiting
Run a tool to preview output

Result download

Your processed image will appear here.

Waiting for a result

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

Other ImgShifter tools people use alongside Compress to 1 MB.

Read

Deeper guides related to Compress to 1 MB from the ImgShifter blog.

Frequently 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.