Image Compressor

Compress JPG and PNG images in your browser without uploading them anywhere.

Drag & drop an image here, or

JPG, PNG or WEBP, up to 15 MB. Processed entirely in your browser — never uploaded.

How it works

Your image is drawn onto an in-memory HTML canvas and re-encoded as JPEG at the quality level you choose, using your browser's built-in image encoder. Lower quality means a smaller file at the cost of some visual detail. The file never leaves your device.

Example

A 4 MB PNG photo compressed at 70% quality typically becomes a 300–800 KB JPEG, depending on image content, with minimal visible quality loss for web/sharing use.

Frequently asked questions

Is my image uploaded to a server?

No. Compression happens entirely in your browser using the Canvas API. The image is never sent over the network.

Why can't I hit an exact target file size?

Compression quality (10–95%) controls the trade-off between file size and visual quality, but the exact resulting size depends on image content, so we don't promise a specific guaranteed size.

Related tools