WEBP to PNG

Turn WebP pictures into PNG in your browser, pixel for pixel, see-through parts kept. Many at once, nothing uploaded.

Your pictures are turned into PNG files in your browser. They are not uploaded.

WebP files. One picture or many at once. Drop them here, or paste copied files with Ctrl+V (⌘V on a Mac).

How the PNG is to be

These choices are remembered on this device and nowhere else. Your pictures never are.

Good to know

A PNG keeps every pixel exactly as it is given. The page gives it the pixels stored in the WebP, number for number, so the PNG shows the same picture as the WebP, with nothing added and nothing lost. Nearly every program reads a PNG, and that is the reason to turn a WebP into one.

The PNG is the larger file all the same. Most WebP files are of the lossy kind, which stays small by leaving out fine detail, and a PNG cannot pack a photo that tightly: the PNG of such a photo often takes ten times the room and more. It is no sharper for it, since what the WebP left out does not come back. A WebP of the kind without loss holds the very same pixels as its PNG and is still the smaller file, because WebP packs them tighter.

See-through parts stay see-through. A partly see-through pixel, as at the soft edge of a logo, keeps its own color too. The usual way for a page to read a picture rounds the color of exactly those pixels, so the page reads them another way (through WebGL) that hands them over as stored, and checks one reading against the other. Where that cannot be had, the card says so.

A color profile in the WebP goes along into the PNG when it changes what is shown, and camera details go along when you ask for them. A moving WebP gives a PNG of its first picture. The page takes pictures of up to 100 megapixels. To make a PNG smaller afterwards, the Image Compressor is the tool.

Rate this tool

How useful was this tool?

WebP to PNG

Convert WebP to PNG in your browser. Click the box Choose WebP pictures to turn into PNG, drop your files on it, or paste them. The hint under it says: “WebP files. One picture or many at once. Drop them here, or paste copied files with Ctrl+V (⌘V on a Mac).”

There is no convert button. Each picture is turned into a PNG as soon as it is in, with the choices under How the PNG is to be. While it works, the page says Turning the picture into a PNG…, or with several, for example Turning picture 3 of 12 into a PNG…. Each picture then gets a card with a small picture of the PNG on gray squares, so that what is see-through shows as such. Click Save the PNG on the card; the button names the file, such as photo.png. With two or more pictures, Save all as one ZIP saves them together. After a save the page says Saved.

Everything happens in your browser. As the page says: “Your pictures are turned into PNG files in your browser. They are not uploaded.” Your browser unpacks the WebP, and the page writes the PNG with its own code. The tool has no server part, and in testing the page uploaded nothing while it worked and asked no other site for anything.

Choosing, dropping and pasting WebP files

You can take one picture or up to 100 at once: through the file box, by dropping them on it, or with Ctrl+V anywhere on the page. Once pictures are in, the box reads Choose other WebP pictures, and what you choose then takes the place of the pictures on the page. So take all the files you want in one go.

  • Paste takes files copied in your file manager. This was tried as a real copy and paste in Chrome 158 on Linux: one WebP file, and two copied together, were taken. A JPG or a PNG file copied the same way got its own message (see the section on files that are not WebP).
  • A picture copied as a picture does not arrive as a WebP. In that test it arrived as image.png, and the page said: “What you pasted is a picture copied as a picture. It arrives as a PNG already, so there is no WebP to turn. To turn a WebP, choose the file, or copy the file itself in your file manager and paste that.”
  • When what you drag over from another web page is only the address of a picture, the page says: “That was the address of a picture, not the picture itself. Save the picture to your device and choose the file.”

So to turn a WebP from a web page into a PNG, save it to your device first, then choose or drop the saved file.

The page goes by what is in the file, not by its name. A WebP named .jpg or .png is taken, and its card says, for example, “The name of the file ends in .jpg, but the file is a WebP.” A WebP without any ending is taken without a note. photo.webp is saved as photo.png.

