SQL playground. A real database in your browser.
Write and run real SQL against a full SQLite engine, entirely on your device. A sample dataset is ready the moment you arrive, or import your own CSV as a table. Nothing is ever uploaded.
A free online tool by Digital HeroesHeads up: the first time you run a query, your browser downloads a one-time SQLite engine (~1 MB). After that it runs fully on your device, even offline — your data and queries are never sent to a server.
A real database that never leaves your laptop
This is a full SQLite engine (sql.js, compiled to WebAssembly) running inside the page — the same SQL you'd write against a production database. Prototype a query, learn JOINs and aggregates, or load a CSV export and slice it with SQL. Everything stays in memory on your device: no account, no upload, no row limits, and it keeps working offline once the engine is cached.
Everything a query tool should do.
Four steps, no setup.
- Type or paste a SQL query into the editor — or click an example chip to load a ready-made one.
- Press Run query (or Ctrl/⌘ + Enter). The first run downloads the SQLite engine once, then it's instant.
- Browse the result table below and use Copy CSV or Download CSV to save your results.
- To add your own data, click + CSV in the Tables sidebar; hit Reset DB any time to restore the sample data.
Frequently asked questions.
Is the SQL Playground free?
Is it private? Is my data uploaded anywhere?
Does it work offline?
Which SQL dialect does it support?
Will my imported tables persist after I close the tab?
How big a CSV can I import?
Published · Last updated .