How to convert JPG to WebP for a website

If you run a website, WebP is the easiest speed win available. The same picture at the same visible quality, at a fraction of the size.

Convert an image
Whichever tool you use here, the file stays on your device. How that works

Step by step

  1. 1Add browser-readable JPG, PNG or WebP images.
  2. 2Choose JPG, PNG or WebP output; adjust quality for JPG or WebP.
  3. 3Convert and compare the reported format, dimensions and file size.
  4. 4Save and inspect transparency, edges and important text before replacing an original.

Why WebP is worth the swap

Compare the JPG and WebP at the same viewing size. Savings vary by source and quality, and no particular percentage is promised.

Transparent areas become white in JPG. PNG preserves existing transparency but does not remove a JPG's background.

PNG ignores the quality slider. JPG and WebP encoding can change detail; this tool has no lossless-WebP switch.

Rolling WebP out safely

Every current browser displays WebP. The risk is older software, some email programs and some upload forms, which still reject it. If a picture will be used somewhere you do not control, keep the JPG as well.

On a website you control, WebP is a good swap at the default quality of 85. Test the page after replacing the images, and compare the sizes shown by the tool, because the saving varies from picture to picture.

Questions

Can conversion restore an original sharp image?

No. Changing encoding cannot reverse earlier compression or create missing pixels.

What if the picture will not convert?

What can be opened depends on your browser. JPG, PNG and WebP always work, and a file of another type may need to be saved as one of those in another program first.

Is WebP always smaller than JPG?

It usually is for the same visible quality, but not every time. The tool shows the size before and after, so you can see the saving for your picture.

Related jobs and next steps

How to convert a PNG to a JPGTurn a PNG into a JPG in your browser. Useful when a form refuses PNG or the file is simply too large.How to convert WebP to JPGTurn a WebP file into a JPG that older software will actually open, on your own device and without an account.How to convert JPG to PNGTurn a JPG into a PNG, and understand what that does and does not gain you. Runs on your own device.

Tools that help with this job

Convert an image
Compress imageJPG, PNG and WebP, one or a hundredResize imageExact pixels or size presetsCrop & rotateQuarter turns, flips and ratio cropsImage to PDFTurn photos and scans into a PDF