How to convert JPG to WebP
- Drop a JPG photo into the box above, choose a file, or paste an image.
- WebP is already selected. Quality 80–85 is a good balance for photos on web pages.
- Check how much smaller the file is, then select Download.
A quick checklist for web images
- Resize first. A 4000-pixel photo shown 800 pixels wide wastes most of its bytes. Resize it to about twice its displayed width, then convert.
- Convert to WebP for a further cut in size at the same look.
- Keep your originals. Store the full-size JPGs somewhere safe; use the WebP versions on the site.
- Check your platform. Shopify, WordPress and most site builders accept WebP uploads; some marketplaces still ask for JPG.
JPG or WebP for my website?
WebP, for almost every visitor: all current browsers show it, and smaller images make pages load faster, especially on phones. JPG remains the safer choice for files people download and open in other apps, for email newsletters, and for marketplaces that don't accept WebP yet.
How it works
The JPG is decoded and re-encoded with libwebp, Google's WebP encoder, in its lossy mode at quality 85. That's a second round of lossy compression on top of the JPG's, so detail the JPG already lost stays lost and the new encoder adds a little loss of its own; starting from the camera original gives the cleanest result. Photos rotated by an EXIF tag are turned upright first, since the WebP doesn't carry the tag. The before-and-after slider lets you check the result at full size before downloading.
Common uses
- Product photos for an online shop. Product photos are often the heaviest part of a store page. Convert them to WebP at quality 80 to 85 before uploading, and pages load faster for shoppers.
- A speed test flags your images. PageSpeed Insights and similar tools often point to large JPGs as a way to speed up a page. Converting them to WebP is one of the simplest fixes.
- A blog post with lots of photos. A post with a dozen full-size photos can be slow on mobile data. Convert each photo to WebP to make the page lighter without a visible change.