DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
dwebp

How to Convert WebP Images to JPG, PNG and Other Formats

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a still WebP image, choose the output based on what you need: use PNG to retain transparency and avoid another lossy step, or JPEG for photographs that need broad legacy compatibility and usually smaller files. The quickest command-line options are dwebp input.webp -o output.png for PNG and magick input.webp output.jpg or magick input.webp output.png with ImageMagick. Current Chrome, Safari, Firefox, Edge and Opera already display WebP, so conversion is only necessary when an app, workflow or recipient requires another format.

Choose the right destination format first

WebP is a RIFF container carrying VP8 (lossy) or VP8L (lossless) image data. Converting it does not automatically improve quality; it decodes the WebP and encodes a new file in the destination format. Keep the original WebP when quality, metadata or future re-use matters.

Destination Best use Transparency Quality considerations
PNG Logos, screenshots, diagrams and images with transparent areas Preserved Lossless output; generally the safest choice when you must avoid another lossy generation
JPEG Photographs and broad compatibility with older software Not supported Re-encoding is lossy; transparent pixels need a background color
PAM, PPM or PGM Technical raster-processing pipelines Depends on the selected format and workflow Supported by dwebp, but uncommon for ordinary sharing

If you only need to view the image, try opening it in a current browser before converting. Conversion can discard animation, transparency or metadata depending on the chosen tool and format.

Convert WebP to PNG with Google’s dwebp

The WebP project supplies libwebp, including the dwebp decoder. It directly decompresses a WebP file into PNG, PAM, PPM or PGM.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Pixillion Image Converter Software [PC Download]
  • One-click Process for Converting Your Images
  • Convert Between All Key Image Format
  • Preserve Vector Graphics When Converting

Single-file conversion

dwebp input.webp -o output.png

Run the command from the directory containing input.webp, or provide full paths:

dwebp /path/to/input.webp -o /path/to/output.png

A successful run creates the output file at the path after -o. Open it in an image viewer and check dimensions, transparency and visual detail.

Other raster outputs

dwebp input.webp -o output.pam
dwebp input.webp -o output.ppm
dwebp input.webp -o output.pgm

These formats are useful when a scientific or image-processing program specifically requires them. PNG is the practical default for general use.

Important animation limitation

The official dwebp documentation states that animated WebP files are not supported. A command may therefore decode only a still workflow rather than preserving every frame. For animation, use a frame-aware editor or library and verify the frame count in the result.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Convert WebP with ImageMagick

ImageMagick uses the output filename extension to select the destination format. Its magick command handles both PNG and JPEG conversion and exposes controls for quality, lossless mode and alpha handling.

Rank #2
Sale
Norton 360 Deluxe 2027 Antivirus, 5 Devices, Auto-Renews [Download]
  • ONGOING PROTECTION Download instantly & install protection for 5 PCs, Macs, iOS or Android devices in minutes!
  • TOP-PERFORMING VPN Faster speeds, more server locations, and greater connection control to protect your privacy across all your devices, including Smart TVs.
  • ADVANCED SCAM PROTECTION Help spot hidden scams online. With the built-in Genie AI assistant, you’ll never wonder if a message or email is suspicious again.
  • REAL-TIME PROTECTION Advanced security protects against existing and emerging malware threats, including ransomware and viruses, and it won’t slow down your device performance.
  • DARK WEB MONITORING Identity thieves can buy or sell your information on websites and forums. We search the dark web and notify you should your information be found.

WebP to PNG

magick input.webp output.png

WebP to JPEG

magick input.webp output.jpg

JPEG cannot store transparency. If the source has an alpha channel, flatten it against an explicit background before writing JPEG so the result does not depend on an unexpected default:

magick input.webp -background white -alpha remove -alpha off output.jpg

The exact appearance of semi-transparent edges depends on the chosen background. Use a background that matches where the JPEG will be displayed.

Set JPEG quality deliberately

magick input.webp -quality 85 output.jpg

Quality values are ImageMagick encoding settings, not a promise that the new JPEG will match the original WebP byte-for-byte. Inspect the result at its intended display size and keep the source file for another export if needed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Batch conversion with filename patterns

ImageMagick can process a group of files. In a directory containing WebP images, this shell pattern converts each one to PNG:

for f in *.webp; do magick "$f" "${f%.webp}.png"; done

For JPEG output:

for f in *.webp; do magick "$f" -quality 85 "${f%.webp}.jpg"; done

Test the pattern on a copy of the folder first. Existing files with the same destination names may be overwritten according to your shell and ImageMagick settings.

Rank #3
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
  • Convert images to jpeg, gif, png, bmp, tiff and more
  • Rotate, resize and compress digital photos
  • Easily add captions or watermarks to your images
  • Compress thousands of photos at a time with batch conversion
  • Convert images directly from the right-click menu

Convert WebP in a Python program with Pillow

Pillow is useful when conversion is one step in a larger Python workflow, such as resizing, renaming or validating images. Install it in the environment used by your script, then open the WebP and save a destination format.

PNG output

from PIL import Image

with Image.open("input.webp") as image:
    image.save("output.png", format="PNG")

JPEG output with transparency handling

from PIL import Image

with Image.open("input.webp") as image:
    rgba = image.convert("RGBA")
    background = Image.new("RGB", rgba.size, "white")
    background.paste(rgba, mask=rgba.getchannel("A"))
    background.save("output.jpg", format="JPEG", quality=85, optimize=True)

