TheFileTools

How to convert an image to JPG, PNG or WebP

Change the format of one picture or a whole batch in the browser, and know what each format keeps and what it drops.

A website wants a JPG and you have a PNG. A program refuses a WebP you saved from the web. A phone photo arrives as HEIC. In each case the picture is fine and only the wrapper is wrong.

Steps

  1. Open Convert image.
  2. Choose your files or drop them on the page. Ordinary image files are accepted, including HEIC, AVIF and SVG. They are read on your device and are not uploaded.
  3. Under Format pick JPG, PNG or WebP. For JPG and WebP a Quality slider appears. It starts at 92 % and goes from 30 % to 100 %.
  4. Each picture is converted as soon as it is added. Download them one by one, or use Download all (ZIP) when there are several.

Which format to pick

  • JPG for photos and for upload forms. It is accepted almost everywhere, but it cannot hold transparency.
  • PNG for screenshots, logos and anything with a transparent background. It is saved without quality loss, so photos become large.
  • WebP for pictures on your own website. Files are usually smaller than JPG, and transparency is kept. Some older programs cannot open it.

What the conversion changes

  • Transparency: when the result is a JPG, transparent areas are filled with white. The colour cannot be changed.
  • Very large pictures: anything above about 16 megapixels is scaled down to that size.
  • Hidden data: the picture is redrawn, so camera details and location are not carried into the new file. A sideways phone photo is turned upright first.
  • Animation: the result is always a single still picture.
  • WebP on old browsers: if your browser cannot write WebP, you get a JPG instead. Check the file ending.

Converting does not aim for a file size. If a form has a limit in KB, use Compress image, and for exact pixel dimensions use Resize image.