🖼️ Image Tools · No Upload

Image Compressor — Compress JPG, PNG, WebP & More, Free

Shrink photos and graphics without shipping them to a server. Batch-compress JPG, PNG, WebP, GIF, BMP, and AVIF images, pick a compression mode, compare before and after, and download everything as a ZIP — all inside your browser.

🔒 Private — no upload ✓ Batch + ZIP ✓ 4 compression modes ✓ Before/after compare ✓ Free forever

Compress images

Add one or more images, choose a compression mode, and compress. Everything happens on your device — nothing is uploaded.

Drag & drop images here

or click here to browse JPG, PNG, WebP, GIF, BMP, or AVIF files from your device (paste with Ctrl+V too). Multiple files supported.

Overrides the quality slider — finds the highest quality that fits. Works for JPEG/WebP/AVIF output only.
⚙️ Output format & resize

AVIF output is added to this list automatically if your browser can encode it. "Auto" keeps transparent PNG/WebP images transparent and uses JPEG for everything else.

✓ EXIF, GPS, and ICC metadata are removed automatically from every compressed image — no toggle needed.

📊 Compression summary

0Images
0 KBOriginal size
0 KBCompressed size
0 KBSpace saved
Compression ratio
100% local

Runs fully inside your browser using the Canvas API. Nothing is uploaded, ever.

4 compression modes

Balanced, Maximum Compression, High Quality, or full Custom control.

Batch + ZIP

Compress a whole folder's worth of images, then download them all at once.

Free, no signup

No account, no watermark, no daily limits — unlimited compressions.

Mobile ready

Works from your phone's gallery with a fully responsive interface.

Nothing stored

Close the tab and every image is cleared from memory — no server copies exist.

What Is Image Compression, and Why Does It Matter?

Image compression is the process of reducing an image's file size while keeping it visually usable. Every photo you take on a phone or camera contains far more data than most screens or use cases actually need — a smaller, well-compressed file loads faster, uses less storage, uses less mobile data, and moves faster through email, chat apps, and websites. For website owners specifically, image weight is one of the biggest levers on page speed: images routinely account for more than half of a page's total download size, so compressing them well is often the single highest-impact performance fix available.

This tool compresses images the same way desktop software does, except it runs entirely inside your browser tab using the HTML5 Canvas API. Your image is drawn onto an invisible canvas and re-encoded at a chosen quality level or target size — the pixels never leave your device, and no server ever sees the file.

Lossy vs Lossless Compression

Lossless compression (PNG) shrinks a file by encoding pixel data more efficiently, without discarding any information — decompressing it gives back an exact pixel-for-pixel copy. It's ideal for screenshots, logos, and graphics with sharp edges or text, but it rarely shrinks a photograph very much. Lossy compression (JPEG, WebP, AVIF) discards visual detail that's hard for the human eye to notice, which is why a photo can shrink by 70–95% and still look essentially identical on screen. Most everyday compression — for websites, email, and social media — should be lossy; reach for lossless PNG only when you need pixel-perfect accuracy, like a logo with flat colors or a screenshot with fine text.

Image Formats Explained: JPG vs PNG vs WebP vs AVIF

JPG/JPEG is the universal format for photographs — small, lossy, no transparency. PNG is lossless with full transparency support — best for graphics, logos, and screenshots, but larger for photos. WebP is a modern format that supports both lossy and lossless modes plus transparency, typically 25–35% smaller than an equivalent JPEG or PNG at the same visual quality, and is now supported by every major browser. AVIF is the newest format, often 20–50% smaller again than WebP at comparable quality, but browser and software support is still catching up — some tools and older devices can't open it yet.

Format Comparison at a Glance

FormatCompressionTransparencyBest forBrowser support
JPG / JPEGLossyNoPhotos, camera imagesUniversal
PNGLosslessYesLogos, screenshots, graphicsUniversal
WebPLossy or losslessYesWebsites, general-purpose replacement for JPG/PNGAll modern browsers
AVIFLossy or losslessYesMaximum compression on modern sitesMost current browsers, growing
GIFLossless, 256 colorsYes (binary)Simple animations, iconsUniversal (first frame only here)

