Playground
Write code, run it, see what happens
Choose Python, JavaScript or TypeScript and press Run. Code executes on your device; nothing you type is sent anywhere. SQL runs in its own playground with a sample database. Only runnable languages appear in this playground.
# Shop window notice
print("Rosewood Bakery")
print("Open from 7 to 3")
loaves = 48
print("Loaves baked today:", loaves)
print("Sourdough", "rye", "spelt", sep=" | ")Output
Press Run to see the program’s output here.
Runs CPython 3.14 compiled to WebAssembly (Pyodide) inside a Web Worker on your device. The standard library is available; third-party packages are not. The first run downloads the runtime (about 13 MB), which your browser then keeps.
Examples to start from
Pick one to load it into the editor. Every snippet was run before it was published.
SQL playground
Runs in your browser
Python playground
Runs in your browser
JavaScript playground
Runs in your browser
TypeScript playground
Runs in your browser
How code runs here
- JavaScript runs as its own Web Worker: no page access, no network, no eval, stopped after five seconds.
- TypeScript is transpiled by the TypeScript compiler in your browser (types erased) and run the same way.
- Python is CPython compiled to WebAssembly (Pyodide), in a worker, with the standard library and no packages; a runaway program is stopped and the runtime restarted.
- SQL runs separately in a browser-based SQLite engine with a sample database.