Look it up. Run it. Move on.
An online code playground and pocket reference for Python, JavaScript, SQL and the tools around them. Everything runs in your browser; nothing to install, no account.
Run code online
› print([n * n for n in range(5)])[0, 1, 4, 9, 16]Real CPython 3, stdin, stdlib main.jsJavaScript› console.log([3, 1, 2].toSorted())[ 1, 2, 3 ]Console, top-level await query.sqlSQL› SELECT city, COUNT(*) FROM customers GROUP BY city;London | 2SQLite + sample shop DB index.htmlHTML/CSS/JS› <button>Click me</button>live preview ↻Three panels, live preview Cheat sheets
Grouped by task, with copy buttons. Python, JavaScript and SQL snippets run with one click.
Explainers you can poke at
The concepts behind the most-searched syntax, built so you change something and watch what happens.
/\d+/gRegex testerLive highlighting, capture groups, a plain-English breakdown of every token, and an AI “describe it” mode.
{ }JSON formatterBeautify, minify and validate, with the exact line and column of any error and a one-click fix for trailing commas.
Frequently asked questions
Is QuickRef.dev free?
Yes. The playgrounds, cheat sheets and tools are free with no account. The AI features are free within a fair-use rate limit.
Which languages can I run online here?
Python 3 (real CPython via WebAssembly), JavaScript, SQL (SQLite) and HTML/CSS/JS with a live preview. All of them run in your browser, not on a server.
Do I need to install anything?
No. Open a playground and press Run. The Python runtime downloads once (about 12 MB) and is cached by your browser after that.
Is my code private?
Code you run stays on your device. It is only sent to an AI model if you press one of the AI buttons (Generate, Explain, Fix).