WASM-to-WAT Disassembler & Hex-to-Assembly Disassembler
Step 3 of the Binaries & WASM pipeline: convert compiled .wasm modules into readable WebAssembly Text (.wat) syntax or disassemble raw x86-64, ARM64 (AArch64), and RISC-V machine code opcodes offline in your browser.
Online wasm2wat & Multi-Architecture Hex Disassembler (No WABT or objdump Needed)
Inspecting a compiled WebAssembly (.wasm) bundle from a third-party npm package—or checking what a handful of hex shellcode/patch bytes actually execute on x86-64, ARM64, or RISC-V—usually forces you to build WABT (wasm2wat) or fire up objdump, Capstone, or Ghidra.
This tool decodes .wasm binaries into clean WebAssembly Text (.wat) format directly in your browser and includes a dedicated Hex-to-Assembly tab for x86-64 (AMD64), AArch64 (ARM64), and RISC-V (RV32I/RV64I) opcodes with configurable base addresses—completely offline.
Browser Disassembler vs. WABT (wasm2wat), objdump & Capstone
| Criteria | QuickCoderHub (In-Browser) | Desktop / CLI Alternative |
|---|---|---|
| Zero Setup | Runs instantly in browser with built-in native JS fallback | Requires installing WABT, GNU binutils, or Python Capstone |
| WebAssembly (.wasm → .wat) | Full module types, imports, exports, memory, and function bodies | wasm2wat CLI only (no native CPU disassembly) |
| Multi-ISA Hex Bytes | x86-64, ARM64 (AArch64), and RISC-V in one tab | Requires separate cross-architecture objdump toolchains |
| Best For | Quick .wasm audits, CTF challenges, patch verification, teaching | Full multi-MB binary decompilation with control-flow graphs (Ghidra/IDA) |
Step-by-Step Workflow
- For WebAssembly, stay on the .WASM → .WAT tab and load any .wasm file (or click Load Sample .wasm to test).
- Inspect exported functions, imported host calls, linear memory limits, and stack-machine instructions, then download the .wat file.
- For native CPU machine code, switch to Hex / Entry Bytes → Assembly, choose x86-64, ARM64, or RISC-V, set the base address (e.g. 0x1000), and paste raw hex bytes.
- Click Disassemble Hex to decode each instruction with address offsets.
Frequently Asked Questions
How do I convert a .wasm file to readable .wat online without installing WABT?
Click Load Binary / .wasm above and select your .wasm file. The page disassembles the WebAssembly binary into readable S-expression .wat syntax completely locally in your browser—working as a zero-install online replacement for wasm2wat.
Can I disassemble raw hex machine code bytes to x86-64, ARM64, or RISC-V without objdump?
Yes. Switch to the Hex / Entry Bytes → Assembly tab, pick your target architecture (x86-64, AArch64, or RISC-V), paste spaced or continuous hex bytes (such as 55 48 89 e5 ...), and decode the opcodes immediately.
What is the difference between WASM Disassembler and WASM Module Inspector?
WASM Disassembler outputs full human-readable .wat assembly source code for every function body, whereas WASM Module Inspector gives you a structured high-level dashboard of binary sections, imports, exports, tables, and memory sizes.
Are my .wasm binaries or hex bytes sent to an external server?
Never. Decoding runs 100% locally in your browser memory, with a zero-dependency JS decoder fallback even if external CDNs are unavailable.