11MB Compress
Image Compression

Compress Images to 1MB

Reduce JPG, PNG, WebP, and GIF file sizes instantly, from 5MB down to 2MB, 1MB, or even smaller. Free, private, and browser-based. Files never leave your device.

Compress by

Each file is compressed to fit under this size. Popular targets: 5 MB, 2 MB, 1 MB.

Compression tips by format

JPEG photos

Best for photographs. Quality reduction has minimal visual impact at 70-85%.

PNG graphics

Screenshots and illustrations. If a PNG barely shrinks on its own, we also try a JPEG re-encode and keep whichever is smaller.

HEIC (iPhone photos)

Not supported yet — HEIC/HEIF files aren't accepted by this tool. Convert to JPEG or PNG first, or export as JPEG from your phone's share sheet.

WebP images

Modern format with excellent compression. Already well-optimized but we can reduce further.

Large images

Images larger than 3840px on the long edge are scaled down before quality reduction.

How to compress an image to under 1MB

Large image files can be a problem when uploading to websites, sending via email, or sharing on social media. Most platforms have file size limits between 1MB and 5MB. Whether you need to come down to 5MB, 2MB, 1MB, or even smaller, our free image compressor handles it without noticeable quality loss.

The tool re-encodes your image at a starting quality, checks the resulting byte size, and if it's still over your target, steps quality down a notch and — because a large image at any quality can still miss a small target — also scales the pixel dimensions down slightly on each pass, repeating until the output clears your limit or it runs out of passes. Images above 3840px on the long edge are scaled down before compression even starts, since nothing web-sized needs more resolution than that. For PNG files that barely shrink on their own (screenshots and flat-color graphics resist PNG's own compression less than photos do, so this mostly doesn't apply to them), we also try a JPEG re-encode and keep whichever comes out smaller.

All compression runs directly in your browser using Web Workers, so your images are never uploaded anywhere and the UI stays responsive throughout the process.

  1. 1Upload your image. Drag and drop or click to select a JPG, PNG, WebP, GIF, or BMP image from your device.
  2. 2Set target size. Choose a target file size: 5MB, 2MB, 1MB, or a custom limit. The compressor adjusts quality automatically.
  3. 3Download compressed image. The compressed image is ready instantly. Download it directly to your device. No server upload needed.

JPG, PNG, and HEIC: what compresses best — and why

JPG/JPEG is the right choice for photographs, and most of its size reduction at moderate quality settings comes from chroma subsampling, not from throwing away detail evenly. The JPEG codec splits an image into a brightness (luma) channel and two color (chroma) channels, then stores the color channels at lower resolution — your eyes are far more sensitive to brightness detail than to color detail, so this is close to free in perceived quality. A typical 12MP phone photo shot around 3-4MB at the camera's own ~90% quality will usually re-encode to roughly 600KB-1.2MB at 80% quality with no visible difference, and down to 300-500KB at 60% quality with a barely perceptible softening in fine texture. Below about 40% quality, blocky artifacts start showing up along high-contrast edges (text, hard object boundaries) — that's the point where quality loss becomes visible rather than just theoretical.

This is also why quality reduction is usually the better lever than resizing for a general size target: quality reduction throws away redundant information the eye barely registers, while shrinking pixel dimensions throws away actual content — you lose the ability to zoom in or crop later. That said, this tool doesn't make you choose: above 3840px on the long edge it scales dimensions down automatically before compression even starts (nothing web-sized needs more resolution than that), and on later passes toward a tight target it can reduce both quality and dimensions together. If you specifically need control over the final pixel dimensions rather than just a byte-size target, use the resize tool instead.

PNG is lossless and best for screenshots, logos, and graphics with flat colors or transparency, because its DEFLATE-based compression exploits large runs of identical pixels — something a photo almost never has. PNG photographs are huge (often 2-4x the equivalent JPEG) precisely because photographic noise defeats that run-length advantage. When a PNG doesn't shrink much on its own, the compressor also tries a JPEG re-encode of the same image and keeps whichever comes out smaller — useful for PNG photos, less relevant for genuine flat-color graphics where PNG usually wins anyway.

