How to convert images to WebP for WordPress

Images are usually the heaviest part of a WordPress page. WordPress has accepted WebP uploads since version 5.8, so converting your images before uploading is one of the simplest ways to make the site faster, without any plugin.

JPG to WEBPPNG to WEBPHEIC to WEBP

Why WebP helps a WordPress site

A WebP image is typically 25 to 35 percent smaller than the same JPG or PNG at similar quality. Smaller images mean faster page loads, a better experience on mobile data and better page experience scores, which search engines take into account. WebP also supports transparency, so it can replace PNG for logos.

Step 1: Convert your images

You can drop dozens of files at once and download them all as a ZIP.

Step 2: Pick the right size

Upload images at the size your theme actually shows, not straight from the camera. Under Options, choose Resize:

WordPress still creates its own smaller copies (thumbnail, medium, large) from what you upload, so starting with a sensible size keeps every copy small.

Step 3: Pick the right quality

Quality 75 is a good default for photos. Use 85 or more for images with text, such as screenshots and infographics. Check one image at full size before converting a whole batch.

Step 4: Upload to the Media Library

Upload the WebP files in Media, Add New, exactly like JPG or PNG. Fill in the Alt Text field with a short description of each image: it helps visitors using screen readers and helps search engines understand the picture. A descriptive file name, such as blue-running-shoes.webp, helps too.

Common problems

Frequently asked questions

Does WordPress support WebP?

Yes. WordPress accepts WebP uploads since version 5.8, released in 2021.

Do I need a plugin to use WebP in WordPress?

No. Converting images before uploading works without any plugin. Plugins are only needed if you want existing images converted automatically.

Will old browsers show my WebP images?

All current browsers support WebP. Only very old ones, such as Internet Explorer, do not.