Image Compressor
Shrink JPG, PNG, WebP and AVIF files by quality or to a size budget — without uploading anything.
What this tool does
Compression re-encodes an image at a quality level you choose. Most of what a camera or screenshot tool writes is detail the eye cannot resolve at normal viewing size, which is why a photo can often lose 70% of its bytes with no visible change.
The quality slider is not a percentage of visual fidelity — it is an encoder parameter, adjustable from 10 to 100. Around 80 is the point where most photographs stop looking different but keep shrinking; below about 60, edges and flat gradients start to show artefacts. Beginning at the default 78 and adjusting is more reliable than aiming for a target number.
The other mode aims at a maximum file size instead: give it a figure in KB or MB and the encoder quality is searched until the result fits. If quality alone cannot get under the budget, the dimensions are stepped down by a fifth at a time — up to eight attempts, and no smaller than 64 pixels on a side — unless you switch that off. When even the smallest attempt is still over, you get that file anyway plus a note saying by how much it missed.
How to use it
- Add your images. Any format the browser can decode, including JPG, PNG, WebP, AVIF and GIF. Several at once is fine; the settings apply to all of them and each is processed in turn.
- Pick a quality or a size budget. 78% suits photographs. Raise it for images with text or sharp edges, or switch to the size mode when an upload cap is the real constraint.
- Set the output format if you want one. Output can stay the same as the input or be forced to JPG, PNG, WebP or AVIF. A width or height cap can be applied at the same time, and transparent pixels are flattened onto a colour you pick when the output has no alpha channel.
- Compare and download. Before and after sizes, the final dimensions and the quality actually used are reported for each file, measured rather than estimated.
Processing & privacy
Runs on your device. Your file is processed directly in this browser.
Common use cases
Faster web pages
Images are usually the heaviest thing on a page, and the easiest to fix.
Email and upload limits
The size-budget mode exists for exactly this: fit a set of photos under an attachment cap without cropping or deleting any.
Freeing up storage
A folder of holiday photos often halves with no visible difference.
Marketplace listings
Many platforms reject images over a few megabytes, or degrade them badly themselves.
Questions
Are my photos uploaded?
Why did my file get no smaller?
Does compressing lose quality?
Will it strip my EXIF data?
What about PNG?
Will it reduce photo size without visible loss?
Related tools
- Resize Image — Change pixel dimensions with aspect-ratio locking.
- Convert Image — Convert between JPG, PNG, WebP, AVIF and GIF.
- PNG to JPG — Convert PNG files to smaller JPG images.
- HEIC Converter — Convert iPhone HEIC photos to JPG or PNG.
- Compress to Target Size — Compress an image until it fits an exact size budget.
- Crop Image — Crop freely or to a preset ratio.