Skip to content

Compress an Image — Free & Private

Shrink a PNG, JPEG, or WebP image's file size right in your browser. Everything runs locally — nothing is uploaded.

Why compress an image?

Image weight is usually the biggest single factor in how fast a webpage loads, which is why page-speed and Core Web Vitals audits flag oversized images first. Smaller files also matter well beyond the web: email providers cap attachment size, many upload forms reject anything over a few megabytes, and smaller files simply take less time to send or store.

Lossy vs. lossless compression

Lossy compression (JPEG, WebP) discards some visual detail to shrink the file — the quality slider controls how much. Most photos tolerate a moderate amount of loss without a visible difference, so this is where the biggest size savings come from. Lossless compression (PNG) preserves every pixel exactly, which is why PNG has no quality setting: its file size depends only on the image content, not how much quality you're willing to give up.

Frequently Asked Questions

Does this upload my image to a server?

No. Compression happens entirely in your browser using the Canvas API. Your image is never uploaded or transmitted anywhere.

Which format compresses best?

JPEG and WebP both support adjustable lossy compression, so they usually shrink file size the most. PNG is lossless, so its output size depends only on the image content, not a quality setting.

Will compressing reduce image quality?

Yes, lossy formats trade some visual quality for smaller file size. A quality setting of 60-80% usually keeps images looking sharp while meaningfully reducing file size.

Is there a file size limit?

No hard limit — since processing happens locally, the only constraint is your device's available memory.

Can I compress images automatically, without a browser?

Yes — the free Image Tools API lets you compress images from a script, backend job, or AI agent, with the same logic that powers this page.

Need to capture a webpage too?

Full Page Capture exports any webpage as a screenshot or PDF — then compress it right here.