How to Use WebP Images in WordPress, Shopify & Blogger (2026)
Images are the single biggest contributor to page weight on most blogs, e-commerce stores, and content websites — typically accounting for 50–70% of total page size. Switching to WebP is the fastest way to cut that weight by 25–35% with zero quality trade-off. But how you implement WebP depends entirely on which platform you are using.
This guide covers WebP implementation for the three most popular platforms: WordPress (the world's most used CMS), Shopify (the leading e-commerce platform), and standard blog/HTML sites. It also covers bulk conversion tools, load time impact for bloggers, and how to handle Pinterest correctly.
How to Use WebP Images in WordPress
Does WordPress Support WebP?
Yes. Since WordPress 5.8 (released July 2021), WordPress natively supports uploading WebP images to the Media Library — they are treated like any other image format. However, native support only means you can upload WebP files manually. It does not automatically convert your existing JPEG/PNG uploads to WebP, and it does not serve WebP with a JPEG fallback for older browsers.
For a complete WebP workflow, you need a plugin. Here are the four best options in 2026:
ShortPixel Image Optimizer
ShortPixel is the most popular WordPress image optimization plugin with over 700,000 active installs. It converts all uploaded images (JPEG, PNG, GIF) to WebP automatically, stores both the original and the WebP version, and serves WebP to supporting browsers with a seamless JPEG fallback. It also compresses images before conversion — often reducing file sizes by 50–80% combined. Bulk optimization of your existing Media Library is supported on all plans.
Imagify
Imagify is developed by the team behind WP Rocket (the most popular WordPress caching plugin), which means it integrates seamlessly if you use WP Rocket. It offers three compression levels (Normal, Aggressive, Ultra), converts to WebP automatically on upload, and handles bulk conversion of existing images. The interface is the simplest of any WebP plugin — one toggle to enable WebP delivery.
Smush (WP Smush)
Smush is the most-installed image optimization plugin for WordPress with over 5 million active installs. The free tier compresses images but WebP conversion requires the Pro plan. For sites already using Smush and happy with its other features, upgrading for WebP is straightforward. Smush Pro also includes lazy loading and CDN delivery via their global network.
WebP Express
WebP Express is a free plugin that converts images to WebP on your server (using PHP's GD or ImageMagick extension, which most hosts provide). Unlike cloud-based plugins, there are no monthly limits or API calls — all processing happens on your server. It uses .htaccess rules to automatically serve WebP to supporting browsers. Ideal for budget-conscious sites or high-volume sites where per-image pricing is prohibitive.
How to Bulk Convert Existing WordPress Images to WebP
If you have hundreds or thousands of existing images in your Media Library, converting them one by one is not practical. All four plugins above support bulk conversion:
- Install and activate your chosen plugin (ShortPixel recommended for most sites)
- Go to Media → Bulk Optimization (ShortPixel) or Smush → Bulk Smush
- Enable WebP conversion in the plugin settings
- Click "Optimize All" and wait — the plugin processes images in batches
- Check the results: ShortPixel shows savings per image and in total
For large libraries (5,000+ images), expect bulk conversion to take 30–90 minutes. Run it during low-traffic hours. The original files are preserved — you can revert at any time.
Need to Convert Individual JPGs to WebP?
Our free browser-based converter handles individual files instantly — no upload, no registration, no limits. Perfect for manual uploads or images outside your WordPress Media Library.
Best Image Format for Shopify Stores
Does Shopify Support WebP?
Yes, and better than you might expect. Shopify's CDN automatically converts and delivers images in WebP format to any browser that supports it — no configuration required on your part. This has been the case since 2020 and applies to all Shopify stores on all plans.
How it works: You upload a product image as JPEG or PNG at the highest quality available. Shopify's CDN (powered by Fastly) stores the original and generates WebP versions on-the-fly. When a browser requests the image, the CDN checks the Accept header — if the browser accepts image/webp, it serves WebP; otherwise it serves JPEG or PNG. Zero work on your end.
Shopify Image Best Practices
Upload Quality JPEG or PNG
Always upload at full resolution and maximum quality. Shopify's CDN handles the compression — uploading a pre-compressed low-quality image results in double-compression artefacts.
Use 2048×2048 for Products
Shopify recommends 2048×2048px for product images. The CDN serves appropriately sized versions based on the display context — thumbnail, product page, zoom view.
Square Aspect Ratio
Square (1:1) product images display best across all themes. Consistent aspect ratios prevent layout shift and create a cleaner product grid.
Descriptive Filenames
Name your images descriptively before uploading: blue-leather-wallet-men.jpg rather than IMG_4732.jpg. Shopify uses filenames in the image URL, which is an SEO signal.
Add Alt Text to Every Image
Alt text is the most important on-page SEO factor for images. Describe what is in the image naturally — include your product name and a key descriptor. Shopify has a dedicated alt text field per image.
Limit Images Per Product
More images mean more HTTP requests. 3–6 high-quality product images is optimal. Remove duplicate angles and use the zoom feature for detail shots rather than separate images.
Checking if Shopify Is Serving WebP
Open Chrome DevTools (F12) → Network tab → filter by "Img" → load your Shopify store → check the Type column for product images. You should see webp. Alternatively, hover over an image URL in the Network tab and look for .webp in the URL path that Shopify's CDN constructs.
How Bloggers Can Reduce Website Load Time
For bloggers on self-hosted WordPress, Ghost, or static HTML blogs, the load time optimisation playbook is well-established. Images are almost always the biggest opportunity. Here is the full checklist:
| Optimisation | Typical time saving | Effort |
|---|---|---|
| Switch images to WebP | 100–300ms on mobile | Low (plugin or converter) |
| Add lazy loading to images | 50–150ms initial load | Very low (add one attribute) |
| Add explicit width/height | Eliminates layout shift (CLS) | Low |
| Use a CDN (Cloudflare free tier) | 200–500ms for global readers | Medium (DNS change) |
| Enable caching (WP Rocket or W3TC) | 300–800ms on repeat visits | Low (plugin) |
| Remove unused plugins | 50–200ms | Low |
| Serve correct image sizes | 100–400ms | Medium |
The WebP conversion + lazy loading + CDN combination is achievable in an afternoon and typically cuts mobile load time by 40–60% on content-heavy blogs. If you use WordPress, ShortPixel handles WebP and compression automatically. For non-WordPress blogs, use our free browser-based converter to convert images before uploading.
Bulk Convert Images Outside WordPress
If you are on Ghost, Webflow, Squarespace, or a static site, you need to convert images before uploading. Options:
- Browser converter — our JPG to WebP converter handles multiple files at once, runs entirely client-side, and has no upload limit
- cwebp CLI — batch convert an entire folder:
for f in *.jpg; do cwebp "$f" -o "${f%.jpg}.webp"; done - Squoosh — Google's browser-based tool with side-by-side quality preview and bulk mode
- Sharp (Node.js) —
sharp('input.jpg').webp({quality:82}).toFile('output.webp')— ideal for build pipelines
How to Optimize Pinterest Images Using WebP
Pinterest is a significant traffic source for many bloggers, especially in niches like food, travel, home decor, DIY, and fashion. Optimising for Pinterest while using WebP requires understanding a nuance: Pinterest uses your Open Graph image, not your page's WebP images, when someone saves a pin from your site.
The Recommended Pinterest + WebP Approach
- Use WebP for all on-page images — your hero images, blog post images, product photos. This is what browsers load and what affects your page speed and Core Web Vitals.
- Keep your
og:imagemeta tag pointing to a JPEG or PNG — this is what Pinterest fetches when someone saves a pin from your site. Store a JPEG version at the correct Pinterest dimensions (1000×1500px for portrait pins, 2:3 ratio) and reference it in your<meta property="og:image">tag. - Add a hidden Pinterest-optimised image if your on-page images are not in a pin-friendly ratio. Many bloggers include a tall (2:3) version of their featured image with
display:noneorvisibility:hidden, which Pinterest can find but readers cannot see. This is a well-established Pinterest SEO technique.
<!-- Pinterest og:image — use JPEG for compatibility -->
<meta property="og:image" content="https://yoursite.com/images/post-pin.jpg">
<meta property="og:image:width" content="1000">
<meta property="og:image:height" content="1500">
<!-- On-page images — use WebP for speed -->
<picture>
<source type="image/webp" srcset="hero.webp">
<img src="hero.jpg" alt="Description" width="800" height="500" loading="lazy">
</picture>
Pinterest Image Specifications (2026)
| Pin type | Recommended size | Aspect ratio | Max file size | Format |
|---|---|---|---|---|
| Standard pin | 1000×1500 px | 2:3 | 20 MB | JPEG, PNG, WebP (JPEG safest) |
| Square pin | 1000×1000 px | 1:1 | 20 MB | JPEG, PNG |
| Video pin | 1080×1920 px | 9:16 | 2 GB | MP4, MOV, M4V |
Complete Platform Comparison
| Platform | WebP support | Auto-conversion? | Best approach |
|---|---|---|---|
| WordPress | Upload support since 5.8 | Via plugin only | ShortPixel or Imagify plugin |
| Shopify | CDN auto-converts since 2020 | Yes, automatic | Upload quality JPEG/PNG; CDN handles rest |
| Squarespace | Partial CDN delivery | Partial | Upload WebP directly; check with custom code injection |
| Webflow | Upload support + CDN delivery | Partial | Upload WebP directly; Webflow CDN serves it |
| Ghost | Upload support | No | Convert before upload using browser tool or CLI |
| Wix | CDN auto-converts | Yes, automatic | Upload JPEG/PNG; Wix CDN serves WebP |
| Static HTML | Manual | No | Convert with cwebp or browser tool; use <picture> |