Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>lwebp - Image ConverterNew to Visual Studio Code? Get it now.
lwebp - Image Converter

lwebp - Image Converter

luongwnv

|
76 installs
| (2) | Free
Convert images (PNG, JPG, GIF, BMP, TIFF, AVIF, HEIC) to WebP, JPEG, or PNG with preview, crop, EXIF viewer, and quality control.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

lwebp - Image Converter for VS Code

Convert images to WebP, JPEG, or PNG directly from VS Code with pixel-art styled UI, sidebar panel, custom image editor, and light/dark theme support.

Features

Sidebar Panel

  • Multi-file & multi-folder selection — pick files or scan multiple folders at once
  • Multi-select — checkbox to select which files to convert, with Select All / None
  • Image preview with zoom (scroll wheel or +/- buttons), rotate, and crop
  • Quality slider with real-time estimated output size
  • Output format selector — WebP, JPEG, or PNG
  • Visual crop tool — draw a crop region or enter exact pixel coordinates
  • EXIF viewer — camera, lens, exposure, ISO, GPS, and more
  • Batch conversion with progress tracking
  • Theme toggle — Light, Dark, or Auto (follows VS Code theme)

Custom Image Editor

Open any image with "Reopen Editor With..." > lwebp Image Editor to get a full editing UI.

  • Rotate left/right with continuous rotation support
  • Zoom in/out with buttons or scroll wheel (25%-400%)
  • Crop — draw region on preview or enter exact coordinates
  • File navigation — browse other images in the same folder
  • EXIF data display
  • Convert with format, quality, and crop options
  • Theme toggle — synced from sidebar panel or standalone per editor

Context Menu

Right-click any image in Explorer or editor tab:

  • Convert to WebP — instant conversion
  • Convert to WebP (Select Quality...) — choose quality first
  • Convert All Images in Folder — batch convert entire folder

Supported Formats

Input Output
PNG, JPG, GIF, BMP, TIFF, AVIF, HEIC/HEIF, WebP, SVG, ICO, JPEG XL (.jxl), Camera RAW (.cr2, .nef, .arw, .raw) WebP, JPEG, PNG
  • HEIC/HEIF — native sharp on macOS, automatic fallback to heic-convert on Windows/Linux
  • SVG — rasterized via sharp (librsvg)
  • JPEG XL — via sharp (requires libvips with libjxl support)
  • ICO — decoded via icojs (picks largest image from icon)
  • Camera RAW (.cr2, .nef, .arw, .raw) — decoded via dcraw to TIFF, then processed by sharp

Usage

Sidebar

  1. Click the lwebp icon in the Activity Bar
  2. Select files or folders
  3. Check/uncheck files you want to convert
  4. Choose format, quality, and optionally crop
  5. Click Convert

Image Editor

  1. Open an image file
  2. "Reopen Editor With..." > lwebp Image Editor
  3. Rotate, zoom, crop as needed
  4. Click Convert

Settings

Setting Default Description
lwebp.quality 80 Output quality (0-100)
lwebp.deleteOriginal false Delete original after conversion
lwebp.outputDirectory "" Output directory (empty = same as original)

Platform Support

Published as platform-specific packages for optimal size:

  • macOS (Apple Silicon & Intel)
  • Linux (x64 & ARM64)
  • Windows (x64)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft