Image compressor
Re-encode JPG or WebP at adjustable quality. Output can be larger; always compare sizes.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Image compression trades a little invisible detail for a much smaller file. This tool re-encodes your image as JPG or WebP at the quality you choose (75% is a good starting point) and shows the original and new file sizes side by side, so you can see whether it was worth it.
If an image has already been heavily compressed, re-encoding may not help or may even make it larger; in that case keep the original. For the biggest savings, combine compression with resizing to the size the image will actually be displayed at.
How to use it
- Choose an image.
- Choose WebP (smaller) or JPG (most compatible).
- Set the quality, for example 75%.
- Run it and compare the original and new sizes before downloading.
How the calculation works
The image is decoded and re-encoded by the browser’s JPEG or WebP encoder at quality ÷ 100. Lower quality uses coarser quantization of fine detail, which reduces file size. Dimensions are unchanged.
browser lossy encoder; no guaranteed size reductionWorked example
A blogger has a 3.2 MB JPG straight from a camera. Re-encoding as WebP at 75% gives a file of well under 1 MB with no visible difference at screen size. A 180 KB image that was already optimized by another tool comes out at a similar size, so she keeps the original.
Sample input and result
Quality 75 / 100
Limitations
- Lossy formats only (JPG and WebP).
- Dimensions are not changed; use the resizer for that.
- Transparency is lost with JPG.
Last updated:
Frequently asked questions
What quality should I use?
70–80% for web photos; 85–90% if the image will be zoomed or printed.
Why did the file get larger?
The original was already compressed more strongly, or was a small PNG graphic; keep the original.
Does compression remove location data?
Re-encoding drops EXIF metadata, but use the metadata cleaner if you need to be sure.
Troubleshooting
Visible blocks or banding.
Raise the quality to 85% or more.
WebP is not accepted by a site.
Choose JPG instead.
I need an exact size in KB.
Use the resize image to KB tool.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Image resizer
Fit an image inside maximum dimensions, preserving aspect ratio and preventing enlargement.
Image toolsJPG, PNG & WebP converter
Convert images to JPG, PNG or WebP. JPG replaces transparency with white.
Image toolsRotate image
Rotate 90, 180 or 270 degrees clockwise and download a PNG.
Image tools