Compress Image
Reduce file size with an adjustable quality level. Output is re-encoded as JPG or WebP.
What the Compress Image tool does
This tool shrinks the file size of a JPG, PNG or WebP image by re-encoding it at a lower quality level, while leaving its pixel dimensions untouched. It's built for the common situation where a photo is technically fine but simply too heavy โ for a web page, an email attachment, or a form with an upload limit.
How it works
The image is drawn onto an HTML canvas in your browser, then re-encoded using the canvas's built-in JPG or WebP encoder at the quality percentage you choose. Lower quality settings discard more of the fine detail in busy areas (like leaves or fabric texture) while keeping flat colors and smooth gradients looking clean, which is why compressed photos usually still look sharp at a glance even at 60โ70% quality.
How to use it
- Drop in or select the image you want to shrink.
- Drag the quality slider โ the preview and file size update instantly.
- Pick JPG for photos or WebP for smaller files with similar quality.
- Download once you're happy with the size and look.
Formats and file size
Input accepts JPG, PNG and WebP. Output is JPG or WebP, since PNG doesn't support the quality-based compression this tool relies on. WebP typically produces the smallest file for a given quality level, while JPG has the widest compatibility with older software and platforms.
Benefits and common use cases
Smaller images load faster, use less mobile data, and pass through email and CMS upload limits more easily. It's a good fit for prepping product photos for an online store, shrinking screenshots before sharing them, or getting a camera photo down to a size a website will accept โ all without installing anything or handing your files to a server.