A little help for everyday work.
Free to useFind a tool
Developer tools

Image Compressor

Compress JPG, PNG and WebP images in bulk and see exactly how much each one shrinks. Provide output format, quality and limit longest side to and the tool shows the result immediately.

⌑ Runs in your browserNo sign-up needed
01

Your inputs

Your inputs and files stay on your device.

02

Your result

◎

A little input. A useful answer.

Enter your values and run the tool to see your result here.

What the Image Compressor does

Compress JPG, PNG and WebP images in bulk and see exactly how much each one shrinks. This tool runs entirely in your browser. You provide output format, quality and limit longest side to.

What you get with each result

Compress up to 30 images at once to JPEG, WebP or PNG with a quality control and an optional size limit. A before-and-after table shows the saving per file, images are never made larger, and several results download as one ZIP.

The formula behind it

Each image is decoded in your browser, drawn onto a canvas (optionally scaled so its longest side fits your limit) and re-encoded as JPEG, WebP or PNG at the quality you choose. JPEG and WebP are lossy: lower quality gives a smaller file with slightly less detail. PNG is lossless, so its size only falls when you reduce the dimensions.

How to use it

  1. Choose your file with Choose images (up to 30 files, 60 MB in total).
  2. Set Output format.
  3. Set Quality (10–100).
  4. Set Limit longest side to (px, 0 = keep size).
  5. Press Compress images.
  6. Review the result panel, then use Copy result, Print or Download as needed.

Inputs and options

  • Choose images (up to 30 files, 60 MB in total): choose one or more files from your device (image/*); it is read in your browser and is not uploaded.
  • Output format: choose JPEG (best for photos), WebP (smallest) or PNG (lossless, keeps transparency).
  • Quality (10–100): enter a number.
  • Limit longest side to (px, 0 = keep size): enter a number.

Every option explained

Output format offers 3 choices: JPEG (best for photos), WebP (smallest) and PNG (lossless, keeps transparency). The first entry is the default.

Number fields

  • Quality (10–100) starts at 75, minimum 10 and maximum 100.
  • Limit longest side to (px, 0 = keep size) starts at 0, minimum 0 and maximum 12000.

Use a decimal point for fractions and a minus sign for negative values where they make sense. Fields left empty are treated as missing rather than zero.

Tips for reliable results

  • Files are read straight from your device. Very large files depend on your device’s memory, so for big inputs close other heavy tabs first.
  • Keep units consistent across fields (for example all lengths in the same unit) because the tool does not guess which unit you meant.
  • The result is recalculated each time you press the button, so change one field at a time to see how it affects the outcome.

Frequently asked questions

Why did my file stay the same size?

If re-encoding would not make a file smaller, the original is returned unchanged rather than a bigger copy.

Is metadata removed?

Yes. Re-encoding drops camera metadata such as GPS location, which is useful before sharing photos online.

What does the Image Compressor return?

It shows the processed output in the result panel, which you can copy, print or download.

Does this tool upload my data?

No. Files are read and processed in your browser, so nothing is sent to a server.

Something not working as expected? Report a problem with Image Compressor with a sample input and the result you expected.

A few useful next steps.

More developer tools →