WebP Export Settings: Good, Better, Best
WebP has become the default choice for fast, image-heavy sites. It shrinks file sizes, keeps photos sharp, and supports transparency. Yet the real gains come from dialing in the right WebP export settings, not just switching formats.
Set them too low and images look muddy. Set them too high and pages slow down with bloated files. The sweet spot depends on image type, layout, and performance goals.
This guide walks through practical WebP export settings for three quality tiers—good, better, and best—so you can pick the right profile instead of guessing every time you export.
Why WebP Export Settings Matter
WebP is not magic. It is a container with flexible compression and quality controls. The same image can end up at 40 KB or 400 KB depending on the chosen WebP quality settings and options.
Consider a 2400 × 1600 hero photo for a landing page:
-
JPEG at quality 80: ~450 KB
-
WebP at quality 80 (lossy): ~220 KB
-
WebP at quality 60 (lossy): ~140 KB
All three can look acceptable on a laptop. The difference shows up in load time and Core Web Vitals. A site with 10 such images can either push 4.5 MB or 1.4 MB over the wire.
Thoughtful image compression settings let you choose the right trade-off for each image type:
-
Marketing hero images: prioritize visual polish, tolerate larger files.
-
Blog inline images: favor speed; small artifacts are acceptable.
-
Icons and UI elements: need crisp edges; use lossless or near-lossless.
WebP supports both lossy and lossless compression, plus advanced options like near-lossless, chroma subsampling, and alpha channel compression. Understanding these tools helps you set up repeatable export presets.
Core WebP Quality Settings Explained
Most tools expose only a few sliders, yet under the hood WebP has many knobs. The most important WebP export settings fall into a few categories.
Lossy vs Lossless
-
Lossy WebP
-
Uses predictive compression.
-
Great for photographs and gradients.
-
Produces the smallest files for most web content.
-
Controlled mainly by a quality value from 0–100.
-
-
Lossless WebP
-
Preserves every pixel exactly.
-
Ideal for logos, icons, flat colors, and UI screenshots.
-
Larger files than lossy at the same visual level.
-
Example:
A 512 × 512 flat logo with transparency:
-
PNG-24: 120 KB
-
WebP lossless: 60 KB
-
WebP lossy quality 80: 28 KB but with slight haloing around edges
For a brand logo on a homepage, the lossless version is often the right choice despite the larger size, because edge clarity matters more than a few extra kilobytes.
Quality Value (0–100)
Most tools label this simply as Quality or Compression quality. For lossy WebP:
-
0–40: aggressive compression, visible artifacts.
-
50–70: good balance for blogs and content images.
-
75–85: high quality for hero images and product photos.
-
90+: near-original, often wasteful for web use.
Unlike JPEG, WebP handles lower quality values more gracefully. A WebP at quality 60 often looks like a JPEG at quality 75 while being smaller.
Example:
A product photo at 1600 × 1600:
-
WebP Q60: 110 KB, minor noise in shadows.
-
WebP Q80: 190 KB, very clean.
-
WebP Q90: 260 KB, visually similar to Q80.
For an ecommerce category grid with 20 thumbnails, Q60 can save over 3 MB while still looking acceptable. For a zoomed product detail page, Q80 is safer.
Chroma Subsampling
Some encoders expose chroma subsampling as 4:2:0, 4:2:2, or 4:4:4, or hide it behind a “high quality” toggle. Subsampling reduces color resolution more than brightness resolution, exploiting human perception.
-
4:2:0: most aggressive, smallest files, fine for photos.
-
4:2:2: middle ground.
-
4:4:4: no color subsampling, best for sharp graphics.
Example:
A screenshot of a code editor with colored text:
-
WebP lossy Q80, 4:2:0: 90 KB, color fringing on small text.
-
WebP lossy Q80, 4:4:4: 130 KB, crisp text and lines.
For UI screenshots used in documentation, 4:4:4 is worth the extra space.
Alpha Channel and Transparency
WebP supports transparency in both lossy and lossless modes. Export dialogs often expose this as Alpha quality or a simple checkbox.
-
Lossless with alpha: best for logos and icons.
-
Lossy with alpha: smaller but can produce halos on non-solid backgrounds.
Example:
A white logo on transparent background over a gradient hero banner:
-
Lossy WebP with alpha quality 70: faint gray fringe around logo.
-
Lossless WebP: clean edges, 2× file size.
On a high-traffic homepage, the clean edges usually justify the slightly larger file.
Good, Better, Best: Practical WebP Profiles
Rather than tweaking sliders for every image, define three repeatable profiles. These map to common workflows and make it easy to keep WebP quality settings consistent across a team.
“Good” Settings: Fast and Light
Use this profile for blog posts, documentation, and any content where speed matters more than perfect fidelity.
Target use cases:
-
Article images and diagrams
-
Thumbnails in grid layouts
-
Background images partially covered by text
Suggested WebP export settings (Good):
-
Mode: Lossy
-
Quality: 55–65 (start at 60)
-
Chroma subsampling: 4:2:0
-
Resize large images to a sensible max width (e.g., 1200 px for content images)
-
Enable metadata stripping (remove EXIF, GPS, thumbnails)
Concrete example:
A 2400 × 1600 blog header photo:
-
Original JPEG Q80: 450 KB
-
Resized to 1200 × 800, WebP Q60: ~90 KB
On a blog post with 8 images, this profile keeps total image weight under 1 MB while staying visually solid on laptops and phones.
“Better” Settings: Balanced Quality
This profile suits pages where images support conversion or brand perception but still need to load quickly.
Target use cases:
-
Product listing pages
-
Portfolio grids
-
Case study images
-
Team photos
Suggested WebP export settings (Better):
-
Mode: Lossy
-
Quality: 70–80 (start at 75)
-
Chroma subsampling: 4:2:0 for photos, 4:4:4 for UI screenshots
-
Resize to layout-specific dimensions (e.g., 1600 px max width for large cards)
-
Keep essential metadata only (e.g., color profile)
Concrete example:
A 1600 × 1200 product image on a category grid:
-
JPEG Q80: 320 KB
-
WebP Q75: 150 KB, clean edges and smooth gradients
For a category grid with 12 products, total image weight stays around 1.8 MB, and perceived quality is close to the original JPEGs.
“Best” Settings: Visual Priority
Use this profile for high-impact visuals where subtle artifacts are unacceptable.
Target use cases:
-
Homepage hero banners
-
Large product detail images with zoom
-
Design portfolios and galleries
-
Press kits and brand assets
Suggested WebP export settings (Best):
-
Mode: Lossy for photos, Lossless for logos and vector-style art
-
Lossy quality: 80–90 (start at 85)
-
Chroma subsampling: 4:4:4 for UI, text, and fine detail
-
Ensure correct color profile (sRGB) is embedded
-
Use responsive images (
srcset) so large files only load on large screens
Concrete example:
A 2400 × 1600 hero image used above the fold:
-
JPEG Q90: 650 KB
-
WebP Q85: 280 KB, visually indistinguishable for most users
Combined with responsive image sizes, the hero can drop below 200 KB on mobile while still looking sharp on desktop.
Matching WebP Settings to Image Types
Not every image should share the same export preset. Matching the best WebP settings to content type avoids both overspending on quality and undercutting your design.
Photographs and Gradients
Photographs, lifestyle shots, and gradient-heavy backgrounds respond well to lossy WebP.
Recommended baseline:
-
Mode: Lossy
-
Quality: 60–75 depending on role
-
Subsampling: 4:2:0
Example:
A lifestyle shot used as a full-width section background:
-
WebP Q60: 130 KB, minor noise in out-of-focus areas
-
WebP Q70: 190 KB, cleaner gradients
For a background partially covered by content, Q60 is usually enough. For a hero image with minimal overlay, Q70–75 is safer.
Logos, Icons, and Flat Graphics
These assets suffer visibly from lossy compression artifacts.
Recommended baseline:
-
Mode: Lossless
-
Keep vector source (SVG) when possible
-
For small icons, consider sprite sheets or icon fonts only if caching and usage justify it
Example:
A 64 × 64 flat icon:
-
PNG: 8 KB
-
WebP lossless: 4 KB
Switching the entire icon set to lossless WebP can cut UI asset size in half without any visual compromise.
Screenshots and UI Mockups
Screenshots combine text, sharp edges, and gradients. They are sensitive to chroma subsampling and quality.
Recommended baseline:
-
Mode: Lossy
-
Quality: 75–85
-
Subsampling: 4:4:4
Example:
A 1440 × 900 dashboard screenshot:
-
PNG: 900 KB
-
WebP Q80, 4:4:4: 260 KB, crisp text and lines
Switching to 4:2:0 saves ~30 KB but introduces color bleeding around small text. For documentation or marketing pages, 4:4:4 is usually worth it.
Tool-Specific WebP Export Settings
Different tools hide WebP quality settings behind different labels. Mapping them to the concepts above avoids guessing.
Photoshop (with WebP Plugin or Native Support)
Recent Photoshop versions include WebP export via File → Export → Export As….
For a Better preset for a product image:
-
Choose Format: WebP.
-
Set Quality: 75.
-
Check Convert to sRGB.
-
Resize to your layout width (e.g., 1600 px).
-
Strip metadata unless needed.
For a logo in Best quality:
-
Format: WebP.
-
Enable Lossless.
-
Keep transparency.
-
Keep color profile.
Squoosh (Browser-Based)
Squoosh (by Google Chrome Labs) exposes more advanced WebP options.
For a Good preset:
-
Encoder: WebP
-
Quality: 60
-
Effort: 4–6 (higher effort, slower encode, smaller file)
-
Chroma subsampling: 4:2:0
For UI screenshots in Best quality:
-
Encoder: WebP
-
Quality: 85
-
Chroma subsampling: 4:4:4
-
Preserve color profile
Command-Line: cwebp
For automated workflows, cwebp provides fine control over image compression settings.
Good preset for content images:
cwebp -q 60 -mt input.jpg -o output.webp
Better preset for product images:
cwebp -q 75 -mt -metadata icc input.jpg -o output.webp
Best preset for logos (lossless):
cwebp -lossless -mt input.png -o output.webp
These commands can be integrated into build steps, CI pipelines, or asset optimization scripts.
Testing and Tuning WebP Quality Settings
Even well-chosen defaults benefit from occasional verification. A quick testing routine helps validate that your best WebP settings match design and performance goals.
Visual A/B Checks
Pick a representative set of images:
-
One hero photo
-
One product image
-
One UI screenshot
-
One logo
Export each at two or three quality levels, for example Q60, Q75, and Q85. Compare them side by side at 100% zoom on a calibrated display. Focus on:
-
Gradients in skies or backgrounds
-
Edges around text and logos
-
Noise in dark areas
If you need to zoom to 200% or more to see differences, the lower quality is usually fine for web use.
File Size vs. Performance
Use a performance tool such as Lighthouse, WebPageTest, or Chrome DevTools Performance panel. Compare:
-
Total image bytes for a page
-
Largest Contentful Paint (LCP)
-
Time to first contentful paint
Example scenario:
-
Page A: hero and product images at WebP Q85 → total images: 3.2 MB
-
Page B: same images at WebP Q70 → total images: 1.9 MB
If LCP improves noticeably and visual differences are minor, standardize on Q70 for that page type.
Automating Consistency
For larger sites, define export rules in your build system or CMS:
-
Blog images: WebP Q60, max width 1200 px.
-
Product grid images: WebP Q75, max width 1600 px.
-
Hero images: WebP Q85, multiple responsive sizes.
-
Logos and icons: WebP lossless, original dimensions.
This removes guesswork for editors and designers while keeping your image compression settings aligned with performance budgets.
FAQ: WebP Export Settings
What WebP quality setting is best for general web use?
For most content images on blogs and marketing pages, a WebP quality value between 60 and 75 offers a strong balance between size and clarity. Use Q60 for supporting images and Q70–75 for more prominent visuals.
Should WebP always be lossy?
No. Use lossy WebP for photographs and gradients, and lossless WebP for logos, icons, and flat graphics where crisp edges matter. Lossless WebP often halves PNG file sizes while preserving exact pixels.
Are WebP images smaller than JPEG at the same quality?
In many cases, yes. At similar visual quality, WebP files are often 25–35% smaller than JPEG. For example, a JPEG at quality 80 might compress to a WebP at quality 60–65 with comparable appearance.
What are the best WebP settings for screenshots?
For UI screenshots and app interfaces, use lossy WebP with quality 75–85 and 4:4:4 chroma subsampling. This keeps text and fine lines sharp while still cutting size significantly compared to PNG.
Do WebP images need different settings for mobile vs desktop?
Quality settings can stay the same, but dimensions should change. Use responsive images with srcset to serve smaller pixel dimensions to mobile devices and larger versions to desktops. Combine this with tuned WebP quality for best results.
How can you quickly check if WebP settings are too aggressive?
Zoom to 100% on a calibrated display and look for banding in gradients, halos around text, and blocky shadows. If these issues are visible without zooming beyond 100%, raise the quality setting or switch to lossless for that asset type.
Dialing in WebP export settings is less about chasing a single “perfect” number and more about matching profiles to image roles. With a simple good–better–best framework and a few targeted tests, you can keep your site visually sharp while staying lean enough to pass modern performance audits.












Leave a Reply