Skip to content
Popular tools

Image Compressor

Compress images locally in the browser.

LocalYour data is processed locally in your browser and is not uploaded to Alphzen.

JPEG and WebP use a quality slider (lossy). PNG through canvas is a re-encode, not pngquant — it may not shrink. Files never leave this tab.

How to use

  1. Choose an image from disk. It stays in this tab.
  2. Pick JPEG or WebP and a quality, or PNG for a lossless re-encode.
  3. Compress and download. Compare the before/after sizes.

Features

  • Uses canvas / createImageBitmap. Nothing is uploaded.
  • JPEG and WebP honor the quality slider (lossy).
  • PNG output is a re-encode, not a specialized lossless crusher — it may not get smaller.
  • Animated GIFs become the first frame. SVG is not rasterized.
  • Size and megapixel caps keep the tab usable.

Examples

A photo destined for a blog
(local file)

JPEG or WebP at 0.7–0.85 is usually enough. This is not a substitute for a CDN image pipeline.

FAQ

Is PNG compression lossless here?

Canvas PNG is a standard re-encode. It does not run pngquant or zopflipng. Photos usually shrink more as JPEG or WebP.

Do you keep EXIF?

No. Drawing to canvas strips metadata, including GPS. That is often what you want before sharing; it is not a metadata editor.

Related guides

Related tools

About this tool

Browser image compression is a canvas encode. Quality on JPEG and WebP trades fidelity for bytes. PNG through canvas is not a miracle crusher.

Alphzen never uploads the file. That matters when the photo is not public yet.

Resize first if the pixel dimensions are larger than you need; compression cannot invent a smaller raster than the pixel count implies.