Your choices stay for your next visit: “These choices are remembered on this device and nowhere else. Your pictures never are.” The one tick that is never kept is the one that turns pictures by their camera mark: it starts off on every visit. A change to any choice makes every PNG on the page again at once.

WebP to PNG without losing quality

The PNG holds the pixels stored in the WebP, number for number. A PNG keeps every pixel exactly, so there is no quality slider and nothing to trade. The page explains, under Good to know:

A PNG keeps every pixel exactly as it is given. The page gives it the pixels stored in the WebP, number for number, so the PNG shows the same picture as the WebP, with nothing added and nothing lost. Nearly every program reads a PNG, and that is the reason to turn a WebP into one.

Your browser unpacks the WebP, and the page asks it to leave the numbers as stored: colors not turned by a profile, and not multiplied by how solid a pixel is. Each card ends with “Checked: unpacked again, the PNG gives back every pixel as it was read from the WebP.” Before it hands over a file, the page unpacks the PNG it has just packed and compares it with the pixels it was given. If that ever failed, there would be no file and the message “The PNG could not be made: the check after packing failed. Nothing is handed out.” It never happened in testing.

In testing, the PNG files were also read back by Pillow and set against what libwebp's own dwebp reads from the same WebP: all four numbers of every pixel (red, green, blue and how see-through it is), also under fully see-through pixels. That was done in Chromium 147, Chrome 158 and Firefox 158, with photos, screenshots, drawings, gray pictures and logos with soft edges, lossy and without loss.

What "without loss" cannot do:

  • A lossy WebP left out fine detail when it was made. The PNG keeps what is there. As the card puts it: “It is no sharper for it: what the WebP left out stays out.”
  • Three choices change the numbers, but only when you ask: turning the colors into sRGB, clearing the colors hidden under fully see-through pixels, and turning the picture by its camera mark. Each is described below, and the card says when one was used.

Transparent WebP to PNG: see-through parts and soft edges

See-through parts stay see-through, and the page lays no background under them. The card says how much of the picture is see-through. A logo of 600 × 300 pixels with soft edges:

“70% of this picture is fully see-through and 6.1% partly so. The PNG keeps both as they are.”

A picture that is only fully see-through, or only partly, gets a shorter line, such as “75% of this picture is fully see-through, and it stays so in the PNG.” In testing, the shares matched what libwebp counts in the same files.

A partly see-through pixel, as at the soft edge of a logo, keeps its own color too. That is where the usual way of reading a picture in a page goes wrong: an ordinary canvas stores the color multiplied by how solid the pixel is, and cannot give the stored color back. When this page still read pictures that way, the soft edges of a test logo came out up to 127 of 255 off in color, and a see-through gradient up to 254 (Chromium 147). The page explains what it does instead:

See-through parts stay see-through. A partly see-through pixel, as at the soft edge of a logo, keeps its own color too. The usual way for a page to read a picture rounds the color of exactly those pixels, so the page reads them another way (through WebGL) that hands them over as stored, and checks one reading against the other. Where that cannot be had, the card says so.

The two readings are set against each other: how solid each pixel is must be the same in both, every solid pixel the same color, and every partly see-through pixel the same once laid on a background. Where WebGL cannot be had, or the two readings do not agree, the page uses the usual reading and the card says:

Your browser could not hand over the partly see-through pixels of this picture as they are stored (the way that does it, through WebGL, was not to be had here). The page read them the usual way, which rounds their color, the more so the more see-through a pixel is. Laid on any background the picture looks the same, within 1 of 255; pixel for pixel those colors can be off. Colors hidden under fully see-through pixels do not come along this way.

A computer whose browser has no graphics acceleration gets this note. In a real Chrome 158 window on a screen without a graphics card, the page could get no WebGL at all, and the logo's card showed it. The note was also tested with WebGL switched off and with a made-up WebGL that hands back a wrong red: the page noticed, used the usual reading and showed the note. How solid each pixel is, and every solid pixel, were still exact; the rest, laid on black or on white, was within 1 of 255.

