SQL Playground & Query Runner

Write schema and seed SQL, then run queries against an in-memory database.

Support
Works Offline
Privacy First
No Login
No API

Schema & seed data

Editable SQL run once to build the in-memory database.

Schema explorer

No tables yet — run the schema above or import a CSV.

Import CSV as a table

Drop a file here

The file name becomes the table name; the first row becomes the columns.

Query

Query the in-memory database built from the schema on the left.

Run a query to see results here.

About the SQL Playground & Query Runner

An in-browser SQL sandbox: edit a schema/seed SQL block to build a fresh in-memory SQLite database, then write and run queries against it. Comes with a small demo schema and sample JOIN, GROUP BY, and subquery buttons to get started, plus CSV/JSON export of results. Powered by sql.js (SQLite compiled to WebAssembly) — everything runs locally.

Examples

Join query

SELECT c.name, o.product FROM customers c JOIN orders o ON o.customer_id = c.id;

Output

Ada Lovelace | Laptop

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Read more

Comments

No login needed. Comments appear after a quick review.

Protected by an on-site captcha — no third-party trackers.

Optional: get an alert when your comment is published or replied to, plus new tool announcements. No sign-up.

Loading comments…

Version 1.0.0 · Updated 2026-08-11 · Runs entirely in your browser