Compress an image with your chosen quality
Choose JPG, WebP or PNG output and compare the encoded size. Adjust JPEG or WebP quality locally without changing the image dimensions.
Choose your image
Drag files here or browse your device. Nothing is uploaded to our server.
How to use image compressor
Use the general compressor when you want control over the output format rather than a fixed KB ceiling. It keeps the image’s decoded dimensions and lets you choose JPEG or WebP quality. PNG is also available when transparent pixels or lossless encoding of the decoded pixels matters more than a smaller photograph file.
- Select a static JPG, PNG or WebP source.
- Choose the output format. Pick PNG when transparency must be retained, or JPEG for a white background.
- Adjust the quality slider for JPEG or WebP and process the image.
- Compare actual source/output bytes and the preview; download only the version useful for your task.
A practical example
For a website photo with no fixed upload ceiling, try WebP at a moderate quality and compare the result with JPG. A smaller byte count can be useful, but choose the format your publishing system actually accepts.
Supported files and limitations
- The quality control is an encoder setting, not a measured visual-quality or savings percentage.
- There is no exact KB target here and no guarantee that the output is smaller. PNG can be much larger for photographs.
- The browser-generated output does not retain the original EXIF/DPI metadata. JPEG/WebP quality settings may discard visible detail.
Troubleshooting
Why does the quality slider not make my PNG much smaller?
PNG does not use the JPEG/WebP quality setting in this workflow. Try a suitable lossy format if the receiving system permits it, or reduce dimensions separately.
Why is the download’s background white?
JPEG cannot carry transparency, so this tool paints transparent areas white for JPG output. Select PNG or WebP if transparent pixels are needed.
Questions about image compressor
Does this reduce width and height?
No. It encodes at the existing decoded dimensions. Use Resize Image when you need fewer pixels.
Can I request an exact maximum file size?
Use the dedicated 20, 50, 100 or 200 KB tool for those byte ceilings. The general compressor gives format/quality control instead.
Is compression always lossless?
No. JPEG and the selected WebP encoder mode are lossy. PNG losslessly encodes the pixels decoded by the browser, but it does not restore earlier losses.
Does a larger result indicate a broken conversion?
Not necessarily. Different formats suit different images. The actual byte count, preview and supported destination formats are the useful checks.