WordPress Tutorials & How-To (Advanced)

How to Add WebP Images in WordPress

blog-post-banner

WordPress Tutorials & How-To (Advanced)

How to Add WebP Images in WordPress

Google recommends WebP images for better performance, faster loading speed, and improved Core Web Vitals. WebP images load 25–35% faster than JPEG or PNG without losing quality. This guide teaches you how to upload, convert, and serve WebP images in WordPress using built-in support, plugins, CDN settings, and optimization tools — including Elementor and WooCommerce compatibility.

1

What Are WebP Images?

A next-gen format designed for high performance.

WebP is a modern image format developed by Google.

Benefits:

  • 25–35% smaller than JPEG & PNG
  • Loads faster → better SEO
  • Supports transparency (PNG replacement)
  • Supports animation (GIF replacement)
  • Supported by all modern browsers

WordPress 5.8+ supports WebP natively — but you still need optimization & proper delivery.

2

Method 1 — Upload WebP Images Directly (Native WordPress Support)

WordPress 5.8+ allows direct WebP upload.

You can upload WebP normally:

  1. Go to Media → Add New
  2. Upload .webp image

Limitations:

  • No auto-conversion of JPEG/PNG
  • No fallback for old browsers
  • Not fully optimized for speed

Use a plugin for full performance optimization.

3

Method 2 — Convert All Images to WebP Using Plugins (Recommended)

Best for performance, WooCommerce, and SEO.

Recommended plugins:

  • Imagify (by WP Rocket)
  • ShortPixel
  • Smush Pro
  • EWWW Image Optimizer

Example: Imagify Setup

  1. Install Imagify
  2. Go to Settings → Imagify
  3. Enable Create WebP Versions
  4. Enable Display WebP Images
  5. Optimize all images

Imagify automatically:

  • Converts existing images to WebP
  • Delivers WebP to supported browsers
  • Uses fallback for older browsers

4

Method 3 — Use LiteSpeed Cache for Automatic WebP Delivery

Best for LiteSpeed hosting (NameHero, Hostinger, etc.).

LiteSpeed Cache is extremely powerful for WebP.

Steps:

  1. Install LiteSpeed Cache
  2. Go to LiteSpeed Cache → Image Optimization
  3. Enable:
    • Generate WebP
    • Image WebP Replacement
  4. Click Send Optimization Request

LiteSpeed auto-serves WebP via ESI + server-level optimization.

5

Method 4 — Cloudflare Automatic Image Optimization

Best CDN-level WebP delivery.

With Cloudflare Pro (or APO), enable:

  • Polish → WebP
  • Mirage (mobile optimization)
  • Auto Minify

Cloudflare automatically serves WebP based on the browser capabilities — no plugin needed.

6

Method 5 — Generate WebP Files Manually

For designers & advanced developers.

Use tools like:

  • Photoshop + WebP plugin
  • TinyPNG / TinyJPG WebP converter
  • Squoosh.app (best quality control)

After generating WebP:

  • Upload directly via Media Library
  • Replace old images manually or using Elementor

7

WebP With Elementor

Elementor supports WebP natively.

Best practices:

  • Upload WebP in image widgets
  • Use compressed WebP hero images
  • Enable “lazy load” in Elementor Settings → Advanced

Elementor + WebP significantly boosts LCP & CLS scores.

8

WebP for WooCommerce Stores

Improve product image speed.

WooCommerce product images benefit hugely from WebP:

  • Faster category pages
  • Better mobile speed
  • Improved conversion rate
  • Better Core Web Vitals

Use Imagify/ShortPixel to auto-convert all product images + thumbnails.

9

Troubleshooting WebP Issues

Fix common WebP problems.

1. WebP not showing?

  • Clear cache (plugin + browser + CDN)
  • Ensure server module supports WebP
  • Check plugin settings

2. Elementor still showing old JPG?

  • Replace the image manually
  • Clear Elementor → Tools → Regenerate CSS

3. WebP breaking in Safari?

Enable fallback images in Imagify/ShortPixel.

4. WooCommerce thumbnails not converting?

Regenerate thumbnails using Regenerate Thumbnails plugin.

Want a High-Performance Website With Next-Gen Images?

All SiteCrafted premium websites come with automatic WebP conversion, CDN optimization, lazy loading, and 95+ Google PageSpeed scores.

Get Speed-Optimized Website

admin

admin

Author at SiteCrafted Web Solutions

Sandeep Sangam is the Founder of SiteCrafted Web Solutions and a WordPress expert specializing in high-performance business websites, SEO-ready templates, and conversion-focused designs. With years of experience helping small businesses and entrepreneurs build a strong online presence, he creates beginner-friendly WordPress tutorials that simplify complex concepts and make website building easy for everyone.

Through SiteCrafted, Sandeep has helped hundreds of clients launch beautiful, fast, and scalable WordPress websites without technical complexity. His mission is to provide practical guidance, ready-to-use solutions, and professional resources that empower users to build and grow their websites with confidence.

View all posts by admin
author-avatar

About admin

Sandeep Sangam is the Founder of SiteCrafted Web Solutions and a WordPress expert specializing in high-performance business websites, SEO-ready templates, and conversion-focused designs. With years of experience helping small businesses and entrepreneurs build a strong online presence, he creates beginner-friendly WordPress tutorials that simplify complex concepts and make website building easy for everyone.

Through SiteCrafted, Sandeep has helped hundreds of clients launch beautiful, fast, and scalable WordPress websites without technical complexity. His mission is to provide practical guidance, ready-to-use solutions, and professional resources that empower users to build and grow their websites with confidence.