A Bytecode Alliance CLI and Rust library for parsing, validating, transforming, and composing Wasm components.
wasm-tools is a Swiss-army knife CLI for the modern WebAssembly ecosystem, maintained by the Bytecode Alliance. It supports parsing and printing Wasm binaries in both text and binary format, validating modules against the spec, composing Component Model components (linking their imports and exports), and converting between legacy Wasm modules and components. The underlying Rust crates — wasmparser, wasm-encoder, wit-parser — are widely used as library dependencies by runtimes and toolchains across the ecosystem.
Automatic binding generator for WIT interfaces — produces type-safe glue code for Rust, C, Go, and JavaScript.
A Cargo subcommand that streamlines building Wasm components from Rust with automatic WIT binding generation.
The WebAssembly Binary Toolkit — essential tools for inspecting, converting, and validating Wasm binaries.