LIGHTEN THE LOAD

Image Compressor

Smaller images. Same big impression. Compress JPG, PNG, and WebP in seconds.

✓ Files stay on your device · Free to use

Processing…

How to use this tool

  1. Choose a JPG, PNG, or WebP image.
  2. Adjust the quality: lower values usually produce smaller files.
  3. Compress, compare sizes, and download your JPEG.

Make an image smaller without guessing

Image compression is a trade-off between file size and visual detail. DuoTools decodes your image in the browser and creates a new JPEG at the quality you choose. It keeps the pixel dimensions, so it is useful when a photo is already the right width and height but takes too much space to email or upload. It does not resize a photograph to fit a particular form, and a quality percentage is not a promise of an equally sized reduction in bytes.

Choose a starting quality for the job

For an everyday photograph, start around 80 and inspect the downloaded file at its intended display size. If it still looks good and remains too large, try a lower value. Hair, foliage, fine patterns, and text are useful places to check for smudging or block-shaped artifacts. At a higher quality setting, more detail is retained, but the file may be larger.

For a strict upload limit, compare the output size with that limit after each attempt. If lowering quality makes the image unreadable, use a separate resizing tool to reduce pixel dimensions or choose a different source file. This compressor does not guarantee a target size such as 100 KB.

Which input format should you use?

JPEG is usually a suitable output for photographs. PNG is often preferable for transparent artwork or sharp interface graphics, but this tool always exports JPEG. A transparent logo will receive a white background, and thin text can acquire compression artifacts. WebP images are accepted, but converting an efficient WebP to JPEG can increase the file size.

Animated images are not preserved as animations. Canvas re-encoding also does not preserve all original metadata or color-profile information. Keep the source if you need to retain those properties, and check colors and orientation in the result.

Understand the savings figure

Space saved is calculated as (original bytes − output bytes) ÷ original bytes × 100. A negative result means the JPEG is larger; it is not an error in the calculation. You can keep the smaller original or try a lower quality setting. Compressing an already compressed photo repeatedly can degrade it without producing worthwhile savings.

Choose the output for the content

Choose the output for the content
ContentWhat to checkWhen to keep the original
Camera photoFaces, texture and detail at intended sizeThe JPEG looks worse or is larger
Transparent logoWhite background and edgesYou need transparency
Screenshot with textSmall characters and colored bordersText becomes fuzzy
Already optimized WebPOutput bytes compared with inputJPEG increases the size

A few things you might wonder

Why is my compressed file bigger?

The source may use a more efficient format or already be optimized. JPEG encoding has its own overhead, and the quality setting can retain more data than the source needs. Compare bytes, then lower quality or keep the original.

Can I keep a transparent background?

Not with this tool’s JPEG output. Transparent pixels are placed on white. Keep a PNG or WebP source when transparency matters.

Does this remove private metadata?

Browser re-encoding does not preserve all metadata, but this is not a verified metadata-sanitization service. Do not rely on it to remove every identifying detail.

Why was the image rejected?

Inputs must be JPG, PNG, or WebP and no larger than 20 MB. Images above 40 megapixels are rejected after decoding. A damaged file or low device memory can also prevent processing.

A useful check before sharing

Keep your original, open the downloaded JPEG, inspect important details, and verify its file size against the destination’s limit. All processing takes place in this tab; selecting a file does not upload it to DuoTools.