Image Compressor
Shrink JPG and PNG files in your browser with adjustable quality.
Your image is processed in your browser and never uploaded.
About the Image Compressor
Large photos slow down websites and clog email attachments. The Image Compressor re-encodes your picture as an optimised JPEG at the quality level you choose, often cutting file size by 60–90% with little visible difference.
Because the work happens on a canvas element inside your browser, the original file never leaves your device — which matters for private photos, screenshots and client work.
How to use the Image Compressor
- Choose an image from your device.
- Set the JPEG quality — 0.7 is a good balance of size and clarity.
- Optionally scale the image down as a percentage of the original.
- Press Compress, check the size saved, then download the result.
Examples
| Input | Result |
|---|---|
| 3.4 MB photo at quality 0.7 | ≈ 420 KB JPEG |
| PNG screenshot at 50% scale | ≈ 85% smaller |
| Quality 0.9, no resize | Near-original quality, smaller file |
Frequently asked questions
Does compressing lose quality?
JPEG compression is lossy, so very low quality values introduce visible artefacts. Values between 0.6 and 0.85 usually look identical at normal viewing size.
Is transparency preserved?
No — JPEG has no alpha channel, so transparent areas are filled with white. Use the Image Format Converter and pick PNG or WebP to keep transparency.
Is my data sent to a server?
No. This tool runs entirely in your browser using JavaScript. Nothing you enter is uploaded, logged or stored by AHRATOOLS.

