Skip to content

Image Compressor

Upload an image, choose the quality, and download a smaller file — perfect for faster websites and emails. Compression happens locally with the browser's canvas API, so your photos never leave your device.

What this means

Compression shrinks the file by reducing quality and simplifying details. A photo at 80% quality often looks identical to the original but is a fraction of the size.

How we calculate it

Formula

Canvas re-encoding with adjustable quality: output = re-encode(input, quality). Lower quality → smaller file.

Worked example

Compress a 2 MB photo for a website gallery.

  1. 1Drop or select your image.
  2. 2Set the quality slider.
  3. 3Download the compressed file.

Important assumptions

  • Very low quality can create visible artifacts on text or logos.

Frequently asked questions

Is my image uploaded to a server?

No. Everything runs locally in your browser using the canvas API — your image never leaves your device.

What is the best quality setting?

Start at 80% for photos. For web use, 70–85% usually looks great while cutting size dramatically.

Guide

Image Compressor Guide: Shrink Files Without Visible Loss

Fast pages need small images. Here is how compression works and how to find the quality sweet spot.

Read next

Related tools