Image

Compress JPEG, PNG, WebP or AVIF Images

Reduce the file size of images with a quality slider, saving as WebP, JPEG, PNG or AVIF. Several images run in parallel, all inside your browser.

Runs locally in your browser

What it does

Compress Image reduces the file size of photos by re-encoding them at the quality you choose, right inside your browser. By default it saves WebP at 72% quality and keeps the pixel size; you can switch to JPEG, PNG or AVIF, or set a maximum width to downscale as well. Several images are processed in parallel, each as its own job, and they never leave your device.

How to use it

  1. Choose one or more images, or drop them on the page.
  2. Adjust "Output format", "Quality" and "Maximum width (px, 0 = keep original)" if needed, then press "Process images".
  3. Press "Download" next to each result; with several results you can also use "Download all (ZIP)" or, in Chromium-based browsers, "Save all to a folder".

Example

Input
vacation.jpg (4.8 MB, 4032x3024)
Output
vacation-4032x3024.webp, same pixel size at 72% quality; the Results list shows its new size

What happens to your file

  • Your file or text is processed by code running in this browser tab. It is not uploaded to any server.
  • The processing code is downloaded from this site with the page; nothing about your input is sent back.
  • The result is created on your device and saved only when you choose to download it.

Limits

  • The original width is kept unless you enter a maximum width above 0 (up to 12000px); smaller images are not enlarged.
  • Quality can only be set between 20% and 100%.
  • If the WASM encoder fails, your browser's own encoder is used; it may save PNG instead of the chosen format, and the file name then ends in .png.
  • Batch size is limited only by your device's memory.

Questions

What output formats are available?

WebP, JPEG, PNG or AVIF, chosen in the "Output format" menu; WebP is selected by default. Input can be any image your browser can read.

Will compressing also resize my image?

Not by default: the maximum width starts at 0, so the pixel size stays the same and only the encoding changes. Enter a maximum width if you also want to downscale, which saves much more space on large photos. Smaller images are never enlarged.

Can I compress several images at once?

Yes. Select or drop several files and press "Process images"; each image becomes its own job with the same settings, and several jobs run in parallel. Each job has its own progress bar and can be cancelled or retried.

Does compressing remove metadata?

Re-encoding the image also strips most embedded metadata, such as EXIF and GPS data, from the output file. Your original file is not changed.

What quality range can I choose?

The slider goes from 20% to 100% and starts at 72%; lower values produce smaller files with more visible compression artifacts. PNG output ignores the slider because PNG is lossless.

Can I choose the output file names?

Yes. By default files are named after the original with the new pixel size, such as vacation-4032x3024.webp. In "File names ({name}, {n}, {w}, {h}; empty = default)" you can type a pattern: {name} is the original name, {n} the position in the batch, {w} and {h} the size; for example, {name}-small gives vacation-small.webp. This and your other settings are kept in the page address after the "#", which is not sent anywhere.

Next steps