JPG and PNG to WebP Converter

Make lighter images for a website or blog by converting JPG and PNG files to WebP, without sending them anywhere.

  • Nothing is uploaded
  • No sign-up
  • No watermark

Drop JPG or PNG files here, choose them, or paste with Ctrl+V

Choose images

JPG, JPEG and PNG. Transparent PNGs stay transparent.

Files stay on your device. Nothing is uploaded.

Creating WebP needs Chrome, Edge or Firefox. Safari and all iPhone and iPad browsers can show WebP but cannot make it.

Images are usually the heaviest part of a web page. Swapping JPG and PNG files for WebP is one of the simplest ways to make a page load faster without changing how it looks. Google's published comparison puts lossy WebP about 25–34% smaller than JPG at similar quality, and lossless WebP around 26% smaller than PNG. Your own results will vary with the picture, which is why the tool shows the before and after size of every file.

A word about browsers first

This is the one converter on the site that does not work everywhere. Making a WebP file in a web page relies on the browser's own WebP encoder. Chrome (since version 50), Edge and Firefox (since version 96) have one. Safari does not, on Mac or iPhone, and every browser on an iPhone or iPad is built on Safari's engine, so Chrome for iPhone cannot do it either. If your browser cannot create WebP, the page says so straight away instead of producing a PNG with the wrong name.

Choosing the settings

For photos going on a website, quality 80 is a sensible starting point. Then look at the result at the size it will appear on the page, not zoomed in. If skies look banded or faces look waxy, go up to 85 or 90. For pictures that contain text, such as infographics or screenshots, start at 90.

Resizing often saves more than the format change. A 4000-pixel-wide photo shown in an 800-pixel column is carrying 25 times more pixels than anyone sees. Tick Also make the images smaller and set a maximum width a little above the largest size your theme displays, perhaps 1600 pixels for full-width images to stay sharp on high-resolution screens.

ImageSuggested qualitySuggested max width
Blog or news photo75–821200–1600 px
Product photo with fine detail82–901600–2000 px
Logo or icon with transparency90–100Display size × 2
Infographic or screenshot with text90–95Width it is shown at × 2

Steps

  1. Open this page in Chrome, Edge or Firefox.
  2. Set the quality, and a maximum width if your originals are large.
  3. Add JPG or PNG files. Each one converts on arrival and shows its new size.
  4. Download the .webp files singly or as a ZIP, then upload them to your site.

PNG files with transparency

WebP supports an alpha channel in both its lossy and lossless modes. A transparent PNG logo converted here keeps its transparent background, including soft edges. That is something JPG could never do, and it is one of the reasons WebP is useful for e-commerce product shots on coloured page designs.

Putting WebP on a site with a fallback

Every current browser shows WebP, so most sites can simply use the .webp file in place of the JPG. If you still need to support very old browsers, HTML has a built-in fallback: the browser picks the first format it understands.

<picture> <source srcset="photo.webp" type="image/webp"> <img src="photo.jpg" alt="Describe the photo" width="1600" height="1067"> </picture>

Setting the width and height on the image lets the page reserve the right space before the picture arrives, so the text does not jump around while it loads. Many website builders and content management systems create WebP copies and this markup for you; check your platform's image settings before converting a whole media library by hand.

Things that do not carry over

Camera data (EXIF), GPS location and colour profiles are not copied into the WebP. For web images that is generally what you want, since the data adds bytes and can reveal where a photo was taken. Photos are turned upright first, using their rotation tag. Colours are saved in sRGB, which is what browsers assume for untagged images.

Keep your originals

Treat WebP as the copy you publish, not the copy you keep. If you later need a larger size or a different quality, start again from the original JPG or PNG. Converting a lossy WebP back to JPG costs quality twice.

Converting happens inside your browser. The images are not sent to any server, ours included. Going the other way is covered by WebP to JPG and WebP to PNG, and how image compression works explains what the quality number actually changes.

Frequently asked questions

Why does this not work in Safari?

Safari can display WebP but cannot create it from a web page, and on iPhone and iPad every browser uses Safari's engine. Use Chrome, Edge or Firefox on a computer or an Android phone.

What quality should I use for a website?

Start at 80. Product and article photos usually look clean at 75 to 85. Raise it for images with fine text or sharp graphics.

Will WebP keep my PNG's transparent background?

Yes. WebP supports transparency, so cut-out logos and product shots stay transparent.

Should I delete my original JPGs?

No. Keep them as your master copies. WebP is a delivery format: if you ever need to re-export at another size or quality, start from the original, not from the WebP.