Convert PNG to WebP on Windows

6 December 2025

1. Install WebP Tools

  1. Go to the WebP download page.
  2. Download WebP binaries for Windows.
  3. Extract the folder to a location, e.g., C:\webp.
  4. Add the folder to your system PATH:
    • Search for Environment Variables → Edit Path → Add C:\webp\bin (or wherever cwebp.exe is located).
  5. Open a new terminal and verify the installation:
cwebp -version

If the command is not found, try restarting your computer.

2. Convert PNG to WebP

    cwebp example.png -q 80 -o example.webp

  • -q 80 sets the quality (0–100). Adjust as needed.

  • -o specifies the output file name.

© 2025 Sally Codes. All rights reserved.