HexaMedia — Free Online PDF & Image Optimizer

Compress Images

Reduce the file size of your JPEG, PNG and WebP images with a quality slider, without uploading anything.

Drop images here

or click to browse — JPEG, PNG, WebP, GIF…

How Image Compression Works Here

Compressing an image in HexaMedia means re-encoding its pixel data at a lower quality setting, entirely inside your browser's Canvas API. Nothing is uploaded: the JPEG, PNG or WebP file you drop is decoded locally, redrawn on an in-memory canvas, and exported again as a new file, smaller because more visual detail is discarded during that second encoding pass. The original file on your device is never touched or sent anywhere.

This only reduces file weight, not pixel dimensions. A 4000×3000 photo compressed at 10% quality is still 4000×3000 pixels, just heavily degraded. If you also need smaller dimensions, turn on the Crop panel to set an exact width and height alongside the quality setting.

How to Compress Your Images

1. Add Your Photos

Drop one or several JPEG, PNG or WebP files, or click to browse. Each one keeps its own progress and result.

2. Pick a Quality Level

Drag the slider from 10% to 100%, or use Light (50%), Balanced (85%) or Maximum (100%) for a quick starting point.

3. Compress and Download

Click Optimize images, then download individually or all at once. The summary shows exactly how many bytes you saved.

Choosing the Right Quality

Light (50%)

Smallest files, with visible loss of fine detail. Good for thumbnails, background images, or anywhere the photo is small on screen.

Balanced (85%)

The default for a reason: noticeably smaller than the original with almost no visible difference for typical web or email use.

Maximum (100%)

Still a lossy JPEG or WebP re-encode, so the file usually shrinks a little even at 100%, but with the least amount of quality lost by this tool.

Why PNG barely changes

PNG is a lossless format, so the quality slider has no effect on a PNG output: canvas encoding always keeps every pixel exact. To actually shrink a PNG, convert it to JPEG or WebP instead.

Frequently Asked Questions

Does the quality percentage change the size of the image, or just its file weight?
Only the file weight. Compression re-encodes the same pixel dimensions at a lower quality, which reduces bytes on disk but not the width or height of the picture. To make an image smaller in pixels, use the Crop panel to set an exact width and height.
Why doesn't lowering the quality slider shrink my PNG file much?
PNG is a lossless format. Browsers ignore the quality setting when encoding to PNG, so the output stays close to the original size regardless of where the slider is. If file size matters more than exact pixel fidelity, convert the image to JPEG or WebP instead.
Can I compress several images at once?
Yes. Drop as many JPEG, PNG or WebP files as you like, set one quality level, and click Optimize images. Each file is processed and can be downloaded on its own, or all together with Download all.
Is there a quality setting where I won't notice any difference?
For most photos, 85% (the Balanced preset) is visually close to the original while still reducing file size. Very detailed images, like ones with fine text or sharp edges, show compression artifacts sooner than smooth photographs.
Are my images ever uploaded during compression?
No. Everything happens locally in your browser using the Canvas API. Your files are never sent to a server, which is also why there is no size limit tied to an upload.