🖼️ Image Compressor

Compress images in your browser. No uploads, 100% private. Reduce file size while maintaining quality.

📁
Click to upload or drag & drop
Supports JPG, PNG, WEBP

Most images on the web are larger than they need to be, and the fix is usually straightforward: resize to the dimensions actually displayed, then compress. This tool does both in the browser, so the file never leaves your device. It works on JPEG, PNG and WebP and shows you the before and after size so you can decide where the quality trade-off sits.

Resize before you compress

Compressing a 4000-pixel-wide photo that will display at 800 pixels wastes effort: the browser downloads four times the pixels it shows and then throws most of them away. Resizing first reduces the file by far more than any quality slider can, and it does so without visible loss. Compress afterwards to trim the remainder.

Which format for which image

JPEG suits photographs, where smooth gradients hide compression artifacts. PNG suits screenshots, diagrams and anything with sharp edges or flat color, but it is poor for photos. WebP beats both on size for most content and is now supported everywhere that matters. If you need a single safe choice, WebP with a JPEG fallback covers the field.

What the quality slider is really doing

The quality figure controls how aggressively the encoder discards detail the eye is less likely to notice. Below roughly 75 percent, artifacts start appearing around high-contrast edges — the ringing you see around text or thin lines. Between 80 and 90 is usually indistinguishable from the original at normal viewing size. Going above 90 adds file size for detail almost nobody can see.

Frequently asked questions

Are my images uploaded to a server?

No. Compression runs in your browser using canvas APIs. The file is read locally and never transmitted.

How much can I reduce a file size?

For photographs, resizing to display dimensions plus quality 80 typically cuts 70 to 90 percent with no visible difference. Screenshots saved as PNG often shrink more when converted to WebP.

Does compression remove metadata?

Yes, canvas-based compression re-encodes the image and drops EXIF data, including GPS coordinates. That is usually desirable for privacy, but keep an original if you need the metadata.