Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

SQL Playground

  • Free
  • Runs in your browser
  • No account needed

SQL Playground runs SQLite in your browser using sql.js 1.14.2 (about 700 KB). It starts with a sample shop database, accepts .sqlite/.db/CSV imports, shows each result as a table, and exports CSV or the full .sqlite file.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About SQL Playground

You get a lightweight in-browser SQLite editor that runs entirely on your device. You can run one or many SQL statements, see each result as a table with row counts and elapsed time, and stop a running query. The tool starts with a sample shop database of customers, products and orders so you can try queries immediately. You can import a .sqlite, .db or CSV file and export a single query result as CSV or download the whole database as a .sqlite file. The SQLite runtime is sql.js 1.14.2, compiled to WebAssembly and about 700 KB. That file is downloaded once from the jsDelivr CDN when the page opens. Queries run in a background thread and no files or query text are uploaded to any server. Developers, testers and students use this for quick checks, debugging and sharing SQL snippets without installing anything.

How to use it

  1. 1Open the editor and wait for sql.js (about 700 KB) to load.
  2. 2Type or paste one or many SQL statements into the editor.
  3. 3Click Run to execute queries and view each result table with row counts and time.
  4. 4Click Stop to cancel a running query if needed.
  5. 5Import or export a .sqlite/.db or CSV file, or download a query result as CSV.
Advertisement

Worked example

Input SQL: SELECT 1+2 AS sum; Result table: one row with column sum and value 3. Row count: 1.

How it works

Runs SQLite in the browser with sql.js 1.14.2 (SQLite compiled to WebAssembly, about 700 KB, downloaded once from the jsDelivr CDN when the page opens)Starts with a sample shop database (customers, products, orders), runs one or many SQL statements and shows each result as a table with row counts and time, lists tables and columns, exports a result as CSV and the whole database as a .sqlite file, and imports a .sqlite, .db or CSV fileQueries run in a background thread and can be stopped; nothing is uploadedWorks in the browser with nothing to install

Source: sql.js on GitHubSQLite documentation. Last checked 15 November 2026.

What it is good for

  • Runs entirely in your browser with no server upload
  • Quickly open or create .sqlite, .db and CSV files
  • Stops long queries and shows row counts and execution time
  • Uses SQLite only; MySQL or Postgres specific features may not work
  • Very large databases can hit browser memory limits
Advertisement

Questions people ask

Which SQL dialect does this use?

It uses SQLite. Some functions or syntax from MySQL or PostgreSQL will not work. If you need a different engine, use a server or a dedicated cloud service for that dialect.

Are my files uploaded to a server?

No. Imports, queries and exports run in your browser only. The tool downloads the sql.js WebAssembly once, but your database files and SQL text are not sent to our servers.

What file types can I open and save?

You can import .sqlite and .db files and CSV files. You can export a query result as CSV or download the entire database as a .sqlite file.

How do I check the SQLite version?

Run SELECT sqlite_version(); in the editor. That returns the SQLite library version embedded in sql.js on your device.

Can I stop a long running query?

Yes. Queries execute in a background thread and you can cancel them while they run. This prevents the UI from freezing during large operations.

Will my work persist between browser sessions?

You should export the database or results to save work you need later. Do not assume the browser will preserve state across clears or different devices.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement