WASM-TOOLS(1)

πŸ“¦ version 1.239.0, in ubuntu stonking

✨ NAME ✨

wasm-tools β€” bestie, this is the WebAssembly toolbox of your dreams πŸ’– the usage is literally just:

wasm-tools <COMMAND>

so you pick a command, and the command does the thing. That's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

wasm-tools <COMMAND>

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the lineup πŸ‘‘ <COMMAND> is the main character and it can be any one of these:

πŸ’… Commands:

  • parse β€” parses the WebAssembly text format. text goes in, understanding comes out ✨
  • validate β€” validates a WebAssembly binary. it's the vibe check for your wasm πŸ”
  • print β€” prints the textual form of a WebAssembly binary. binary β†’ text, slay πŸ’–
  • smith β€” a WebAssembly test case generator 🧚 it just makes test cases for you, no cap
  • shrink β€” shrinks a Wasm file while maintaining a property of interest (like triggering a compiler bug). smaller file, same chaos πŸ’€
  • mutate β€” a WebAssembly test case mutator. it messes with your test cases on purpose πŸ™ˆ
  • dump β€” a debugging utility to dump information about a wasm binary 🫢
  • objdump β€” dumps information about sections in a WebAssembly file. sections said πŸ‘€
  • strip β€” removes custom sections from an input WebAssembly file βœ‚οΈ
  • compose β€” WebAssembly component composer 🎼
  • demangle β€” demangles Rust and C++ symbol names in the name section. the way those symbols were unreadable and now they're not 🌈
  • component β€” WebAssembly wit-based component tooling 🧩
  • metadata β€” manipulate metadata (module name, producers) to a WebAssembly file πŸ“
  • wit-smith β€” a WIT test case generator ⭐
  • addr2line β€” translates a WebAssembly address to a filename and line number using DWARF debugging information πŸ“ like a little GPS for your stack trace
  • completion β€” generate shell completion scripts for this CLI 🌟
  • json-from-wast β€” converts a *.wast WebAssembly spec test into a *.json file and *.wasm files πŸ’œ
  • wast β€” a subcommand to test *.wast files short of executing WebAssembly code πŸ“
  • help β€” prints this message or the help of the given subcommand(s). the classic πŸŽ€

πŸ”₯ OPTIONS πŸ”₯

  • -h, --help β€” prints help πŸ’– when you're lost, this is your bestie
  • -V, --version β€” prints version πŸ‘‘

and that's the whole page, fr fr πŸ’… okay one last thing β€” this was wasm-tools 1.239.0+ds, dated August 2026, and yes queen, that's the manual page, WASM-TOOLS(1), we ate and left no crumbs πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from