Focus Editor
ctrl+j
Next Tab
ctrl+shift+j
Create File
Run Code
ctrl+enter
Login to Reset
Format Code
alt+enter
Edit the sample Go project above or write your own program, then press Run. Boot.dev compiles the source to WebAssembly and runs the result in your browser.
Use the playground for quick experiments, standard-library examples, and small multi-file Go programs without creating a local project.
main.go and the other .go files, or add another source file. .go files in the main package. Move beyond isolated snippets with a structured course covering Go syntax, packages, interfaces, concurrency, and real programming exercises.
Yes. You can edit and run Go code without installing Go or creating an account. An account is only required to create a share link.
Boot.dev's compiler service compiles the project to WebAssembly. The compiled program then runs in your browser and sends its output to the console on the page.
Yes. You can use up to five .go files in the main package, and the playground compiles all of them together.
No. This playground does not expose go.mod or a general module installer. It supports the standard library, local source files, and a small set of preconfigured dependencies.