Most tests ran WebGL in software. One real graphics card was tried as well, an NVIDIA GeForce RTX 5060 Ti in Chrome 158: every check passed, and the PNG files came out the same byte for byte as with WebGL in software. The cross-check between the two readings is there for a graphics driver that hands back something else.

A see-through picture larger than 8,192 pixels a side is read through WebGL in pieces, which needs WebGL 2. Chromium, Chrome and Firefox have it. A WebP with no see-through channel does not need WebGL at all: the usual reading hands over solid pixels exactly.

Colors hidden under fully see-through pixels

A fully see-through pixel still stores a color, and the PNG keeps it unless you tick Clear the colors hidden under fully see-through pixels (often a smaller PNG where the WebP is of the lossy kind). The tick starts off, with this line under it:

A fully see-through pixel still has a color stored under it, and the PNG keeps it like everything else. Nobody sees it. In a lossy WebP it is leftover that takes room in the PNG, and each card says when a picture holds any.

A WebP without loss usually holds black there: the test logo held a color in 6 of its 126,037 fully see-through pixels. A lossy WebP holds leftovers of its packing. Where those take up 2% of the picture or more, the card of a lossy WebP adds a hint about the tick:

“Under its fully see-through part this WebP holds colors that are never shown, in 9.1% of the picture. They are in the PNG too, and "Look at it larger" can show them. Clearing them, with the tick above, changes nothing that is shown and can make the PNG a good deal smaller.”

Otherwise the line stops after “They are in the PNG too, and "Look at it larger" can show them.”: always for a WebP without loss, and for a lossy see-through gradient where they are in 0.4% of the picture.

To see them, open Look at it larger on that card and click Show the hidden colors. The page reads the WebP once more and draws every pixel solid, so what lies under the see-through parts shows. While it works the button reads Drawing the hidden colors…, then Show the PNG as it is, which takes you back. The line under the picture:

Every pixel is drawn solid here, so the colors stored under the see-through parts show. This is a view only: the PNG is as it was.

For the lossy logo the view shows the logo on black, with a rim of leftover color around each shape: that rim is what the tick clears. For a test picture that holds red under its see-through part, it shows the red under 75% of the picture. The button shows only for a picture that holds a color under at least one fully see-through pixel, and not once the hidden colors are cleared. In testing, the view of the lossy logo was dwebp's reading with every pixel made solid, number for number, in Chromium 147, Chrome 158 and Firefox 158, and the PNG itself was unchanged after the view had been shown.

With the tick on, the line under it reads:

Nothing that is shown changes, and the PNG of a lossy WebP with a see-through background often comes out much smaller: each card says what it came to. One thing to know: a program that makes a picture larger or smaller without regard to what is see-through, as some game engines do, then mixes black into its rim.

The card then says “The colors hidden under the fully see-through part, in 9.1% of the picture, were cleared, as you chose. What is shown is the same.” Measured in Chromium 147:

WebP PNG, hidden colors kept PNG, hidden colors cleared
Lossy logo, 600 × 300 (9,724 bytes) 46,901 bytes 28,470 bytes
The same logo, see-through channel made coarser (6,780 bytes) 44,560 bytes 18,919 bytes
The logo without loss (8,564 bytes) 14,612 bytes 14,602 bytes
Lossy see-through gradient, 0.4% fully see-through 12,060 bytes 12,061 bytes

It is not always smaller. A made-up test picture whose hidden colors follow a regular pattern came out larger with them cleared: 113,779 bytes kept, 183,505 cleared. Hence the page's "often".

