Image Compressor

Compress JPG, PNG, and WebP images instantly — entirely in your browser. No uploads, no accounts.

🖼️

Click to select an image or drag & drop here

JPG, PNG, WebP — one file at a time

How It Works

This tool draws your image onto an HTML5 canvas element, then re-encodes it using the browser's built-in codec at the quality level you choose. High (0.8) keeps most of the original detail with modest file size reduction. Medium (0.6) is a good all-round balance. Low (0.4) produces the smallest file at the cost of visible quality loss. PNG files are losslessly re-encoded, so the quality setting mainly affects JPG and WebP outputs. Nothing is ever uploaded — all processing happens directly in your browser.

Frequently Asked Questions

Is my image uploaded anywhere?

No. Everything runs in your browser. Your image never leaves your device, which makes this tool safe for personal or sensitive photos.

What formats are supported?

JPG, PNG, and WebP. HEIC, GIF, TIFF, and RAW files are not supported. If you need to convert a HEIC from an iPhone, convert it to JPG first using your phone's export settings or a free online converter.

Why does my PNG come out the same size?

PNG is a lossless format, so the quality slider doesn't reduce its file size the same way it does for JPG or WebP. The tool re-encodes the PNG cleanly, which may help slightly with redundant metadata but won't produce dramatic savings. For large PNGs, try converting to WebP instead.

Will the image dimensions change?

No. The compressed image has the same pixel dimensions as the original. Only the file size changes based on the quality setting.