SQL Playground & Query Runner
Write schema and seed SQL, then run queries against an in-memory database.
Schema & seed data
Editable SQL run once to build the in-memory database.
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 | LaptopKeyboard 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
SQLite Database Viewer & Query Runner
Dev Utilities
Open a .sqlite/.db file in your browser and run SQL against it.
SQL Formatter
Dev Utilities
Format and indent SQL queries for readability.
SQL Query Analyzer
Dev Utilities
Find expensive SQL patterns, missing filters and index opportunities.
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
Android APK Analyzer & Explorer
Dev Utilities
Open an APK, decode its manifest and browse or download every file inside.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-11 · Runs entirely in your browser