Skip to content
Back to Blog
How-To

How to Convert WebP to PNG: 7 Free Methods in 2026

April 4, 20268 min read

How to Convert WebP to PNG

WebP has become the dominant image format on the web. Over 97% of browsers now support it, and an estimated 68% of the top 10,000 websites serve WebP images. The problem? You often need those images in PNG format — for editing in software that does not support WebP, for preserving transparency in a universally compatible format, or for uploading to platforms that still require PNG or JPG.

This guide covers seven free methods to convert WebP to PNG, from instant browser-based tools to command-line batch processing. Every method preserves your image quality completely.

Understanding WebP to PNG Conversion Quality

Before diving into methods, here is something most guides get wrong about WebP to PNG quality:

WebP comes in two flavors: lossy and lossless. When you convert a lossless WebP to PNG, the conversion is truly lossless — every pixel is identical. PNG is also a lossless format, so no information is lost.

When you convert a lossy WebP to PNG, the conversion itself introduces no additional quality loss. However, the compression artifacts from the original lossy WebP encoding are permanently baked into the image. Converting to PNG preserves those artifacts exactly as they are — it does not restore lost data, but it also does not degrade the image further.

Source WebP TypeConversion to PNGResult
Lossless WebPTruly losslessPixel-perfect copy
Lossy WebPNo additional lossPreserves existing artifacts
Animated WebPFirst frame onlyStatic PNG of first frame

Bottom line: Converting WebP to PNG is always safe. Your image will never look worse after conversion.

Method 1: Browser-Based Converter (Fastest, Most Private)

The fastest way to convert WebP to PNG is with a browser-based converter that processes files entirely on your device. Unlike server-based tools like Convertio or CloudConvert, your images never leave your computer.

