Local · Private · Free

SQL Playground

Write and run real SQL against a full SQLite database, entirely in your browser. A sample dataset is ready to query the moment you arrive, or import your own CSV as a table. Nothing is uploaded.

Heads up: the first time you run a query, your browser downloads a one-time SQLite engine (~1 MB). After that it runs fully on your device, even offline, your data and queries are never sent to a server.

Downloading SQLite engine…
Ctrl/⌘ + Enter to run
Examples

A real database that never leaves your laptop

This is a full SQLite engine (sql.js, compiled to WebAssembly) running inside the page, the same SQL you'd write against a production database. Prototype a query, learn JOINs and aggregates, or load a CSV export and slice it with SQL. Everything stays in memory on your device: no account, no upload, no row limits, and it keeps working offline once the engine is cached.

About SQL Playground

SQL Playground is a free, private tool that runs a full SQLite engine directly in your web browser. You can write and run real SQL queries against a built-in sample database, import your own CSV files as tables, and export any result set as a CSV. Because everything happens locally on your device, your data is never uploaded to a server. There is no sign-up and no installation required. The engine is downloaded once (about 1 MB) and then works offline. Like every free online tool by Digital Heroes, SQL Playground is 100% free with no limits.

What you can do

How to use SQL Playground

  1. Open SQL Playground in your browser. No signup or install required.
  2. Type or paste a SQL query into the editor. Click an example chip to load a ready-made query.
  3. Press Run query (or Ctrl/Cmd + Enter). The first run downloads the SQLite engine once.
  4. Browse the result table in the panel below. Use Download CSV or Copy CSV to save your results.
  5. To add your own data, click + CSV in the Tables sidebar to import a CSV file as a new table.
  6. Click Reset DB at any time to restore the original sample database.

Frequently asked questions

Is SQL Playground free?

Yes. SQL Playground is completely free for everyone, with no sign-up, no account, and no usage limits.

Is it private? Are my files uploaded anywhere?

No. SQL Playground runs entirely in your browser on your own device. Your data and queries never leave your computer and nothing is sent to a server.

Does it work offline?

Yes. After the one-time SQLite engine download (about 1 MB), the tool keeps working offline. You can also install it as an app from your browser for quick access.

Do I need to install anything or create an account?

No. Just open the page and start writing SQL. No installation and no account needed.

What does SQL Playground do?

It lets you run real SQL queries against an in-browser SQLite database, import CSV files as tables, and export results as CSV, all without leaving your browser.