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
- Choose an image with the file input. Only files the browser reports as image/* are accepted.
- Select JPEG or PNG and set the quality slider, which runs from 10% to 100% in 5% steps.
- 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
- Getting a photo under an upload limit without opening an image editor.
- Making a copy of a screenshot small enough to attach to a bug report.
- Removing EXIF data from a picture before it is passed on.
What it does not do
- This is an image tool only. The file input accepts image files and anything else is ignored with no message, so picking a video or a PDF appears to do nothing at all.
- Output keeps the original pixel dimensions. There is no resize, no crop and no way to cap the long edge, so only the encoding changes.
- The canvas round trip drops EXIF, the colour profile and the orientation tag, so a photo stored sideways can come out rotated the wrong way.
- Animated GIFs and other multi-frame images keep only the first frame.
- Compressing a file that is already small can produce a larger result, and there is no warning before you download it.