Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>cwebp RunnerNew to Visual Studio Code? Get it now.
cwebp Runner

cwebp Runner

Realode

| (0) | Free
Batch convert selected images to WebP using the cwebp binary.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cwebp Runner

A minimal VS Code extension that batch-converts selected image files to WebP by calling the cwebp binary.

Features

  • Convert one or many files from the Explorer context menu.
  • Convert many files from the Command Palette via a file picker.
  • Keep the original file basename and write filename.webp beside the source image.
  • Configure the cwebp binary path and default arguments in VS Code settings.
  • Optionally skip files when the target .webp already exists.

Settings

{
  "cwebpRunner.binaryPath": "cwebp",
  "cwebpRunner.defaultArgs": ["-q", "80", "-mt"],
  "cwebpRunner.skipIfExists": true,
  "cwebpRunner.supportedExtensions": [".png", ".jpg", ".jpeg", ".tif", ".tiff"]
}

Development

npm install
npm run compile

Press F5 in VS Code to launch the Extension Development Host.

Packaging

npm install
npm run compile
npx vsce package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft