WEBP to JPG

Published Updated

Turn a WebP image into a JPG at the quality you pick, with transparent areas filled with white.

White background, adjustable quality

The WebP is decoded by your browser, drawn onto a white canvas of the same size and saved as JPEG at the quality you choose. The white fill matters: JPEG has no alpha channel, and without the fill, transparent areas would come out black.

Pixel size did not change in our test, with one exception: Playwright's WebKit build turned a WebP that carries an EXIF rotation tag upright, swapping its width and height (see the checks below). Otherwise only the encoding changes.

Measured in Google Chrome 156

Pillow-made WebP files converted with this tool at the default quality of 90:

WebP fileWebP sizeJPG sizeWhat you see
Photo, 2000 x 1500, lossy59,108 bytes180,969 bytesSame picture, about 3 times the bytes
Sticker, 600 x 400, transparent766 bytes11,034 bytesRed circle on white
Animation, 3 frames188 bytes918 bytesThe first frame

One WebP photo, four browsers, five quality settings

We converted a generated 1600 x 1200 photo-like WebP (lossy, 70,934 bytes) with this page's own slider and button in Chrome 156, Chromium 153 (Playwright build, not Google Chrome), Firefox 155 and the WebKit build, one run per cell. JPEG size in bytes:

QualityChrome 156Chromium 153Firefox 155WebKit build
1018,43118,43136,14943,416
5042,95942,95957,19287,492
7576,17576,17588,328211,268
90 (preset)167,524167,524245,684325,199
1001,119,9611,119,9611,194,2711,281,199

The slider value goes to each browser's own JPEG encoder, which reads it its own way. Firefox 155 kept full-resolution colour (4:4:4) from 90, while the other three halved the colour resolution (4:2:0) up to 90 and kept it whole only at 100. At the preset 90 the JPEG was 2.4 to 4.6 times the size of the WebP.

Transparency, frames, rotation and colour, checked

  • Transparency: a red disc on a transparent background came out on white (255,255,255 at the corner, 220,30,30 in the middle) in all four engines, and blue at 50% opacity became 128,127,255, the blend with white.
  • Animation: a three-frame WebP (red, green, blue) gave a still JPEG of the first frame, red, in all four.
  • Rotation: a WebP stored 300 x 200 with an EXIF orientation of 6 stayed 300 x 200, as stored, in Chrome 156, Chromium 153 and Firefox 155. The WebKit build turned it upright to 200 x 300.
  • Colour: a solid 200,100,50 tagged as Display P3 came out as 215,93,30 in Chrome 156 and Chromium 153 (converted to sRGB, with an sRGB profile written into the JPEG) and 214,93,30 in the WebKit build; Firefox 155 wrote 200,100,50 with no profile.
  • Metadata: no EXIF data from the WebP reached the JPEG. The WebKit build added a small Exif block of its own.
  • Not only WebP: a PNG put into the page's file input converted as well (the file chooser itself asks for WebP files).

A 48-megapixel WebP

An 8000 x 6000 photo-like WebP of 957,740 bytes at the preset quality of 90, time from the click to the download link, one run each:

EngineTimeJPEG size
Chrome 1561.60 s2,421,145 bytes
Chromium 1530.93 s2,421,145 bytes
Firefox 1551.62 s3,670,906 bytes
The WebKit build0.77 s5,310,300 bytes

The tool decodes the file with the browser's createImageBitmap before drawing it, which matters in the WebKit build: there, drawing a freshly loaded large picture straight from an image element sometimes gave nothing, and the JPEG came out plain white. In two full runs of all our test files in the WebKit build, all 28 JPEGs held the picture.

Turning WebP into JPG

  1. Step 1

    Add a WebP image

    Pixel size and file size are shown next to the preview.

  2. Step 2

    Choose JPEG quality

    Quality goes from 10 up to 100; 90 is preset.

  3. Step 3

    Convert and download

    Transparent areas are filled with white, and the file keeps its name with .jpg at the end.

Other tools for WebP files

WebP to JPG questions

Why is my JPG larger than the WebP?

WebP usually compresses better than JPEG, so the same picture needs more bytes as JPEG. In a test, a 59 KB lossy WebP photo became a 181 KB JPG at the default quality 90. Lower the slider if size matters more than detail.

What happens to the transparent parts?

They become white. Because JPEG stores no alpha channel, the canvas is filled white before the WebP is drawn on it; skipping that would leave transparent pixels black. A test sticker on a transparent background came out on white.

What quality setting should I pick?

90 is a sensible default for photos you will share. For a web page or an email, 70 to 80 is often enough: with Chrome's encoder, a test photo saved at 80 was 44% smaller than at 90. Each conversion from WebP to JPEG is a second lossy step, so convert from the original rather than from an earlier JPG.

Does it work with animated WebP?

It saves the first frame as a still JPG. Browsers draw the first frame of an animation onto a canvas, as the HTML standard requires, and the animation is lost.

Why does a site reject my WebP but accept JPG?

Some upload forms and older apps accept only JPEG and PNG. For a photo, JPG is the smaller of the two: the test photo was 181 KB as JPG and 1.88 MB as PNG.

Does the JPG keep the rotation of my WebP?

It depends on the browser. In our test a WebP with an EXIF orientation of 6 kept its stored shape (300 x 200, on its side) in Chrome 156, Chromium 153 and Firefox 155, while the WebKit build turned it upright (200 x 300). The JPG carries no rotation tag of its own.

Why does the same quality give a different JPG size in each browser?

Each browser has its own JPEG encoder. At the preset 90 our 1600 x 1200 test photo came out 167,524 bytes in Chrome 156 and Chromium 153, 245,684 in Firefox 155, which keeps full colour resolution from 90, and 325,199 in the WebKit build. Compare sizes in the browser you use.

Does it keep the colours of a Display P3 WebP?

Not as a wide-gamut file. A Display P3 orange (200,100,50) became the sRGB numbers 215,93,30 in Chrome 156 and Chromium 153, which also wrote an sRGB profile, and 214,93,30 in the WebKit build. Firefox 155 kept the numbers 200,100,50 and wrote no profile.

How long does a very large WebP take?

Under two seconds. An 8000 x 6000 WebP took 0.77 to 1.62 seconds in our four test browsers and gave a JPEG of 2,421,145 to 5,310,300 bytes at quality 90.

Related guide

JPG, PNG, WebP, HEIC and SVG: which image format to use. The guide covers the alpha channel JPEG lacks, which is why this conversion fills transparent areas with white.

Related Tools