Why the tick starts off: the risk the page names was measured. Each lossy logo was halved in size the plain way, every number of a square of four pixels averaged on its own with no regard to what is see-through, laid on white, and set against the halving done right. With the hidden colors kept, the rim was off by 8 of 255 at most; with them cleared, by 44 to 45. That was measured with numpy, not in a game engine. So tick it when a smaller file matters and the PNG is not going to a program that resizes pictures that way.

Color profiles: the WebP's own colors or sRGB

Colors offers two choices.

The WebP's own, with its color profile where it has one that matters is the start:

The numbers in the PNG are the WebP's own. A color profile that changes what is shown goes along; one that changes nothing is left out.

  • A WebP in Adobe RGB keeps its numbers and its profile. The card says “The PNG carries the WebP's color profile (Compatible with Adobe RGB (1998), 3,196 bytes) beside the same numbers, so it shows the same colors in programs that read profiles.” The profile in the PNG is the WebP's, byte for byte.
  • A WebP with the ordinary sRGB profile loses it, since it changes nothing: “The WebP's color profile (sRGB built-in) changes nothing in what your browser shows of this picture, so it is left out: a PNG without a profile shows the same colors.” The page finds this out by setting what your browser shows of the WebP against the file's own numbers. The name in brackets is read from the profile.
  • A WebP without a profile is not touched by this choice.

Turned into the ordinary kind (sRGB), without a profile is for programs that ignore profiles:

For a program that ignores color profiles. A WebP in wider colors (Display P3, Adobe RGB) loses the colors sRGB cannot hold. A WebP without a profile comes out the same either way.

The card then says “The colors were turned into the ordinary kind (sRGB), as you chose. The WebP's color profile (Compatible with Adobe RGB (1998)) is not in the PNG, and colors that sRGB cannot hold were brought inside it.” For the Adobe RGB test picture the PNG came out at 51.3 KB, against 44.5 KB with its own colors. The turning is done by your browser. Set against littlecms, it was off by 0.02 of 255 on average, by 2 at most in Chromium 147 and Chrome 158, and by 1 at most in Firefox 158.

Camera details (EXIF) and the turn mark

A WebP can hold camera details, for example when a converter carried them over from a photo. They are left out unless you tick Keep camera details (EXIF: date, camera, place) in the PNG, where the WebP holds any. That shows a second tick: Leave the place where the photo was taken out of them. The card says what happened:

  • Left out: “Camera details in the WebP, such as the date and the camera, are not in the PNG.”, or “Camera details in the WebP, the place the photo was taken among them, are not in the PNG.”
  • Kept: “The WebP's camera details are in the PNG too (11.3 KB), the place the photo was taken among them.” They go into the PNG's own place for camera details (its eXIf part). The test photo's PNG grew from 734.5 KB to 745.7 KB.
  • Kept without the place: “The WebP's camera details are in the PNG too (11.3 KB), without the place the photo was taken: the list that held the place was emptied.” Where the place cannot be taken out with certainty, none of the details go along: “The place could not be taken out of this WebP's camera details with certainty, so none of them are in the PNG.”
  • Notes in the WebP (XMP) never go along, and the card says how large they were: “Notes in the WebP (XMP, 350 bytes) are not in the PNG.”

Not every program reads camera details from a PNG. In testing, GIMP 2.10 and Pillow read them from the page's PNG: the camera maker and model, the date, the place and the turn mark. ImageMagick 6.9.12 read none from it, though it read them from the WebP. So if a program shows no camera details for the PNG, they may still be in the file.

Camera details can also carry a mark that tells programs to turn the picture. Chromium 147, Chrome 158 and Firefox 158 all show a WebP without following that mark, so the PNG holds the picture as your browser shows it, and the card says:

This WebP's camera details carry a mark that tells programs to turn the picture. Browsers do not follow that mark in a WebP, and the PNG holds the picture as your browser shows it. To have it turned, tick "Turn pictures the way their camera mark says" above.

