Convert JPG to WEBP
Turn a .jpg photo into a modern WEBP — right in your browser, with a real re-encode via canvas, not a server upload. WEBP is typically 25–35% smaller than an equivalent-quality JPG.
Convert a JPG File to WEBP
Drop a .jpg file below. Your browser decodes it, then it's re-encoded as a real WEBP on a canvas — previewed here, ready to download.
Before you use this tool: This converts one image at a time to lossy WEBP and does not retain the original photo metadata. File-size savings depend on the image; compare the actual result rather than assuming a fixed percentage.
🔒 Nothing is uploaded — your file never leaves this deviceOn this page
Why convert JPG to WEBP
WEBP is the format most modern websites use for photos, because it produces meaningfully smaller files than JPG at the same visual quality — faster page loads and less bandwidth. If you're preparing images for a website, converting existing JPGs to WEBP is one of the highest-value, lowest-effort optimizations available.
Edge cases this tool handles
File size
Expect roughly 25–35% smaller output at a visually comparable quality, though the exact savings depend heavily on the specific photo.
Transparency
JPG never has transparency to begin with, so there's nothing to preserve or lose here — the output WEBP is fully opaque, same as the source.
Repeated (generation) loss
Since the source JPG is already lossy-compressed, re-encoding it introduces a small additional generation loss, same as re-saving a JPG as a JPG. For best results, convert from the original/highest-quality source you have rather than a JPG that's already been re-compressed several times.
Other ways to convert JPG to WEBP
Built-in tools can open WEBP but mostly can't create it: Windows Paint has no WEBP option under Save as, macOS Preview doesn't list WEBP among its Export formats, and the iPhone Shortcuts app's Convert Image action doesn't output it either. That leaves:
- This page — works in any current browser on Windows, Mac, Android, iPhone or a Chromebook, with nothing installed.
- Photoshop — opens and saves WEBP natively since version 23.2 (2022); use File → Save a Copy and choose WebP.
- GIMP (free) — File → Export As…, end the file name in
.webp, then set the quality in the export dialog. - cwebp — Google's official command-line encoder, best for batches (see below). Install it with Homebrew on a Mac (
brew install webp), from your Linux distribution'swebppackage, or from Google's libwebp downloads on Windows.
cwebp: batch conversion, resizing and EXIF
The basic command is cwebp -q 80 photo.jpg -o photo.webp, where -q is the quality (0–100). Options that matter for JPG photos in particular:
- Resize while converting:
-resize 1600 0scales to 1600 pixels wide and keeps the aspect ratio. Phone photos are often 4000+ pixels wide; shrinking them to the size they're displayed at saves far more than the format change itself. - Keep EXIF: cwebp drops all metadata by default. Add
-metadata exif,iccto keep camera data and the color profile, or-metadata allfor everything.
In Windows PowerShell, the batch version is: Get-ChildItem *.jpg | ForEach-Object { cwebp -q 80 $_.FullName -o ($_.BaseName + ".webp") }. ImageMagick users can run magick mogrify -format webp -quality 80 *.jpg instead.
Choosing a quality setting — and where WEBP isn't the answer
This tool encodes at 92%, which favors quality over savings. For web pages, a quality around 75–85 is usually indistinguishable from the JPG at normal viewing size and gives a noticeably smaller file; use a desktop tool or cwebp if you want that control. Compare the result at 100% zoom before replacing your originals.
- Websites: the ideal use. Every current browser displays WEBP, and WordPress has accepted WEBP uploads since version 5.8.
- Email and printing: keep the JPG. Some email clients and many print services still don't handle WEBP reliably.
- Your photo archive: keep the original JPGs. Converting adds a small extra loss on top of the JPG's own compression, and JPG remains the format every device and app opens.
Frequently asked questions
Does converting JPG to WEBP upload my file anywhere?
No. The image is decoded and re-encoded entirely inside your browser using a canvas — the file never leaves your device or touches a server.
How much smaller will the WEBP file be?
Typically 25–35% smaller than the source JPG at a visually comparable quality, though this varies a lot by image content — photos with lots of fine detail or noise compress less than smooth, simple images.
Will I lose quality converting an already-compressed JPG?
A small amount, yes — since the source JPG is already lossy, re-encoding it adds a further (usually minor) generation loss, the same as re-saving any JPG. Converting from the original source, if you have it, avoids this.
Is WEBP widely supported?
Yes — every major browser has supported WEBP natively for years, and it's now the default image format on most modern websites.
Does converting JPG to WEBP keep EXIF data?
Not with this browser tool, which writes pixels only, so camera details and GPS location are removed. Google's cwebp also drops metadata by default; add -metadata exif,icc (or -metadata all) to the command if you want it kept.
How do I convert JPG to WEBP for WordPress?
WordPress accepts WEBP uploads since version 5.8, so you can convert each JPG with this page or cwebp and upload the WEBP like any other image. Resizing large phone photos to the width your theme actually displays usually saves more than the format change.
Can I convert JPG to WEBP on a Mac without installing anything?
Preview can't export WEBP, so the simplest no-install option is this page in Safari or Chrome. For batches, install Google's cwebp with Homebrew (brew install webp) and run it in Terminal.
Last updated October 1, 2026.