Free tool

Image compressor

Make images smaller for your website without uploading them anywhere. Choose WebP or JPEG, set the quality and the longest side, and see the size before and after for every file.

  • Private, in your browser
  • WebP, JPEG and PNG
  • Batch of files

Quality does not apply to PNG. Transparent areas become white when you choose JPEG.

Choose one or more images to start.

Free, with no sign-up. The tool runs entirely in your browser: nothing you enter is uploaded or stored on our servers.

How to use it

How it works

  1. 01

    Choose your images

    Select one or many PNG, JPG or WebP files.

  2. 02

    Set quality and size

    Pick a format, a quality level and a maximum width or height.

  3. 03

    Download the results

    Check the saving per file and download each smaller copy.

Why image size matters

Images are usually the heaviest part of a web page. Large files slow pages down on phones and weak connections, which hurts visitors and can hurt search performance. Resizing and compressing images is one of the quickest wins in any speed project.

Pick the right format

  • WebP: usually much smaller than JPEG or PNG at similar quality and supported by all current major browsers. A good default.
  • JPEG: best for photos when you need a file that every system, including email and older software, understands.
  • PNG: lossless, so no quality setting applies. Use it for logos, screenshots and graphics with sharp edges or transparency, and expect larger files.

Resize before you compress

A photo straight from a phone can be 4,000 pixels wide, while a website column rarely shows more than 1,200 to 2,000. Setting the longest side to the size you actually need gives the biggest saving, often more than the quality slider. Keep a larger copy only if the image will be zoomed or printed.

Quality settings

Between 70 and 85 is a sensible range for most photos: the file shrinks a lot and the loss is hard to see. Go lower for background images and thumbnails. Always look at the result at full size before you publish. Repeatedly compressing an already compressed JPEG adds visible artefacts, so start from the original when you can.

What the tool does not do

It re-encodes the image in your browser. Metadata such as camera details and location is dropped in the process. It does not remove backgrounds or fix colour. Animated GIFs are saved as a single frame.

After compressing

Add width and height attributes to your image tags and load images below the fold lazily. Smaller files plus those two habits solve most image-related speed problems.

Questions, answered

No. The files are read and re-encoded by your browser, and nothing leaves your computer.

Files that are already heavily optimised, and PNG conversions of photos, can grow. Keep the original in that case, or try WebP.

Re-encoding in the browser drops embedded metadata, including GPS position and camera details, but check the result if privacy matters.

Some browsers cannot encode WebP and fall back to PNG. The result line tells you when that happens. Try a current Chrome, Edge or Firefox.

By the Stegnor team · Updated