← All Tools

Media Compressor

Compress images (JPEG/PNG) in your browser with adjustable quality. Your files never leave your device.

📦

Upload an image to get started

Shrinks a JPEG or PNG by decoding it, drawing it onto an HTML canvas at its original dimensions, and re-encoding it at a quality level you choose with a slider. The file is read straight from your disk, the result is an in-memory blob and the download link points at that blob, so the picture is not uploaded to a server. After each run the tool reports the original size, the new size and the percentage saved.

How to use it

  1. Choose an image with the file input. Only files the browser reports as image/* are accepted.
  2. Select JPEG or PNG and set the quality slider, which runs from 10% to 100% in 5% steps.
  3. Press Compress Image, check the saved percentage, then press Download Compressed.

Worked example

2400x1600 JPEG, 1.22 MB, quality 80%becomesOriginal: 1.22 MB Compressed: 983.17 KB Saved: 21%

Figures from a real quality-80 re-encode of a 2400x1600 photographic image. Encoders differ slightly, so read the kilobytes as approximate for your own file, and a flat screenshot shrinks far more than fine detail does.

Same 2400x1600 JPEG with the format switched to PNGbecomesOriginal: 1.22 MB Compressed: 1.79 MB Saved: -46%

PNG is lossless, so re-encoding a photograph into it produces a larger file and a negative saving, and the quality slider has no effect in PNG mode.

When to use it

What it does not do