Online code playground
Write and run JavaScript, Python, and SQL right in your browser — no install, no signup. Your code runs locally in a sandbox; nothing is sent to a server. Ready to go deeper? Start a course →
Loading editor…
Runs in your browser · nothing is sent to a server.
Output
Press Run to see output here.
Run code online, instantly
The Cantrip playground is a free online compiler and REPL. JavaScript runs in a sandboxed Web Worker, Python runs via Pyodide (CPython compiled to WebAssembly), and SQL runs on SQLite compiled to WASM — all on your own machine. It’s perfect for testing a snippet, learning a new language, or trying an idea without setting anything up.