Convert WEBP to PNG
Turn WEBP images into PNG files. Same pixels and transparency without further loss.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop WEBP files on the dialor turn it to pick what to do
WebP images as PNG files.The pixels and transparency carry over without further loss. Animations become one PNG per frame.
What you get
A PNG with the same pixels and the same transparency as the WebP. Nothing is lost in the step from WebP to PNG.
PNG is lossless and has an alpha channel, so sharp edges and transparent areas stay as they were.
Animated WebP files
By default, every frame of an animation becomes its own PNG, so you get one or more files. Set Frames to first to convert only the first frame as a still picture.
Options
Set Max width or Set Max height to shrink a large image. The shape is kept, and an image that is already smaller stays as it is, so nothing is enlarged.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Use Rotate to turn the result clockwise by 90, 180 or 270 degrees.
Turn on Strip metadata to remove EXIF data, such as the camera, the time and the GPS position, along with the color profile. The file gets a little smaller and says less about where it came from.
Failures
A file that cannot be parsed stops the conversion with
input_corrupted. To go the other way, use PNG to WEBP.
WEBP and PNG.What each format is, and the options this conversion takes.
- 01 · frames
Frames
Which frames of an animation to convert.
firstOnly the first frame, as a still picture.allEvery frame.
- 02 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 03 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 05 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 06 · strip
Strip metadata
Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.
The formats
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same WEBP to PNG conversion through the API, for your app or your agent.
$ cv convert photo.webp photo/ --to png$ cv convert photo.webp photo/ --to pngQuestions.What people ask about WEBP to PNG.
Yes. The transparency stays as it is in the WebP.
Every frame becomes one PNG. Set Frames to first to get only the first frame.
Turn on Grayscale, which often makes the file smaller. Strip metadata also makes it a little smaller.
The file could not be parsed. The conversion stops with input_corrupted when that happens.