How it works
Browser Image Compressor
What it does
Upload JPEG, PNG, or WebP files and compress them directly in your browser. The tool shows a preview, file size savings, and lets you download the compressed result.
How it works
- Images are decoded with
createImageBitmapwhen supported. - Resizing happens before encoding to reduce size.
- Encoding uses canvas APIs to output JPEG or WebP.
- Metadata is stripped by design during canvas encoding.
Tips
- Keep quality around 70–85 for balanced size and clarity.
- Set max width/height to prevent oversized exports.