Steps:

  • Open PhotoFormatLab's WebP to PNG converter
  • Drag and drop your WebP file (or click to browse)
  • Click Convert to PNG
  • Download your PNG file
  • Why this method wins:

  • Privacy: Files are processed locally in your browser — nothing is uploaded to any server
  • Speed: Conversion takes under a second for most images
  • No limits: Convert as many files as you want, no daily caps or file size restrictions
  • Batch support: Drop multiple files to convert them all at once using the batch converter
  • This is the best option for anyone who values privacy or needs to convert images quickly without installing software.

    Method 2: Mac Preview

    macOS Preview has built-in WebP support and can export to PNG directly.

    Steps:

  • Right-click your WebP file and select Open With > Preview
  • Click File > Export in the menu bar
  • In the Format dropdown, select PNG
  • Choose your save location and click Save
  • For batch conversion on Mac, select multiple WebP files in Finder, right-click, and open them all in Preview. Then select File > Export Selected Images, choose PNG as the format, and export all at once.

    Limitations: Preview does not offer any compression settings for PNG output. The files are saved at full quality, which is usually what you want, but the file sizes may be larger than expected for high-resolution images.

    Method 3: Windows Paint

    Microsoft Paint gained WebP support in recent Windows updates. It is the simplest option if you are on Windows and only need to convert one or two files.

    Steps:

  • Right-click the WebP file and select Open with > Paint
  • Click File > Save as > PNG picture
  • Choose your save location and click Save
  • Limitations: Paint converts one file at a time and does not support batch processing. For multiple files, use PhotoFormatLab's batch converter or the command-line methods below.

    Method 4: Google Chrome (Save As PNG)

    If you are viewing a WebP image in Chrome, you can save it as PNG without any converter.

    Steps:

  • Right-click the WebP image in Chrome
  • Select Save image as...
  • In the save dialog, change the file type to PNG (if Chrome offers this option)
  • Alternatively, you can open the WebP file in a new Chrome tab by dragging it onto the browser, then take a screenshot or use the browser's developer tools to extract it. This method is limited and not ideal for bulk work.

    Method 5: Command Line with dwebp (Google's Official Tool)

    Google provides dwebp, a command-line tool for decoding WebP images. It is part of the libwebp package and produces high-quality PNG output.

    Install:

    ```bash

    # macOS (Homebrew)

    brew install webp

    # Ubuntu/Debian

    sudo apt install webp

    # Windows (Chocolatey)

    choco install webp

    ```

    Convert a single file:

    ```bash

    dwebp input.webp -o output.png

    ```

    Batch convert all WebP files in a directory:

    ```bash

    for f in *.webp; do dwebp "$f" -o "${f%.webp}.png"; done

    ```

    This is the fastest and most reliable command-line method since dwebp is Google's own reference decoder for the WebP format.

    Method 6: FFmpeg

    FFmpeg is a powerful multimedia tool that handles WebP to PNG conversion alongside hundreds of other format conversions.

    Install:

    ```bash

    # macOS

    brew install ffmpeg

    # Ubuntu/Debian

    sudo apt install ffmpeg

    # Windows (Chocolatey)

    choco install ffmpeg

    ```

    Convert a single file:

    ```bash

    ffmpeg -i input.webp output.png

    ```

    Batch convert:

    ```bash

    for f in *.webp; do ffmpeg -i "$f" "${f%.webp}.png"; done

    ```

    FFmpeg is overkill if you only need WebP to PNG, but it is ideal if you already use it for video or audio processing.

    Method 7: Python with Pillow

    For developers or anyone comfortable with Python, the Pillow library handles WebP to PNG conversion in just a few lines of code.

    Install:

    ```bash

    pip install Pillow

    ```

    Convert a single file:

    ```python

    from PIL import Image

    img = Image.open("input.webp")

    img.save("output.png")

    ```

    Batch convert all WebP files in a directory:

    ```python

    from pathlib import Path

    from PIL import Image

    for webp_file in Path(".").glob("*.webp"):

    img = Image.open(webp_file)

    img.save(webp_file.with_suffix(".png"))

    print(f"Converted {webp_file.name}")

    ```

    This method is especially useful for automating conversions in scripts, build pipelines, or data processing workflows.

    Which Method Should You Use?

    MethodBest ForBatch SupportPrivacySetup Required
    PhotoFormatLabQuick conversion, privacyYesFiles stay localNone
    Mac PreviewmacOS users, small batchesLimitedLocalNone
    Windows PaintWindows users, single filesNoLocalNone
    Chrome save-asQuick one-off savesNoLocalNone
    dwebp (CLI)Power users, large batchesYesLocalInstall libwebp
    FFmpegDevelopers, existing workflowsYesLocalInstall FFmpeg
    Python PillowAutomation, scriptingYesLocalInstall Python + Pillow

    For most people, the browser-based converter at PhotoFormatLab is the best choice — it is instant, private, and handles batch conversion without any setup.

    For developers who regularly process images, dwebp or Python with Pillow gives you scriptable, automatable conversion with full control.

    WebP vs PNG: When to Keep WebP Instead

    Before converting, consider whether you actually need PNG. WebP offers several advantages:

  • Smaller file sizes: WebP files are 25-35% smaller than equivalent PNGs
  • Transparency support: WebP supports alpha channels just like PNG
  • Animation support: WebP handles animations (unlike PNG, which requires APNG)
  • 97%+ browser support: Nearly universal compatibility in 2026
  • You should convert WebP to PNG when:

  • Software compatibility: Your image editor, CMS, or platform does not accept WebP
  • Print workflows: Print shops typically require PNG, TIFF, or PDF
  • Archival purposes: PNG is a more established, widely-adopted archival format
  • Sharing with others: Some recipients may not be able to open WebP files
  • Image editing: You need lossless format support in tools like older Photoshop versions
  • For web use, WebP is almost always the better choice. For everything else, PNG provides maximum compatibility. See our detailed WebP vs PNG comparison for a deeper dive.

    File Size Expectations

    Converting WebP to PNG will increase file sizes because PNG uses less aggressive compression. Here is what to expect:

    Image TypeWebP SizePNG SizeIncrease
    Photograph (lossy WebP)250 KB1.2 MB~380%
    Photograph (lossless WebP)800 KB1.2 MB~50%
    Screenshot/graphic (lossless)150 KB200 KB~33%
    Icon/logo with transparency15 KB25 KB~67%

    The largest increases come from converting lossy WebP photos to PNG, since lossy WebP is extremely efficient at compressing photographic content. If file size matters and you are working with photos, consider converting to JPG instead using our WebP to JPG converter.

    Handling Animated WebP Files

    If your WebP file is animated, standard conversion tools will extract only the first frame as a static PNG. To preserve the animation, you have two options:

  • Convert to GIF: Use PhotoFormatLab's WebP to GIF converter to maintain the animation
  • Extract all frames: Use FFmpeg to extract every frame as individual PNGs:
  • ```bash

    ffmpeg -i animated.webp frame_%04d.png

    ```

    This creates numbered PNG files (frame_0001.png, frame_0002.png, etc.) for each frame of the animation.

    Frequently Asked Questions

    Does converting WebP to PNG lose quality?

    No. PNG is a lossless format, so the conversion itself introduces zero quality loss. If your source WebP was lossy-compressed, the existing compression artifacts are preserved exactly — no better, no worse. If your source was lossless WebP, the conversion is pixel-perfect.

    Why are my PNG files so much larger than the WebP originals?

    WebP uses more advanced compression algorithms than PNG. For photographs, lossy WebP can be 3-5 times smaller than PNG. This is expected — you are trading file size for broader compatibility. If you need small file sizes, consider keeping WebP or converting to JPG instead.

    Can I batch convert hundreds of WebP files to PNG?

    Yes. PhotoFormatLab's batch converter handles multiple files at once entirely in your browser. For very large batches (thousands of files), the command-line tools (dwebp, FFmpeg, or Python Pillow) are more efficient since they avoid browser memory constraints.

    Is it safe to convert WebP to PNG online?

    It depends on the tool. Server-based converters upload your files to remote servers, which creates privacy and security risks. Browser-based converters like [PhotoFormatLab](/) process everything locally — your files never leave your device. For sensitive or personal images, always choose a browser-based tool. Read our full guide to safe image conversion.

    Will converting WebP to PNG preserve transparency?

    Yes. Both WebP and PNG support alpha channel transparency. If your WebP image has a transparent background, the PNG output will maintain that transparency. This makes PNG an excellent choice when you need transparent images in a universally compatible format.

    Should I convert WebP to PNG or JPG?

    It depends on your needs. Choose PNG when you need transparency, lossless quality, or compatibility with graphics workflows. Choose JPG when you need smaller file sizes for photographs and do not need transparency. See our JPG vs PNG comparison for a detailed breakdown.

    Ad
    Ad