Convert WebP to PNG on Linux & Ubuntu — Free
- Three methods: browser-based, ImageMagick, and cwebp (Google's WebP tools).
- Browser method works on any Linux distro with Chrome or Firefox.
- Command-line methods support batch scripting and automation.
Table of Contents
Linux users converting WebP to PNG have three solid options depending on whether you prefer a browser-based tool, a terminal command, or a script for batch jobs. Here’s each method with exact commands for Ubuntu and other common distros.
Method 1: Browser-Based (Any Linux Distro)
The simplest option — open Ibis WebP to PNG in Chrome or Firefox on any Linux distro. The tool processes files locally in your browser tab with no upload. Drag your WebP files in, download PNGs. Works on Ubuntu, Debian, Fedora, Arch, and everything else that runs a modern browser.
Best for: one-off conversions, batch with ZIP download, when you don’t need terminal output, or on systems where you can’t install packages.
Method 2: ImageMagick
ImageMagick is available in every major distro’s package manager:
Install on Ubuntu/Debian: sudo apt install imagemagick
Install on Fedora: sudo dnf install ImageMagick
Install on Arch: sudo pacman -S imagemagick
Convert a single file: convert input.webp output.png
Batch convert all WebP in a folder: for f in *.webp; do convert "$f" "${f%.webp}.png"; done
ImageMagick preserves the alpha channel — transparent WebP files become transparent PNGs correctly.
Sell Custom Apparel — We Handle Printing & Free ShippingMethod 3: cwebp / dwebp (Google's WebP Tools)
Google’s webp package includes dwebp, a decoder specifically for WebP files:
Install: sudo apt install webp
Convert: dwebp input.webp -o output.png
Batch: for f in *.webp; do dwebp "$f" -o "${f%.webp}.png"; done
dwebp is lighter than ImageMagick and purpose-built for WebP decoding — it’s a good choice if you only need WebP-related conversions and don’t want the full ImageMagick suite.
Which Method to Use on Linux
Quick decision guide:
- Browser tool: Fastest for ad-hoc conversions, no terminal, no dependencies. Works on any distro.
- ImageMagick: Best if you already have it installed, need format flexibility beyond WebP, or are scripting a multi-step image workflow.
- dwebp: Smallest footprint, best for WebP-only pipelines, slightly faster than ImageMagick for large batches.
Convert WebP to PNG on Linux — Browser Method
No install needed. Works in Chrome or Firefox on any distro.
Convert WebP to PNG FreeFrequently Asked Questions
What's the easiest way to convert WebP to PNG on Ubuntu?
Browser method: open Ibis WebP to PNG in Firefox or Chrome. Or install imagemagick and run: convert input.webp output.png
Does ImageMagick preserve WebP transparency when converting to PNG?
Yes. ImageMagick's convert command preserves the alpha channel, producing a transparent PNG.
Can I batch convert WebP to PNG on Linux with one command?
Yes: for f in *.webp; do convert "$f" "${f%.webp}.png"; done — this converts every WebP in the current directory.
What is dwebp and how does it differ from ImageMagick?
dwebp is Google's dedicated WebP decoder — lightweight and fast for WebP conversions. ImageMagick is a full-featured image processor that handles 200+ formats.

