Browser-hosted Go toolchain

GoScript

Compile real Go to WebAssembly in the browser, inspect the pipeline, and keep the toolchain cached locally.

Compiler Stack Go compile + link
Pack Footprint 168 MB toolchain
Execution Model Local VFS + WASM
Toolchain Pack
Manage pack download, local import, and the toolchain cache.
Download goscript.pack
No local pack selected Pack source: same-origin asset Toolchain cache: checking...
Loading...
Go Source Code
Output
Terminal Log
How it works: GoScript packages the Go compiler, linker, and standard library into a single goscript.pack file. Your Go source is written into a virtual filesystem, compiled in-browser, linked to main.wasm, and executed locally.