Choosing the Best Compression Settings

There's no single "correct" quality setting — it depends on what the image is for. As a starting point: use Balanced (≈75% quality) for general web and social use, Maximum Compression (≈40%) when file size is the priority and the image will be viewed small (thumbnails, previews), and High Quality (≈90%) for print, portfolios, or any image where fine detail matters. If a platform or form specifies an exact size limit, switch to Custom mode and enter that number in the target-size field instead of guessing a quality percentage.

Compressing Images for Websites, Email, Social & E-commerce

For websites, compress hero and banner images to roughly 100–300 KB and thumbnails under 50 KB — this directly improves load time. For email, keep attachments under 500 KB each so inboxes stay fast on mobile data. For social media, most platforms re-compress on upload anyway, but starting from a 200 KB–1 MB file keeps more of your original detail than letting the platform's own aggressive algorithm decide. For e-commerce product photos, aim for the smallest file that still shows texture and color accurately at typical zoom — usually WebP at Balanced or High Quality, since shoppers judge product quality from these images directly.

SEO, Core Web Vitals & Page Speed

Search engines increasingly factor real-world page experience into rankings, and images are usually the biggest contributor to a slow Largest Contentful Paint (LCP) — the Core Web Vital that measures how quickly the main content becomes visible. Oversized, uncompressed images are one of the most common reasons a page fails Google's Core Web Vitals thresholds. Compressing images before you upload them (rather than relying on a CMS or CDN to do it later) reduces LCP directly, cuts hosting bandwidth costs, and improves mobile experience on slower connections — all of which correlate with better search visibility and lower bounce rates.

Metadata Removal & Transparency Preservation

Every photo from a phone or camera carries EXIF metadata — camera model, exposure settings, and often precise GPS coordinates of where it was taken. Redrawing an image through a canvas (as this tool does) strips all of that automatically, along with embedded ICC color profiles, which is both a meaningful privacy improvement and a small extra size saving. Transparency is handled the opposite way — carefully preserved: if your source PNG or WebP has an alpha channel, this tool detects it and keeps output in a transparency-capable format (PNG or WebP) unless you explicitly choose JPEG, which has no alpha channel and will fill transparent areas white.

Browser-Based Compression vs Uploading to a Cloud Tool

Many popular compressors work by uploading your image to a remote server, compressing it there, and sending the result back — which means your file (and any metadata, including location data, still attached) briefly exists on someone else's infrastructure. Browser-based compression, using the Canvas API the way this tool does, skips that step entirely: the image is decoded, redrawn, and re-encoded using your own device's processor, and it's technically impossible for the file to leave your machine during that process. The tradeoff is that some advanced codec options (like true AVIF encoding on unsupported browsers) aren't available everywhere — this tool is upfront about that instead of pretending otherwise.

Browser-Based vs Cloud-Upload Compression

AspectBrowser-based (this tool)Cloud-upload tools
File leaves your deviceNeverYes, temporarily
Signup / accountNot requiredOften required for batches
Speed for small batchesInstant, no upload waitDepends on connection speed
Works offline once loadedYesNo
Batch + ZIP downloadYesVaries by tool/plan
CostFree, unlimitedOften rate-limited or paid at scale

Batch Compression & Mobile Usage

Add as many images as you like in one go — each is compressed sequentially with the same mode and settings, so a folder of vacation photos or product shots can be processed in one pass instead of one file at a time. On mobile, the same interface works with your phone's photo library and file picker; there's no separate app to install, and the results stay on your device just like on desktop.

Best Practices & Common Mistakes

  • Always compress from the original, highest-resolution file — re-compressing an already-compressed JPEG stacks quality loss.
  • Resize before compressing when the display size is much smaller than the original (e.g. a 4000px camera photo shown at 800px wide) — it usually beats compression alone.
  • Use WebP instead of PNG when you need transparency but file size matters — it compresses far more aggressively while keeping the alpha channel.
  • Don't over-compress images with fine text or sharp lines (screenshots, diagrams) — artifacts show up fastest there; use High Quality or PNG for these.
  • Keep an original, uncompressed copy — lossy compression can't be reversed once detail is discarded.

