WEBPery

Convert JPG to WebP in your browser

25–35% smaller files at the same visual quality. All conversion happens in your browser via the Canvas API — no uploads, no signup, no rate limits.

25–35% smallerAdjustable qualityClient-side onlyBatch upload

Click to select your JPG files

Multiple files supported. Files never leave your browser.

Quick start

  1. Step 1

    Select your JPG files

    Click the upload area or drag and drop one or more JPG files. Multiple files supported in a single batch.

  2. Step 2

    Choose a quality setting

    Use the slider after upload to set the WebP quality (10–100). 80 is the standard for web delivery; 85 for hero imagery.

  3. Step 3

    Convert and download

    Click convert. Each JPG is decoded and re-encoded as WebP in your browser. Download each result individually.

How JPG-to-WebP conversion works

The browser decodes the JPG into RGB pixels via the Canvas API, then re-encodes that pixel data as WebP using the VP8 lossy codec at the quality you select. The output is a smaller file with visually equivalent quality — usually 25–35% smaller for typical photographic content.

This is a re-encode, which means it's a second lossy pass on top of the JPG's original encoding. The concern about 'double lossy' is real but overstated: at WebP quality 80 or above, the WebP encoder doesn't have much detail to discard from a clean JPG source. The output looks the same as the input. Below quality 70, artefacts can compound visibly.

JPG doesn't carry transparency, so this direction never has to worry about alpha. The output is plain RGB WebP at the chosen quality.

For the broader compression comparison, see WebP vs JPG. For the underlying codec detail, see WebP format overview and JPG format overview. For systematic quality guidance, see WebP Compression Settings.

When to convert JPG to WebP

Site performance migration

Bulk-converting an existing JPG library is one of the highest-ROI performance changes available. The 25–35% average size reduction compounds across every page load.

Hero and LCP imagery

The Largest Contentful Paint element is usually the hero photo. Shrinking it directly improves your Core Web Vitals scores and search ranking.

Ecommerce product photography

Product pages often ship 4–8 photos. Smaller files mean faster page loads, lower bounce rates, and better mobile experience for bandwidth-constrained shoppers.

Image-heavy publishing

News sites, magazines, photo journalism — anywhere a single page may carry dozens of images, WebP's compression advantage is substantial.

CDN cost reduction

For high-traffic sites with per-GB CDN pricing, the cumulative bandwidth saving from WebP can be material — 20–30% off image bandwidth on most properties.

Mobile-first audiences

For audiences on metered mobile connections, every kilobyte matters. WebP gets the same content on screen with fewer bytes transferred.

Quality settings and file size

WebP's quality scale is similar but not identical to JPG's. The rough equivalents:

JPG quality (source)Equivalent WebP qualityUse case
9588Archival, headroom for further edits
8580Standard web delivery (sweet spot)
8075Body imagery, blog posts
7065Thumbnails

File size relationships, holding image content constant:

Content typeSource JPG (q=85)Output WebP (q=80)Reduction
Hero photo (1600×900)240 KB160 KB33%
Body photo (800×600)95 KB60 KB37%
Product photo (1200×1200)180 KB115 KB36%
Thumbnail (400×400)40 KB28 KB30%

The 25–35% reduction is consistent across typical photographic content. Higher savings (40%+) come from content with smooth gradients where WebP's prediction-based encoding shines.

Common issues and solutions

The WebP looks slightly worse than the JPG

You probably used a quality setting below 80. WebP at q=80 is visually equivalent to JPG q=85 for most content. Bumping to q=82 or 85 typically resolves any perceptible difference.

File size barely changed

Your source JPG may already be heavily compressed (very low quality). WebP can't recover information that was discarded by the JPG encoder. The savings are bigger when the source JPG is higher quality.

EXIF data is missing from the WebP

The Canvas API strips EXIF during decode. For metadata preservation (GPS, copyright, camera data), use a server-side encoder like Sharp or cwebp with -metadata all.

Conversion is slow on large files

Very large files (50 MB+) stress browser memory and CPU. Try processing one at a time, or reduce the source dimensions before conversion.

Some files were skipped on upload

The file's MIME type isn't 'image/jpeg'. Check the file extension matches its actual format — a renamed file may not be a real JPG.

Colours look slightly different

Could be one of two things: lossy compression introducing visible difference (try a higher quality), or the source JPG carried an embedded ICC profile the Canvas API ignores. For colour-critical work, verify in a dedicated image tool.

I get a 'Conversion failed' error

Usually means the source file is corrupted or uses an unusual JPG profile (progressive JPG with non-standard markers, for example). Re-export from the source application and retry.

How do I add WebP support to my site?

Use the <picture> element pattern: <picture><source srcset='/img/foo.webp' type='image/webp'><img src='/img/foo.jpg' alt='...'></picture>. Browsers that support WebP use it; the rest fall back to the JPG.

Should I also produce AVIF?

For new sites, the modern stack is AVIF → WebP → JPG fallback. AVIF saves a further 20% over WebP. The cost is more pipeline complexity and slower encoding. See WebP vs AVIF.

I want to convert WebP back to JPG

Use the reverse direction: WebP to JPG converter. Useful when sending images to platforms or tools that don't accept WebP.

Frequently asked questions

Reverse direction
WebP to JPG Converter →

Convert WebP back to JPG for universal compatibility outside the browser.

Format comparison
WebP vs JPG: full comparison →

Side-by-side spec table, file size benchmarks, and the decision framework for each format.

Format detail
WebP format overview →

Container structure, codec details, browser support, and implementation patterns.

Format detail
JPG format overview →

JPG's compression pipeline, current relevance, and when it's still the right format.

Guide
WebP Optimisation →

Encoder settings, responsive delivery, lazy loading, and Core Web Vitals impact for WebP.

Guide
Core Web Vitals & Images →

How image weight affects LCP, CLS, and INP. Concrete fixes and measurement.

Next step
WebP Compressor →

Shrink the new WebP further by re-encoding at a tuned quality. Often another 20–40% off page weight.