HEIC/HEIF is the format iPhones shoot in by default since iOS 11. It uses a more modern intra-frame codec (HEVC) than JPEG's decades-old baseline codec, which is why it achieves smaller files at equivalent quality — but that same modernity means many Windows apps, older Android devices, and most browsers (Chrome and Firefox included) still can't decode it. This tool doesn't accept HEIC files directly for that reason. If your photo is HEIC, export or share it as JPEG from your iPhone first (Photos app export options, or the share sheet's "JPEG" choice), then compress the JPEG here — a typical 3-5MB iPhone photo still comes down to a few hundred KB.

Which setting for which situation

You want to...Use this settingWhy
A phone photo for a web form that caps uploads at 1MBTarget size = 1MB, leave quality on autoThe compressor re-encodes at progressively lower quality and, separately, scales dimensions down each pass until the output clears your limit — you don't have to guess a percentage.
A screenshot full of text or UI chrome, going into a docTarget size = original format, no target (just run it through once)PNG is lossless for flat colors and text edges; a JPEG re-encode of a screenshot often looks worse and isn't reliably smaller.
Dozens of product photos for an online storeBatch mode, target 200-400KB eachMost storefronts render images at 800-1600px wide anyway, so page-weight matters more than archival quality.
A photo you'll only ever view on-screen, not printTarget size = smallest usable (e.g. 300KB), quality autoScreens top out around 3-4 megapixels of visible detail; quality loss below that is essentially invisible.
A HEIC photo from an iPhone that won't open hereConvert to JPEG first (Photos app share sheet, or an OS-level converter), then drop it inThis tool doesn't decode HEIC — most browsers can't natively either — so the conversion has to happen before the file reaches the compressor.

Known limits

Very high-resolution images (large panoramas, scanned film at 50MP+) can take a noticeable moment per encode pass on a low-power device, because canvas re-encoding is single-threaded per image even though the batch itself runs in parallel workers.

There is a practical floor to how small a photo can get before quality collapses — for a busy, high-detail photo, targeting something like 20-30KB usually isn't achievable without visible blocking, no matter how the tool adjusts quality. If your target seems impossible for the content, the tool will still give you its best attempt rather than fail silently, but the result may not be usable.

Animated GIFs opened here are compressed frame-by-frame as a static-color-palette problem, not as video; for large animated GIFs, the dedicated GIF compressor gives you frame-rate and palette controls this general tool doesn't expose.

Frequently asked questions

What image formats are supported?

We support JPEG, PNG, WebP, GIF, and BMP. The compressor automatically selects the best output format to achieve the smallest file size while maintaining visual quality.

Will my image lose quality after compression?

Some quality reduction is expected, but the tool targets the highest quality possible within your size limit. For photos, JPEG compression at 75-85% is virtually indistinguishable from the original. You can adjust the target size and quality settings to find the right balance.

Is there a limit on how many images I can compress?

No. You can compress up to 20 images at once in a batch, and there are no daily or monthly limits. The tool is completely free with no sign-up required.

Does this tool upload my photos to a server to compress them?

No — and this is checkable, not just a claim. Open your browser's Network tab while compressing: no request containing your file leaves the page. The re-encoding runs through the Canvas API (canvas.toBlob with a quality parameter) inside a Web Worker, so the pixel data never exists outside your device's memory. Turning off Wi-Fi after the page loads doesn't break the tool.

Can I compress to 2MB or 5MB instead of 1MB?

Yes. Use the target size control to set 5MB, 2MB, 1MB, or any other size. The compressor adjusts quality automatically to fit your chosen limit.

Can I compress HEIC photos from my iPhone?

Not directly — this tool accepts JPEG, PNG, WebP, GIF, and BMP, but not HEIC/HEIF. Most browsers can't decode HEIC either, which is why we don't try. Convert the photo to JPEG first (iPhone's share sheet can export as JPEG, or use the Photos app's export options) and then drop the JPEG in here.

What's the difference between compressing and resizing an image?

Compressing lowers the file size mainly by reducing quality — this tool also scales dimensions down automatically above 3840px, or further on later passes if a tight target needs it, but quality is the primary lever. Resizing changes the pixel dimensions directly and is the tool to reach for when you need a specific width, like 1920px, regardless of file size. To hit a general size target, use this compressor; to control exact dimensions, use the resize image tool.

How do I compress an image to an exact size like 200KB or 500KB?

Use compress image to size, which targets an exact file size such as 50KB, 100KB, 200KB, 500KB, or a custom value, rather than a general 1MB or 2MB target.

Learn more

From the blog

Compress images for the web

How to shrink JPG, PNG, and WebP files without visible quality loss.

Related tools