Skip to content

Image compressor

Smaller images, same look, nothing uploaded — MozJPEG, OxiPNG and libwebp running in your browser.

PNG, JPG, WebP, AVIF, GIF, BMP · or drop files anywhere in this box

Advanced settings (optional)
Image options
Output format

Keep the same format, or switch to WebP/AVIF for bigger savings.

Image quality
80

Lower values give smaller files but lower quality. 80 is a good balance for photos; 90+ for graphics with text.

Max file size
or

Optional. Set a limit such as 500 KB for upload forms; quality is reduced automatically to meet it.

PNG compression

Lossless. Higher effort finds smaller files but takes longer.

Transparency

Transparent areas stay transparent (JPG output is always filled with white).

Runs in your browser. Files are never uploaded — you can go offline after the page loads.

How to use the Image Compressor

  1. Click “Choose Files” or drop your images into the box above. Whole folders work too.
  2. Adjust the Advanced settings if you need to, then click “Compress”.
  3. When the row shows Done, click “Download” — or “Download all” for a ZIP.

Easy to use

Drop files, pick options, download. Whole folders at once, no signup, no daily limit.

Best quality

The same engines the professionals use — SVGO, resvg, MozJPEG, libwebp, libavif — compiled to run in your browser.

Private & secure

Files are processed on your device and never uploaded. Close the tab and nothing remains anywhere.

What the compressor does

Drop images or a folder and each one is re-encoded at a smaller size in your browser. PNGs are optimised losslessly with OxiPNG — same pixels, better filters and deflate settings, metadata dropped. JPGs are re-encoded with MozJPEG, WebP with libwebp and AVIF with libavif at the quality you choose. Per-file and total savings are shown live; if a file would not get smaller it is left as it is and labelled "no saving". Files never leave your device.

Getting the most out of it

  • Keep the same format when the images must stay JPG or PNG. Expect 40–70 % off camera JPGs and 20–60 % off PNG screenshots.
  • Switch to WebP for anything going on a website: another 25–35 % on top, with transparency preserved.
  • Quality 80 is the default and the right answer for photos; 85–90 for text and line art; 70–75 for large backgrounds.
  • PNG effort: Balanced for everyday use; Max for a final pass on assets that will be downloaded millions of times.

When to resize instead

Compression cannot fix an image that is simply too large in pixels. A 4000 px photo displayed at 800 px wastes most of its bytes however well it is encoded — run it through the Image Resizer first (or as well: the resizer also re-encodes at your chosen quality). For vector artwork, the SVG Optimizer is the equivalent tool.

Frequently asked questions

How much smaller will my images get?

Typical results at the default settings: JPGs from cameras and phones shrink 40–70 % (MozJPEG at quality 80 with progressive encoding), PNG screenshots and graphics 20–60 % losslessly (OxiPNG), and switching either to WebP saves a further 25–35 %. Images that were already compressed well may only lose a few per cent — the tool never makes a file bigger; if a result would be larger it is marked "no saving".

Is PNG compression lossless?

Yes, when the output stays PNG. OxiPNG recompresses the existing pixels — no colours are changed, no detail is lost — by finding better filters and deflate settings and dropping unneeded metadata. "PNG effort" controls how hard it searches: Balanced is right for almost everything, Max squeezes out a few extra per cent at several times the time.

What quality setting should I use for JPG and WebP?

80 is the sweet spot for photographs — indistinguishable at normal viewing size, and a fraction of the size of quality 95. Use 85–90 for images with text or sharp graphics, and 70–75 for large hero images where size matters more than pixel-peeping. The thumbnail and size readout update live, so you can compare quickly.

Are my photos uploaded?

No. Every byte stays in your browser: files are decoded, re-encoded and offered for download by WebAssembly code running in your tab, in parallel across your CPU cores. That is why there is no file-size cap, no daily limit and no waiting in a queue — and why private photos are safe to compress here.

How does this compare to TinyPNG or Squoosh?

It uses the same codec libraries as Squoosh (MozJPEG, OxiPNG, libwebp, libavif) and produces comparable sizes to TinyPNG for photos. The differences are practical: batch folders with ZIP output, no upload, no 20-file or 5 MB limits, and the option to switch formats in the same pass.

Your files never leave your device

Most online converters upload your file to a server. InfyTool ships the actual encoders to your browser as WebAssembly instead, so processing happens inside your tab — faster for batches, and nothing to delete afterwards.

  • No upload, ever. Turn off Wi-Fi after the page loads and every tool keeps working.
  • No limits. No file-size cap, no queue, no watermark, no account.
  • Runs on your CPU. Batches use several cores in parallel; nothing is throttled.

More free tools

Need graphics to work with?

InfyTool is built by the same team as these free libraries.