Boneyard Tools

SQL Playground (In-Browser SQLite)

Run SQL right in your browser against an in-memory SQLite database. A sample employees and departments dataset is preloaded so you can query immediately, or open your own .sqlite/.db file. Everything stays on your device.

How to run SQL in the browser

  1. Wait for SQLite to load, then use the preloaded sample database.
  2. Type a query in the editor and press Run (or Cmd/Ctrl+Enter).
  3. Read the results table, or click a table name to browse its rows.
  4. Optionally load your own .sqlite file, then download the database when done.

Examples

Select rows

SELECT * FROM employees LIMIT 3;
Returns the first three rows of the employees table.

Aggregate with a join

SELECT d.name, COUNT(*) FROM employees e JOIN departments d ON d.id = e.department_id GROUP BY d.name;
Headcount per department.

Frequently asked questions

Is my data uploaded anywhere?

No. The database runs entirely in your browser using SQLite compiled to WebAssembly. Your queries and any file you open never leave your device.

What SQL does it support?

It is real SQLite, so standard SELECT, INSERT, UPDATE, DELETE, JOIN, GROUP BY, window functions, CTEs and PRAGMA all work.

Can I load my own database?

Yes. Use the load option to open a .sqlite or .db file. It opens locally, and you can run queries against it or export it back out.

Do my changes persist after I reload the page?

No. The database lives in memory, so a refresh resets it. Download the database first if you want to keep your changes.

Why does the first query take a moment?

The SQLite WebAssembly engine downloads once on first use. After it loads, queries run instantly on your device.

Related tools