That tick, Turn pictures the way their camera mark says (browsers show a WebP without turning it), shows only while a picture with such a mark is on the page. With it, the PNG holds the picture turned, and the card says “This WebP's camera details carry a mark that tells programs to turn the picture. As you chose, the PNG holds the picture turned that way.” A test picture of 203 × 131 pixels with a quarter-turn mark became 131 × 203 (its PNG 22.1 KB, against 20.4 KB unturned). For marks 3, 5, 6 and 8 the turned PNG was pixel for pixel the reference turned by Pillow. Camera details that go along have their mark set to "as it is", since the PNG holds the picture the way it is to be shown.

Animated WebP to PNG: the first picture

A PNG made here holds one picture, so a moving WebP gives a PNG of its first picture. The card says so:

WebP, 90 × 60 pixels, 346 bytes, the kind without loss, moving (3 pictures) This WebP moves. The PNG holds one picture, so the first picture was taken.

The page makes no moving PNG (APNG): a page cannot get the stored numbers of the later pictures from the browser. In testing, the first picture was set against Pillow's reading of the same file's first picture.

Why is the PNG bigger than the WebP?

Because WebP packs a picture tighter than PNG can, and a lossy WebP also left out fine detail to stay small. The page says so under Good to know:

The PNG is the larger file all the same. Most WebP files are of the lossy kind, which stays small by leaving out fine detail, and a PNG cannot pack a photo that tightly: the PNG of such a photo often takes ten times the room and more. It is no sharper for it, since what the WebP left out does not come back. A WebP of the kind without loss holds the very same pixels as its PNG and is still the smaller file, because WebP packs them tighter.

The card's second line sets the PNG against the WebP, in one of four forms: smaller, larger (up to twice the size), so many times the size, or the same size. A KB is 1,000 bytes. When the PNG of a lossy WebP is more than twice its size, the card adds “This PNG takes much more room than the WebP. The WebP is of the lossy kind, which leaves out fine detail to stay small, and a PNG keeps every pixel exactly, so it cannot pack a picture that tightly. It is no sharper for it: what the WebP left out stays out.” For a WebP without loss whose PNG is larger: “This PNG takes more room than the WebP though it holds the very same pixels: WebP packs them tighter than PNG can.”

Measured in Chromium 147 and Chrome 158, which wrote the same files byte for byte:

Picture WebP PNG Against the WebP
Photo, 1,200 × 800, lossy 20.6 KB 449.2 KB 21.8 times
The same photo without loss 374.4 KB 507.3 KB 36% larger
Camera photo, 3 megapixels, lossy 182.1 KB 2.3 MB 12.8 times
The same without loss 2.6 MB 3.7 MB 43% larger
Phone photo, 8 megapixels, lossy 482.5 KB 7.8 MB 16.2 times
Photo, 12 megapixels, lossy 816.7 KB 12.0 MB 14.8 times
The same without loss 10.2 MB 12.3 MB 20% larger
Photo, 48 megapixels, lossy 2.3 MB 36.8 MB 16.3 times
Photo, 48 megapixels, without loss 36.6 MB 41.4 MB 13% larger
Picture of 100 megapixels, lossy 3.0 MB 45.9 MB 15.3 times
Screenshot, 960 × 600, without loss 12.8 KB 78.1 KB 6.1 times
The same screenshot, lossy 55.4 KB 260.4 KB 4.7 times
Logo with see-through parts, 600 × 300, without loss 8,564 bytes 14.6 KB 71% larger
The same logo, lossy 9,724 bytes 46.9 KB (28.5 KB with hidden colors cleared) 4.8 times (2.9)
Drawing of 4 colors, 512 × 512, without loss 1,120 bytes 1,892 bytes 69% larger
Gray picture, 640 × 400, lossy 3,542 bytes 26.8 KB 7.6 times
Gray picture without loss 39.8 KB 35.2 KB 12% smaller

