Image compressor
Reduce image file size with quality and format controls.
Choose a file to get started
Select a file from your device or drag and drop it here.
How local image compression works
Your browser decodes the image onto an offscreen HTML5 <canvas>, optionally scales down oversized dimensions with high-quality bicubic smoothing, and encodes the result locally using canvas.toBlob(). For JPEG and WebP outputs, lossy perceptual compression discards subtle color detail according to your chosen quality level.
Supported formats and honest compression limits
- Supported formats: Input and output support for
.jpg,.png, and.webpup to 35 MB. - Lossy vs. lossless behavior: JPEG and WebP use true lossy compression. Browser Canvas PNG encoding produces uncompressed 32-bit RGBA PNGs—if an input PNG was already crushed externally, re-saving as PNG without resizing may produce a larger file.
- EXIF metadata stripped: Encoding through HTML5 Canvas automatically strips embedded EXIF camera and GPS metadata from the output image.
Frequently asked questions
Are my images uploaded to a server?
No. All decoding, resizing, encoding, and size calculations run strictly inside your browser tab, and temporary Blob URLs are revoked automatically when replaced or cleared.
Which format gives the smallest file size?
WebP typically achieves 25%–35% smaller file sizes than JPEG at equivalent visual quality while still preserving transparent backgrounds.
Implementation status: Scaffold only — no output is generated by this placeholder.