Skip to content

WAT — WebAssembly Text Format

Learn WAT with small, clear examples and practical guidance.

WAT is the human-readable text format of WebAssembly. It mirrors the binary format closely while being friendly enough to read, write, and learn from.

  • Types — the values functions accept and return
  • Operators — core instructions you’ll use every day
  • Interfacing — importing functions, exporting APIs, and sharing memory with hosts
  • Instruction Reference — complete docs for all WebAssembly instructions

Further reading: Watlings exercises | WebAssembly spec