So a lossy photo gave a PNG 5 to 22 times its WebP in these tests (the six photos from 1 megapixel up: 12.8 to 21.8 times). The PNG of a photo kept without loss came out 13% to 43% larger than its WebP, for four photos. A gray picture without loss gave a PNG 12% smaller, and a screenshot without loss one 6.1 times its size.

The page writes the PNG with its own code, not with the browser's PNG writer, and picks the way of storing it for each picture:

  • A picture of no more than 256 colors gets a table of its colors and one small number for each pixel: “This picture has only 4 colors, so the PNG stores a table of them and one small number for each pixel.”
  • A gray picture gets one number a pixel: “A gray picture: the PNG stores one number for each pixel in place of three.” With see-through parts it is “A gray picture with see-through parts: the PNG stores two numbers for each pixel in place of four.”
  • A picture with no see-through pixels is stored without a see-through channel.
  • Up to 2 megapixels, every way of filtering the rows is tried and the smallest file kept. Up to 6 megapixels the picture is packed two ways and the smaller kept.

That makes a difference. The browser's own PNG writer, which this page used before its rework, gave 3,656 bytes for the drawing of 4 colors (now 1,892), 58.8 MB for the 48-megapixel photo (now 36.8 MB) and 94.4 MB for the 100-megapixel picture (now 45.9 MB), in Chromium 147. Firefox 158 packs a little differently: the same pixels, and file sizes from 1.2% smaller to 2.2% larger than Chromium's for the 33 photos, screenshots, drawings and logos tried (the 1,200 × 800 photo: 451.4 KB against 449.2 KB).

To make a PNG smaller afterwards, the page names the tool: “To make a PNG smaller afterwards, the Image Compressor is the tool.”

Save the PNG, copy it, or look at it larger

Each card has up to three buttons.

  • Save the PNG saves the file under the WebP's name with .png.
  • Copy the picture puts the PNG on the clipboard as a picture, for pasting into another program: “Copied. Your browser puts the picture on the clipboard; the PNG file itself is what Save gives.” The button showed in Chromium 147, Chrome 158 and Firefox 158. In Chromium 147 and Chrome 158 the clipboard then held a PNG picture of the right size; in Firefox 158 the page said Copied. as well, but the clipboard was not read back there. What other programs make of the pasted picture was not tested. Where a browser refuses, the page says “Your browser did not let the page put this picture on the clipboard. Save the PNG instead.”
  • Look at it larger opens the PNG itself under its card. Lay it on offers Gray squares (the start), White, Black and A color of your own, which shows a color box. Show it offers Fitted to the page, At its own size, At twice its size and At four times its size, with hard pixels when enlarged. Beside it, for a picture that holds hidden colors, is Show the hidden colors, described above. The line under them: “This is the PNG itself. What is see-through in it shows the background you lay it on here; the file is not changed by that.” The background you choose is kept for next time. The button then reads Close the larger look.

Laying the PNG on white and on black is a quick way to check soft edges before you use it.

Converting many WebP files to PNG at once

The page takes up to 100 pictures at a time and works on two at once, in helpers beside the page, so the page stays usable. With two or more pictures, a bar above the cards adds them up and counts every file that gave no PNG. For eleven files, six of them sound WebP files, four that were no WebP or cut short, and one damaged WebP:

Pictures: 6. The WebP files together: 40.7 KB. The PNG files: 523.0 KB, 12.9 times as much. Files left out: 5.

Save all as one ZIP saves webp-to-png.zip. It holds the PNG files as they are, not packed a second time, and Python's zipfile read every file in it with its checksum right. Two pictures that would share a name become photo.png and photo (2).png. With more than 100 files, the page says, for example, “You chose 101 files. The first 100 were taken.”

Example

A real camera photo kept as a lossy WebP, 2,048 × 1,536 pixels, with the choices as they start. The card reads:

