PixConvertly ▶ How to use
Formats & Conversion

How to Use WebP Images in WordPress for a Faster Site

By PixConvertly · 3 min read · Updated November 19, 2026

How to Use WebP Images in WordPress for a Faster Site - webp images in wordpress guide

Using WebP images in WordPress is one of the simplest ways to make a site lighter. WordPress has supported WebP uploads since version 5.8, all current major browsers display WebP, and many hosts offer tools that serve WebP automatically. This guide explains your options and the steps that give the best result.

Try it now: JPG to WebP ConverterFree, private and works in your browser.

Open JPG to WebP →

Option 1: convert before uploading

The most direct approach is to convert images to WebP on your computer or phone and upload the WebP files. Use JPG to WebP for photos and PNG to WebP for logos, screenshots and transparent graphics. Before converting, resize images to a sensible width; for most themes, 1600 to 2000 pixels is enough for full-width images and 1200 pixels for content images. Use quality 75 to 85.

WordPress then creates its usual smaller sizes from your WebP upload and serves them with srcset, so visitors on phones get smaller versions automatically.

Option 2: let a plugin or your host convert

Many optimisation plugins and host tools can generate WebP copies of your existing media library and serve them to browsers that support WebP, while keeping the original JPG or PNG files as a fallback. If your host uses LiteSpeed servers, the LiteSpeed Cache plugin includes image optimisation with WebP. This is convenient for large existing libraries, but it adds server work and storage, and settings differ between plugins.

Which option is better?

For new content, converting before upload keeps your media library small and simple. For a site with hundreds of existing images, a plugin may save time. Many site owners combine both: convert new uploads themselves and let a plugin handle the old library.

Featured images and social sharing

Social networks fetch your featured image when someone shares a link. Most major platforms support WebP previews today, but if you find a platform that does not display your preview, check the image URL your SEO plugin outputs in the Open Graph tags and test the link with the platform’s sharing debugger.

Transparent logos

Lossless or high-quality WebP keeps transparency and is usually smaller than PNG. Upload your logo as WebP in the Customizer if your theme accepts it, or keep a PNG for places that require it. For the site icon (favicon), WordPress asks for a square image of at least 512 × 512 pixels; PNG is the safest choice there.

Common mistakes

  • Uploading huge originals. Converting a 6000-pixel photo to WebP still leaves a heavy file. Resize first.
  • Over-compressing product photos. Keep quality higher for images that sell products.
  • Double optimisation. Running several optimisation plugins can re-compress images repeatedly; use one.
  • Forgetting alt text. WebP does not change the need for good alt text.

Checking the result

Open a page, right-click an image and choose to open it in a new tab; the address should end in .webp, or the browser’s developer tools should show the image type as WebP. Then test the page in PageSpeed Insights to see whether image warnings have gone.

Image sizes WordPress creates

When you upload an image, WordPress generates several resized copies, such as thumbnail, medium and large, plus sizes defined by your theme. Very large uploads create very large copies and use more storage. Uploading at a sensible maximum width reduces storage and backup size, and makes your media library faster to browse.

Alt text and captions

Each image in the media library has an alt text field. Write a short description of what the image shows; this helps screen-reader users and image search. Captions are optional and visible to visitors, so use them only when they add information.

Batch workflow

  1. Collect the images for a new post in one folder.
  2. Open the converter, set a max width (for example 1600 px) and quality 80.
  3. Convert all files to WebP and download them.
  4. Upload to WordPress, add alt text and insert into the post.
Try it now: PNG to WebP ConverterFree, private and works in your browser.

Open PNG to WebP →

Frequently asked questions

Does WordPress support WebP?

Yes. WordPress accepts WebP uploads since version 5.8 and creates smaller sizes from them.

Should I delete my old JPG images after converting?

Not necessarily. Plugins can serve WebP while keeping originals. For new posts, uploading WebP directly keeps things simple.

Can I use WebP for my site icon?

PNG is the safest choice for the WordPress site icon. Use WebP for content images.

What quality should I use for WebP?

75 to 85 is a good range for most website photos.