Focus Editor
ctrl+j
Next Tab
ctrl+shift+j
Create File
Run Code
ctrl+enter
Login to Reset
Format Code
alt+enter
Edit the Rust modules above or write your own program, then press Run. Boot.dev compiles the project to WebAssembly and executes it in your browser.
Use the playground for ownership experiments, pattern matching, functions, structs, and small modules without installing the Rust toolchain.
main.rs, or add another .rs module and declare it from your code. .rs files. Yes. You can edit, compile, and run Rust without installing a toolchain or creating an account. An account is only needed to create a share link.
Boot.dev's compiler service builds the project as WebAssembly. The compiled result runs in your browser and prints to the console on the page.
Yes. You can use up to five .rs files and connect them with Rust module declarations. main.rs remains the entry point.
No. The playground is intended for the Rust standard library and local modules. It does not expose Cargo dependency management.