SQLite / SQL Playground
SQLite (WASM)Execute SQL queries on a live SQLite database running in your browser memory. Run schema definitions, joins, window functions, and export query results to CSV/JSON.
About This Tool
This runs queries against a real SQLite engine (sql.js, SQLite compiled to WebAssembly) loaded into the page and kept in browser memory. It is for testing a schema, trying a join or window function, or checking a query output shape before dropping it into application code without needing a database server.
The database lives strictly in memory for the active tab: refreshing or switching schemas discards it.
Key Features
- Three starter schemas: E-Commerce (users/products/orders), Web Analytics (pageviews), and Blank for custom DDL.
- Standard SQL & Aggregates: Full support for JOIN, GROUP BY, HAVING, CTEs (WITH ... AS), and Window functions.
- Live HTML results table: Renders the latest result set with NULL values visually highlighted.
- Row count & execution timer: Live performance metrics shown alongside every query execution.
- Export JSON & CSV: One-click copy provides clean RFC-4180 CSV or structured JSON arrays.
- 100% In-Memory WASM: Runs completely offline in browser RAM with zero server communication.