Image Converter

WebP ↔ PNG ↔ JPEG with adjustable compression and live file sizes — all in your browser.

🖼️

Drag & drop your images here

Input: PNG, JPG, WebP, GIF, BMP, SVG, ICO — Output: WebP, PNG, JPEG

90
Higher = better quality, larger file. 100 = browser max.
Optional. Scales down (keeps aspect) if larger. Blank = keep original.
● ● ●

Working...

How to use

  1. Drop one or more images onto the dashed area, or press Browse Files. PNG, JPG, WebP, GIF, BMP, SVG and ICO files are accepted as input.
  2. Choose an output format: WebP, PNG or JPEG. The note under the menu explains the trade-off for that format.
  3. For WebP and JPEG, move the Quality slider. For PNG, use the PNG compression slider instead: 0 keeps the file lossless, and higher values reduce the number of colours. For JPEG, pick the colour that replaces transparent areas.
  4. Optionally enter a maximum dimension in pixels. Images larger than that on their longest side are scaled down, keeping the aspect ratio. Leave it blank to keep the original size.
  5. Check the size shown on each result card, then download one file or press Download All to get a zip. Changing any setting re-encodes every image straight away.

The five preset buttons set the format and quality in one click, for example Web · WebP 80 or Photo · JPEG 85.

Worked example

Say you have a 2 MB PNG screenshot of a web page and want a smaller file for a blog post. Drop it in and press the Web · WebP 80 preset. The result card shows the new size and the saving next to the original.

For a screenshot like this the saving is usually large, often to a fraction of the original, but the exact figure depends on the picture. PNG stores every pixel exactly, so photographs, gradients and soft shadows are expensive. WebP at quality 80 throws away detail the eye barely notices, so it can store the same picture in far fewer bytes.

Look closely at small text in the result. Lossy compression can leave faint smudges around sharp edges. If the text looks soft, raise the quality to 90 or 95, or switch to PNG and use the colour-reduction slider, which suits flat interface graphics well.

How it works

The page decodes each file with the browser's own image decoder, draws it onto an HTML canvas, then asks the browser to encode the canvas in the format you chose. The conversion happens in memory on your device.

A lossless format, such as PNG, can rebuild the original pixels exactly. A lossy format, such as JPEG or lossy WebP, stores an approximation and discards detail to save space. Lower quality means a smaller file and more visible artefacts, and each re-save of a lossy file adds more loss, so keep your original.

JPEG has no transparency, so transparent pixels are filled with the background colour you choose before encoding. PNG and WebP keep transparency. The PNG compression slider works differently from the others: it reduces the image to a limited palette of colours, from 256 down to as few as 2, which can shrink flat logos a great deal and wrecks photographs.

Because the file is redrawn, extra data such as camera metadata is not carried over, and an animated GIF becomes a single still frame. Browsers also differ in which formats they can encode. If yours cannot produce WebP, the card reports an error or the file comes back in another format, so check the extension and size before you rely on it.

Privacy

Your images are not uploaded. Decoding, scaling, encoding and zip creation all run in your browser, and the page makes no request that carries your files. As on every page of the site, the standard analytics and ad scripts load separately and do not receive your images. See the privacy policy.

Frequently asked questions

Which format should I choose?

Use WebP for most web images, JPEG when you need the widest compatibility for photos, and PNG for sharp graphics, screenshots with text, or anything that must stay exact.

Why did my JPEG get a white background?

JPEG cannot store transparency. The tool fills transparent areas with the JPEG background colour. Change that colour, or choose PNG or WebP to keep the transparency.

Why is the output larger than the input?

This happens when the input was already well compressed, for example a small JPEG converted to lossless PNG. Lower the quality, pick a lossy format, or reduce the maximum dimension.

Does it resize my images?

Only if you enter a maximum dimension. Otherwise the output has the same width and height as the input.

Is there a limit on how many files I can convert?

The tool sets no limit. Very large images or long lists use your device's memory, so work in smaller batches if the page slows down.

Related tools