JPG to WebP converter

Add your JPG photos above and each is saved as a WebP, typically a quarter to a third smaller at the same visible quality, so web pages load faster. Works in Chrome, Edge and Firefox.


How to convert JPG to WebP

  1. Drop the JPG photos on the box above, or press Choose JPG images.
  2. WebP is already picked. Quality 75 to 85 suits most web photos.
  3. Compare the before and after sizes in the list, and lower the quality if you want smaller files.
  4. Download one, or Save all for a ZIP to upload to your site.

Why WebP for a website

Images are usually the heaviest part of a web page, and the biggest one often decides how quickly the page looks ready (Google's Largest Contentful Paint). Google's own comparison found lossy WebP files 25 to 34% smaller than JPG at similar quality. Every current browser shows WebP, and WordPress has accepted WebP uploads since version 5.8.

The biggest saving often comes before the format: a phone photo is 4000 pixels or more wide, far more than a web page needs. Resize to about 1600 to 2000 pixels on the long side in Compress & resize (choose WebP there too) and the file shrinks much further.

If WebP is greyed out

This page uses your browser's own encoder. Chrome, Edge and Firefox can write WebP; Safari has been able to show WebP for years but not save it from a web page, so on a Mac or iPhone use Chrome or Firefox for this job. The page checks when it loads and greys WebP out if your browser can't write it.

Keep your JPGs

WebP is for serving on a website. For sending to people, printing, or uploading to forms and older software, JPG is still the most compatible, so keep the originals and convert copies.

Putting WebP on a page

Upload the WebP files as you would JPGs and use them in an ordinary image tag: <img src="photo.webp" width="1600" height="1067" alt="…" loading="lazy">. Giving the width and height stops the page jumping as images load, and loading="lazy" delays pictures further down the page. A JPG fallback is no longer needed for current browsers; keep one only if your audience uses very old ones.

JPG and WebP at a glance

JPG (JPEG)WebP
Best forPhotosImages on websites
TransparencyNoYes
CompressionLossy: small files, some detail thrown awayLossy or lossless, usually smaller than JPG and PNG
Opens inEverywhere: every phone, computer, website and upload formAll current browsers; some older apps, Office versions and upload forms refuse it

Questions

Is WebP better than JPG?

For websites, usually: smaller files at the same visible quality, plus transparency. For sharing with people and apps, JPG is still the most compatible.

Why is WebP greyed out?

Your browser cannot write WebP files. Safari reads them but cannot save them from a web page; Chrome, Edge and Firefox can.

What quality should I use for WebP?

75 to 85 for photos on a website. Compare the sizes in the list and pick the lowest quality you are happy looking at.

Will my photos look worse?

At quality 80 and above the difference is very hard to see. Compare the before and after sizes and pick the lowest quality you are happy with.

Related