Blog
Wild & Free Tools

Convert WebP to PNG on Linux & Ubuntu — Free

Last updated: April 2026 5 min read
Quick Answer

Table of Contents

  1. Method 1: Browser-Based (Any Distro)
  2. Method 2: ImageMagick (Most Common)
  3. Method 3: cwebp / dwebp (Google WebP Tools)
  4. Which Linux Method to Use
  5. Frequently Asked Questions

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 Shipping

Method 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:

Convert WebP to PNG on Linux — Browser Method

No install needed. Works in Chrome or Firefox on any distro.

Convert WebP to PNG Free

Frequently 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.

Andrew Walsh
Andrew Walsh Developer Tools & API Writer

Andrew worked as a developer advocate at two SaaS startups writing API documentation used by thousands of engineers.

More articles by Andrew →
Launch Your Own Clothing Brand — No Inventory, No Risk