Skip to main content
Glama

WebP Batch Converter

by mhe8mah

convert_to_webp

Batch convert PNG, JPG, and JPEG images to WebP format with customizable quality, lossless encoding, and multi-threading. Recursively scans directories, preserves metadata, and generates detailed conversion reports.

Instructions

Batch convert images (PNG, JPG, JPEG) to WebP format with customizable options. Recursively scans directories and provides detailed conversion reports.

Input Schema

NameRequiredDescriptionDefault
flatNoOutput all WebP files to specified directory (optional)
losslessNoUse lossless encoding (recommended for PNG images)
overwriteNoReplace original files with WebP versions
preserveMetaNoPreserve EXIF and ICC metadata
qualityNoWebP quality (0-100, default: 75)
srcNoSource directory to scan for images (default: current directory).
threadsNoNumber of concurrent conversions (default: 4)

Input Schema (JSON Schema)

{ "properties": { "flat": { "description": "Output all WebP files to specified directory (optional)", "type": "string" }, "lossless": { "default": false, "description": "Use lossless encoding (recommended for PNG images)", "type": "boolean" }, "overwrite": { "default": false, "description": "Replace original files with WebP versions", "type": "boolean" }, "preserveMeta": { "default": false, "description": "Preserve EXIF and ICC metadata", "type": "boolean" }, "quality": { "default": 75, "description": "WebP quality (0-100, default: 75)", "maximum": 100, "minimum": 0, "type": "number" }, "src": { "default": ".", "description": "Source directory to scan for images (default: current directory)", "type": "string" }, "threads": { "default": 4, "description": "Number of concurrent conversions (default: 4)", "minimum": 1, "type": "number" } }, "required": [], "type": "object" }

Other Tools from WebP Batch Converter

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mhe8mah/webp-batch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server