Code Playground
A small, fast playground for trying out JavaScript, TypeScript, Python, Ruby, Go, and PHP snippets. Pick a language below to get started.
JavaScript
Write plain JavaScript and run it instantly in your browser.
TypeScript
Write TypeScript with real type-checking, then run the compiled output.
Python
Write Python and run it in your browser via Pyodide.
Ruby
Write Ruby and run it in your browser via ruby.wasm.
Go
Write a Go program and run it via a WebAssembly Go interpreter.
PHP
Write PHP and run it in your browser via php-wasm.
Runs in your browser
No server round-trip — code executes in a sandboxed iframe.
Monaco editor
The same editor that powers VS Code, with syntax highlighting and diagnostics.
Auto-saved locally
Your code is saved to localStorage so it survives a refresh.