JPEG requires an RGB-style image, so the example composites transparent pixels onto white before saving. Change the background color when your design requires something else.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Preserve animation only with an animation-aware workflow

Pillow documents WebP frame-duration metadata. If the input is animated, inspect image.n_frames and frame durations, and choose an output format and writer that can retain all frames. A one-frame save is not an animation conversion.

Graphical and no-install options

If you do not want a command line, use an image editor that can open WebP and export PNG or JPEG. Look for an Export or Save As command, select the destination extension, and review transparency and quality settings before saving. The labels vary by application and operating system, so verify the resulting file rather than relying on the filename alone.

Online converters can be convenient for non-sensitive files, but uploading an image gives a third party a copy. For confidential screenshots, customer data or unpublished artwork, prefer a local tool such as dwebp, ImageMagick or Pillow.

Verify the converted file

  • Dimensions: Confirm width and height did not change unexpectedly.
  • Transparency: Open the PNG over both light and dark backgrounds. JPEG will always show a filled background.
  • Color and detail: Compare at the size where the file will be used; JPEG artifacts are most visible around text and sharp edges.
  • Animation: Check the frame count and playback duration when the source is animated.
  • Metadata: If color profiles, orientation or other metadata matter, inspect them in your image tool and retain the original.
  • File size: A PNG can be much larger than a photographic WebP. A smaller file is not automatically a higher-quality file.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting common conversion failures

“Command not found” for dwebp or magick

The decoder or ImageMagick is not installed, or its executable is not on your system PATH. Install the relevant package for your operating system, open a new terminal, and run dwebp -version or magick -version to confirm the shell can find it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The output is blank or has an unexpected background

This usually involves alpha handling during JPEG export. PNG retains transparency; for JPEG, explicitly flatten onto a chosen color with ImageMagick or Pillow as shown above.

The converted file is larger than the WebP

That is normal when moving from a highly compressed WebP to lossless PNG. For a photograph where compatibility matters more than transparency, use JPEG and set its quality intentionally. Do not overwrite the WebP until you have checked the result.

An animated WebP loses frames

dwebp does not support animated WebP. Use an animation-aware editor or library, enumerate frames in Pillow, and export to a format that supports animation when all frames must remain.

Colors or orientation look different

Different viewers may interpret profiles and orientation metadata differently. Compare the source and output in the same viewer, inspect metadata, and keep the original for a second conversion with adjusted settings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Image to PDF Converter
  • Convert JPG, JPEG & PNG to PDF
  • Select multiple images

Or skip the browser setup

If what you actually need is a fresh image of a web page rather than conversion of an existing WebP file, ScreenshotNeo provides a one-request screenshot API. It accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups and chat widgets. Bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and each response identifies the page verdict and billing status in headers. Its MCP server lets Claude, Cursor and other MCP clients call take_screenshot, get_page_info and capture_pdf.

See the ScreenshotNeo API documentation for all options. A direct cURL request is:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo can return PNG, JPEG, WebP or PDF, and supports full-page and element captures, device presets, custom viewport and retina scale, waits, custom CSS and JavaScript, request blocking, headers, cookies, user agent, timezone, geolocation, resizing, caching, signed links, asynchronous webhooks and bulk capture of up to 100 URLs per call. Every feature is on every plan: 1,000 screenshots per month are free with no card; paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.

Which workflow should you use?

Need Recommended method Why
One still WebP to transparent PNG dwebp or ImageMagick Direct, lossless-oriented output with alpha retained
Photograph to broadly compatible file ImageMagick or Pillow to JPEG Lets you choose quality and flatten transparency
Many files in a script ImageMagick patterns or Pillow Repeatable batch processing and validation
Animated WebP Animation-aware editor or library dwebp is not an animation workflow
Only need to view WebP Current browser Chrome, Safari, Firefox, Edge and Opera natively display it

Frequently Asked Questions

Does converting WebP to PNG restore quality lost in the original WebP?

No. PNG preserves the decoded pixels from the WebP, but it cannot reconstruct detail that was already discarded by lossy WebP encoding.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does my JPEG conversion have no transparent background?

JPEG has no transparency channel. Composite the image onto a deliberate background color before saving, or keep PNG when transparency is required.

Can I rename .webp to .jpg instead of converting it?

No. Renaming changes only the filename extension; the file remains WebP data and may not open in software expecting JPEG.

What should I do with an animated WebP?

Use an animation-aware editor or library, inspect every frame and duration, and export to a format that supports animation if retaining motion is required.

Quick Recap

Bestseller No. 1
Pixillion Image Converter Software [PC Download]
Pixillion Image Converter Software [PC Download]
One-click Process for Converting Your Images; Convert Between All Key Image Format; Preserve Vector Graphics When Converting
$50.00
Bestseller No. 3
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
Convert images to jpeg, gif, png, bmp, tiff and more; Rotate, resize and compress digital photos
$39.99
Bestseller No. 4
Memory Stick Image Converter Software (Retail Package)
Memory Stick Image Converter Software (Retail Package)
SONY IMAGE CONVERTER 2 SOFTWARE
$9.89
Bestseller No. 5
Image to PDF Converter
Image to PDF Converter
Convert JPG, JPEG & PNG to PDF; Select multiple images

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.