SQL & Databases

SQLite Playground

Run SQLite in the tab and open an existing `.sqlite` file read-only.

  • Draft kept in this tabYour draft is kept in this tab's session storage and cleared when the tab closes.
  • Runs in your browserProcessing happens in this page. No application server receives your input.

Database

Schema

No tables in current SQLite database.

SQL query

Engine not loaded. SQLite 3.51.0 (WASM) (~400 KB gzipped) loads when you run a query or add a database file.

Result

Drop a .sqlite database file above or enter a SQL query, then click Run query.

What this tool does

Runs SQLite compiled to WebAssembly inside an isolated Web Worker in your browser tab, and opens an existing .sqlite, .db, or .sqlite3 file read-only to query it locally. You can also export the working database as a binary .sqlite file that opens directly in DB Browser for SQLite or the sqlite3 CLI.

For example, dropping a 40 MB chinook.sqlite populates the schema tree with its tables and lets you run select count(*) from tracks; in milliseconds with zero network activity.

Multi-statement scripts show one result per statement, in submission order, in the Result sheet.

Limits

In-memory only, and that is a header decision, not a preference. OPFS-backed SQLite requires SharedArrayBuffer, which requires COOP and COEP response headers, which 22 ยง22.6 declines to require of every host this product is meant to be droppable onto. An attached file is opened read-only and is never written back: the original bytes on the user's disk are untouched. No extensions, no ATTACH of a second file, no FTS5 unless the build includes it.

Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.