WebP, 2,048 × 1,536 pixels, 182.1 KB, the lossy kind The PNG: 2.3 MB, 12.8 times the size of the WebP. This PNG takes much more room than the WebP. The WebP is of the lossy kind, which leaves out fine detail to stay small, and a PNG keeps every pixel exactly, so it cannot pack a picture that tightly. It is no sharper for it: what the WebP left out stays out. Checked: unpacked again, the PNG gives back every pixel as it was read from the WebP.

The saved camera-3mp.png is 2,331,378 bytes. Read back by Pillow, it was the same as libwebp's dwebp reading of the WebP in every pixel.

A lossy logo with a see-through background, chosen together with it, reads:

WebP, 600 × 300 pixels, 9,724 bytes, the lossy kind The PNG: 46.9 KB, 4.8 times the size of the WebP. 70% of this picture is fully see-through and 6.1% partly so. The PNG keeps both as they are. Under its fully see-through part this WebP holds colors that are never shown, in 9.1% of the picture. They are in the PNG too, and "Look at it larger" can show them. Clearing them, with the tick above, changes nothing that is shown and can make the PNG a good deal smaller.

In its larger look, Show the hidden colors shows the logo on black with the leftover rim around each shape. With Clear the colors hidden under fully see-through pixels (often a smaller PNG where the WebP is of the lossy kind) ticked, the same logo gives “The PNG: 28.5 KB, 2.9 times the size of the WebP.” Read back by Pillow, every pixel that shows was the same as before, and so was how see-through each pixel is; only the colors under the fully see-through pixels had become black.

How long it takes

Measured on the live page in Chromium 147, on a Linux computer with 32 cores and 62 GB of memory, from choosing one file until its card is ready. Ranges cover two sets of three runs.

Picture Megapixels PNG Ready after
Lossy logo with see-through parts 0.2 46.9 KB 0.2 s
Lossy photo, 1,200 × 800 1.0 449.2 KB 1.0 to 1.1 s
Lossy camera photo 3.1 2.3 MB 0.9 s
Lossy phone photo 8.0 7.8 MB 1.6 to 1.7 s
Lossy photo 12.2 12.0 MB 2.3 to 2.6 s
The same photo without loss (10.2 MB) 12.2 12.3 MB 2.5 to 2.7 s
Lossy photo 48.8 36.8 MB 9.7 to 10.0 s
See-through picture without loss, read in pieces (23.5 MB) 76.5 2.4 MB 18.6 to 23.9 s
Lossy picture 100.0 45.9 MB 32.6 to 34.6 s

A picture of 1 megapixel takes as long as one of 3, because up to 2 megapixels every way of filtering is tried. In Firefox 158 on the same computer, single runs: the 8-megapixel photo took 1.3 s and the 12-megapixel photo 2.0 s. Over 40 megapixels the working line adds “A picture of over 40 megapixels is among them. That can take ten seconds or more.”

Limits

  • 100 megapixels a picture. A larger one is refused at once, for example: “This picture is too large for the page to turn into a PNG: 10,010 × 10,000 pixels, 100.1 megapixels. The page takes up to 100.”
  • 16,383 pixels a side, the most a WebP can have. Pictures of 16,383 × 40 and 40 × 16,383 pixels went through.
  • The page sets no limit on the file size; its limits are in pixels. The largest file tried, a photo of 8,064 × 6,048 pixels kept without loss (36.6 MB), gave “The PNG: 41.4 MB, 13% larger than the WebP.” That file came out the same byte for byte in Chromium 147 and Chrome 158, and Pillow read it back equal to dwebp's reading in every pixel.
  • 100 pictures at once. With more, the first 100 are taken.
  • 4 GB in one ZIP. Beyond that: “Together these PNG files are over 4 GB, more than one ZIP of this kind holds. Save them one by one.”
  • One picture from a moving WebP: the first.
  • No phone, no Safari, no Edge and no Mac were used in testing. What a device with little memory does with a very large picture was not tried.

Files that are not WebP, cut short or damaged

