DuckyTools
Home Image Image Compressor

Image Compressor Image

Shrink JPG, PNG and WEBP file sizes with a quality slider you control.

Image Compressor is a free online tool that shrink JPG, PNG and WEBP file sizes with a quality slider you control. It accepts JPG, PNG, WEBP, GIF, BMP, AVIF and SVG — anything your browser can display. It produces jPEG, WEBP, PNG.. It runs entirely in your web browser using Canvas 2D, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.

Price
Free — no account, no quota, no watermark
Category
Image
Where it runs
In your browser, on your device
Files uploaded
None
Input
JPG, PNG, WEBP, GIF, BMP, AVIF and SVG
Output
JPEG, WEBP, PNG
Technology
Canvas 2D
Settings
3
Works offline
Yes, after the first visit

About Image Compressor

Compression trades detail for bytes, and the useful range is narrower than people expect. Between 75% and 85% quality, JPEG artifacts are essentially invisible at normal viewing size while the file is a fraction of the original. Below 60% the edges around text and hard lines start to break up.

How to use it

  1. Choose an image, or drag one onto the drop zone.
  2. Set output format, quality and max width.
  3. Check the preview, then download. Your original file is never modified.

The 3 settings

SettingWhat it doesDefault
Output formatChoose from 3: JPEG (smallest), WEBP (modern), PNG (lossless).JPEG (smallest)
QualityRange 10–100%.85%
Max widthRange 0–20000. 0 keeps the original width.0

Under the hood

Runs onCanvas 2D — does the pixel work
AcceptsJPG, PNG, WEBP, GIF, BMP, AVIF and SVG — anything your browser can display
ProducesJPEG, WEBP, PNG
ControlsOutput format, Quality, Max width

Questions

Which format gives the smallest file?

WEBP, by roughly 25–35% over JPEG at matched visual quality. Every current browser supports it. Use JPEG only when the file has to open in older software, and PNG only when you need lossless output or transparency.

Why did my PNG get bigger when I compressed it?

PNG is lossless, so the quality slider does nothing for it — and a photograph stored as PNG is always larger than the same photo as JPEG. For photos, switch the output format to JPEG or WEBP.

Can I compress to an exact file size?

Not directly. Lower the quality in steps and watch the output weight shown after each run — it updates immediately, so two or three attempts will land you close.

Does compressing repeatedly degrade an image?

Yes. Every JPEG save re-quantises the image, and the damage accumulates. Always compress from the original rather than from a previously compressed copy.