Image Compressor

Shrink image file size without uploading anything. Drag in a JPG, PNG or WebP, pick a quality level and download the compressed result. All processing happens on your device with the Canvas API — 100% private.

🖼️

Drop an image here or click to choose

JPG, PNG or WebP — processed locally, never uploaded

How it works

Your image is drawn to an HTML canvas (optionally downscaled to a max dimension) and re-encoded with canvas.toBlob at your chosen JPEG/WebP quality. Smaller quality values mean smaller files with more visible compression artifacts.

Frequently asked questions

Are my images uploaded to a server?

Never. Compression runs entirely in your browser using the Canvas API. Your files stay on your device.

What quality setting should I use?

0.8 is a great balance for the web — usually 50–70% smaller with no visible difference. Go lower for thumbnails.

Related tools