The page looks at the first bytes of each file, not at its name, and gives each file it cannot turn a card with the reason:

  • A JPG under any name: “This file is a JPG picture, not a WebP. JPG to PNG turns those into PNG.” Use JPG to PNG. The same message names HEIC to PNG, SVG to PNG and TIFF to PNG for those files. In the card, the tool's name is a link to that tool; it opens in a new tab, so the pictures on this page stay.
  • A PNG under any name: “This file is a PNG already, whatever its name says. There is nothing to turn.”
  • A GIF, an AVIF or a BMP is named without a tool, as in “This file is a GIF picture, not a WebP.” A PDF gets “This file is a PDF, not a WebP.”
  • Anything else: “This file is not a WebP: it does not begin the way a WebP file does.” An empty file: “This file is empty.”
  • A WebP whose head or picture data is spoiled gives no PNG: “This WebP is damaged: its picture cannot be unpacked.”
  • A WebP cut short gives no PNG either:

This WebP ends too soon: it was cut short, perhaps by a download that broke off. No browser unpacks a WebP that is not whole, so there is nothing to turn. Download the file again.

In testing for WebP to JPG, which reads WebP files the same way, Chromium 147, Chrome 158 and Firefox 158 all refused to unpack a WebP cut short, and so did libwebp's own dwebp.

Which tool for which job

  • For a JPG, for example where a form asks for one, with see-through parts laid on a color you choose: WebP to JPG.
  • To turn a JPG into a PNG: JPG to PNG.
  • To go the other way, from PNG to WebP: PNG to WebP.
  • To make the PNG smaller afterwards: Image Compressor.
  • To make the picture smaller in pixels: Image Resizer.

FAQ

How do I convert WebP to PNG?

Choose, drop or paste your WebP files in the box Choose WebP pictures to turn into PNG, and each one is turned into a PNG at once, in your browser. Click Save the PNG on its card, or Save all as one ZIP for several.

Does converting WebP to PNG lose quality?

No, not with the choices as they start: the PNG holds the WebP's pixels number for number, and each card checks that before you save. A lossy WebP left out fine detail when it was made, though, and the PNG cannot bring that back.

Does WebP to PNG keep the transparent background?

Yes. Fully and partly see-through pixels stay as they are, soft edges included, and the page lays no background under them. The card says how much of the picture is see-through.

Why is the PNG so much bigger than the WebP?

Because WebP packs a picture tighter than PNG can, most of all a lossy WebP, which left out fine detail to stay small. In testing, a lossy camera photo of 182.1 KB gave a PNG of 2.3 MB, and lossy photos came out 5 to 22 times the size of their WebP. To make the PNG smaller afterwards, use the Image Compressor.

Can I convert an animated WebP to PNG?

You get one still PNG of its first picture, and the card says that the WebP moves and how many pictures it has. The page makes no moving PNG.

Can I convert multiple WebP files to PNG at once?

Yes, up to 100 at a time: choose, drop or paste them together. Save all as one ZIP gives you webp-to-png.zip with every PNG in it.

Does the PNG keep the color profile and EXIF data?

The color profile goes along, byte for byte, when it changes what is shown. Camera details (EXIF) go along only when you tick Keep camera details (EXIF: date, camera, place) in the PNG, where the WebP holds any, with or without the place the photo was taken; XMP notes never do. Not every program reads camera details from a PNG: in testing GIMP 2.10 did, and ImageMagick 6.9.12 did not.

How do I save a WebP image from a website as PNG?

Save the picture to your device as it is, then choose or drop the saved WebP file here. A picture copied as a picture arrives as a PNG already, not as the WebP, and dragging a picture over from a web page can bring only its address.

Are my WebP files uploaded?

No. The pictures are turned into PNG files in your browser and never leave your device. Your browser unpacks the WebP and the page writes the PNG with its own code; the tool has no server part.

Note: All processing is done client-side. We do not store or see your data.

Related Tools

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us