WebAssembly Online Compiler

About the WebAssembly compiler

Write raw WebAssembly text format. Runs in your browser. Run WebAssembly code in your browser with no install and no signup — the editor, the input and the output share one screen. WebAssembly compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A WebAssembly example

This is the program the WebAssembly editor opens with — run it as it is, then change it.

(module
  (func $add (param $a i32) (param $b i32) (result i32)
    local.get $a
    local.get $b
    i32.add)
  (export "add" (func $add)))

More Systems & Low-Level compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.