Troubleshooting

My file didn't shrink much. PNGs of photographs and already-compressed JPEGs have less room to shrink — try WebP output or Maximum Compression mode. A file was rejected. TIFF files can't be opened by any web browser and aren't supported; convert to JPG or PNG first with another tool. AVIF won't upload. Your browser may not be able to decode AVIF yet — try a recent version of Chrome or Edge. Colors look slightly different after compression. This is expected — canvas-based processing removes the embedded ICC color profile along with other metadata, so the browser falls back to standard sRGB rendering.

Privacy & Security

This tool is built to be private by default: no image is ever transmitted over the network, no account is required, and no compression activity is logged anywhere. Processing happens using your browser's own Canvas API, which means it also works without an internet connection once the page has loaded. If you're compressing sensitive photos — personal documents, ID scans, private images — that privacy guarantee matters as much as the file-size reduction itself.

Frequently asked questions

How does this image compressor work?

Everything runs locally in your browser using the HTML5 Canvas API. Your image is drawn onto an in-memory canvas and re-encoded at a lower quality or smaller file size — no file is ever sent to a server.

Is my image uploaded anywhere?

No. Compression happens entirely on your device. Images never leave your browser, and nothing is stored or logged.

Is this tool really free?

Yes, completely free with no signup, no watermark, and no daily limit on how many images you can compress.

Can I compress multiple images at once?

Yes. Drag and drop or select as many images as you like, and they'll be compressed as a batch using the same settings.

Which image formats can I upload?

JPG, JPEG, PNG, WebP, GIF, and BMP are supported everywhere. AVIF is supported for upload in browsers that can decode it. TIFF files can't be processed because no web browser can open them directly.

Which formats can I compress my images into?

You can output JPEG, PNG, or WebP. AVIF output is offered automatically only in browsers that support encoding AVIF from a canvas.

Does compressing an image reduce its quality?

Some quality change is inherent to compression. Balanced and High Quality modes keep loss visually unnoticeable; Maximum Compression trades more quality for a smaller file.

What's the difference between the four modes?

Balanced (75%) is the best all-round choice. Maximum Compression (40%) gives the smallest file. High Quality (90%) keeps loss minimal. Custom lets you set an exact quality or a target KB size.

Can I compress an image to an exact file size, like 100 KB?

Yes — switch to Custom mode and enter a target size in KB. The tool searches for the highest quality that still fits your target (JPEG/WebP/AVIF output only).

Can I compress transparent PNG or WebP images?

Yes. Transparency is detected automatically and preserved for PNG or WebP output. Choosing JPEG output will fill transparent areas white, since JPEG has no alpha channel.

Does this tool remove EXIF and other metadata?

Yes, automatically, as a side effect of redrawing the image on a canvas — there's no separate toggle needed.

Can I resize an image before compressing it?

Yes. Open the output settings panel, enable resizing, and set a max width and/or height before compression.

Does it work on mobile phones?

Yes. The interface is fully responsive and works with your phone's camera roll and file picker.

Can I use this without an internet connection?

Once the page and its scripts are loaded, compression itself needs no network connection, since it runs locally.

Are my images stored anywhere after I close the tab?

No. Everything lives in your browser's memory for the current session only, and is cleared when you close or refresh the tab.

Can I compress AVIF images?

You can upload and compress AVIF images if your browser can decode AVIF. Unsupported files show a clear message instead of failing silently.

What happens if I upload an animated GIF?

Only the first frame is used — the result is a static compressed image, not an animation.

Can I download all my compressed images at once?

Yes. After compressing a batch, use "Download all (ZIP)" to get every result in one file, or download images individually.

Why doesn't my PNG shrink as much as a JPG does?

PNG is lossless, so it can only shrink through more efficient encoding, not by discarding pixel data. Try WebP output if file size matters more than format.

Which browsers are supported?

Any modern browser with Canvas API support — Chrome, Edge, Firefox, and Safari all work. AVIF output appears automatically only where supported.