JPG vs WebP: technical differences
To convert JPG to WebP, drop your JPG file into the converter above and download the WebP: a modern web format, usually smaller than JPG or PNG at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
This is a lossy-to-lossy conversion: the JPG is decoded to pixels, then compressed again by WebP's VP8-based encoder. WebP's block prediction and in-loop filtering are more efficient than JPG's fixed 8×8 transform, so at a similar visual quality the file is commonly 25–35% smaller. Both formats are 8-bit with half-resolution colour (4:2:0) in their usual modes, so neither colour depth nor chroma detail changes much.
Because the JPG's own artifacts become part of the 'image' WebP must encode, the saving depends on the source. A high-quality camera JPG (quality 90+) has room to shrink substantially. A JPG that was already squeezed to quality 60–70 may barely shrink at 85% WebP — or even grow, since WebP will spend bits faithfully reproducing JPG's block noise.
| JPG (JPEG (Joint Photographic Experts Group)) | WebP (WebP) | |
|---|---|---|
| Compression | Lossy (8×8 DCT blocks, quantisation, chroma subsampling) | Lossy (VP8 intra-frame) or lossless (VP8L) |
| Colour depth | 8 bits per channel; RGB/YCbCr, greyscale or CMYK | 8 bits per channel, RGB(A); lossy mode uses 4:2:0 chroma |
| Transparency | None | Alpha in both lossy and lossless modes |
| Animation | None | Yes |
| Metadata | EXIF, IPTC, XMP, ICC profile | EXIF, XMP and ICC chunks |
| Typical file size | Smallest of the classic formats for photos | Roughly 25–35% smaller than JPG/PNG at similar quality |
| Support | Universal — every browser, camera and device | All modern browsers; most current editors and OSes |
When to convert JPG to WebP
Fixing 'Serve images in next-gen formats' on a website
Site owners whose galleries and blog images are JPG see this PageSpeed warning constantly. Converting the largest above-the-fold JPGs to WebP is a quick win for Largest Contentful Paint; WordPress has accepted WebP uploads since version 5.8.
Cutting storage and bandwidth on a product catalogue
A shop with thousands of product photos can save a meaningful share of image bandwidth by switching to WebP. Batch-convert a representative sample first and compare sizes before committing the whole catalogue.
Fitting more photos into an app or game bundle
Mobile and web app developers shipping bundled photo assets use WebP to reduce download size; Android has decoded WebP natively for years and iOS added support in iOS 14.
What converting JPG to WebP keeps and loses
What you keep
- Pixel dimensions, with camera orientation applied.
- Visual quality close to the JPG at 85%+ quality — with a second, small generation of compression loss.
What you lose
- A little more detail, because the image is compressed a second time.
- EXIF data (including GPS), IPTC captions and copyright fields, and XMP — none are copied into the WebP.
- Any embedded ICC profile.
- Acceptance by some older apps, email clients and print services that still reject WebP.
Our test: JPG to WebP on two real files
The photo went from 425 KB to 231 KB, 46% smaller, and the graphic from 43 KB to 16 KB, 64% smaller. Our test JPGs were saved at high quality, which leaves WebP plenty of redundancy to remove; a JPG that was already squeezed hard would shrink much less. The price is a second lossy generation: PSNR 40.3 dB and SSIM 0.9792 on the photo, measured against the decoded JPG.
For comparison, JPG to AVIF on the same photo produced a larger file (292 KB) that was closer to the JPG (45.53 dB), and took 7 seconds instead of the 1.4 seconds WebP needed.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | JPG in | WebP out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 425 KB | 231 KB (−46%) | SSIM 0.979 · 40.3 dB | None in source | Removed | 1.4 s |
| Graphic, 800 × 600, transparent | 43 KB | 16 KB (−64%) | SSIM 0.995 · 45.0 dB | None in source | None in source | 1.0 s |
Last updated
Apps and sites that work with JPG and WebP
Where WebP is accepted
WordPress has accepted WebP since 5.8, and Android and iOS (from iOS 14) decode it natively, so apps and most content systems take it. Photoshop opens and saves WebP from version 23.2, and GIMP throughout the 2.10 series, so editing a delivered WebP no longer requires a plug-in.
Pipelines that make WebP for you
Next.js's image component and many image CDNs convert JPGs to WebP on request and send JPG only to clients that need it. On such sites, uploading the original JPG is better than uploading a pre-converted WebP, which the pipeline would compress a third time.
Google's command-line encoder
libwebp's cwebp tool takes JPG input and has a -metadata option that can copy EXIF and XMP into the WebP, which neither Pixohub nor browser encoders do. It is the tool to reach for if photo credits or capture dates must survive the conversion.
Common JPG to WebP problems and fixes
Copyright and caption fields vanished
Stock and press photos carry IPTC or XMP credits that photo desks and agencies rely on. A canvas-based conversion like this one writes no metadata, so the WebP arrives anonymous. Keep the JPG as the archived original, add the credit in your CMS, or use cwebp -metadata all where the credit must stay inside the file.
The site or app still shows the old JPG
After swapping files, browsers and CDNs can keep serving the cached JPG, and a theme may hard-code the .jpg URL. Clear the CDN cache, check the image's URL in the page source, and make sure the new .webp file name is what the page refers to; Pixohub's download uses the .webp extension.
Faces look smoother than in the JPG
WebP's in-loop filter removes fine grain along with JPG's noise, which shows first on skin and hair in close-ups. If portraits look plasticky at 85%, re-convert at 90–92%; the file grows but usually stays smaller than the JPG. For product shots with texture, compare both at 100% zoom before replacing originals.
Tips for better JPG to WebP results
- If your JPG was already heavily compressed, try 75–80% WebP quality; matching or exceeding the original quality just preserves its artifacts at a higher cost.
- Resize oversized camera photos to the display size first — that saves far more than the format change alone.
- If you need copyright information inside the file, add it back with your CMS or editor after converting.
How this converter works
Pixohub decodes your JPG and encodes the WebP entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.