Skip to content

SQLite Playground

Developer Tools•Client-Side & Private

Load a CSV or JSON file into a real SQLite database in your browser and query it with SQL — SELECT, JOIN, GROUP BY — then export results as CSV.

Tool workspace
No database yet — load a file or a sample dataset. Real SQLite (sql.js, WebAssembly) running in your browser — no server, no upload. Files ≤ 10 MB, tables ≤ 100,000 rows.

Loading tool controls…

Files processed locally — never uploaded to our servers
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool — your files are never uploaded.

SQLite Playground at a glance

Price
Free
Account
Not required
File uploads
None — your files are never uploaded

Who uses Developer Tools?

Developers and engineers formatting JSON, testing regex, hashing data, encoding values or building API requests.

How to Use SQLite Playground

Follow these simple steps to get instant results in your browser.

1

Load Data

Drop a CSV or JSON file, or start with a built-in sample dataset (sales, employees, or products).

2

Write SQL

Type a SELECT query in the editor. The schema panel lists every table and column.

3

Run and Export

Run the query, inspect the result table, and export the displayed rows (up to 1,000) as CSV.

💡

What is SQLite Playground & How Does It Work?

SQLite Playground loads a CSV or JSON file into a real SQLite database running in your browser — sql.js, SQLite compiled to WebAssembly — and lets you query it with genuine SQL. SELECT, WHERE, JOIN, GROUP BY, ORDER BY, aggregates, subqueries and CTEs all work, because the engine is SQLite itself, not a simulation.

A CSV becomes a table named after the file, with the header row as columns and numbers typed automatically. A JSON array of objects becomes a table with one column per key; nested values are stored as JSON text. Load several files and join them.

Only read queries run. INSERT, UPDATE, DELETE and DROP are blocked on purpose: the playground is for querying data, not editing it. The database lives in memory and disappears when you close the page.

⚡

Key Features & Capabilities

✓

Real SQLite Engine

sql.js — SQLite compiled to WebAssembly — executes genuine SQL in your browser.

✓

CSV and JSON Loading

Files become typed tables automatically; load several and join them.

✓

Sample Datasets

Sales, employees and products datasets built in, so you can run a JOIN and a GROUP BY in seconds.

✓

CSV Export

Export the displayed query result — up to 1,000 rows — as a CSV file.

✓

Private by Design

Files are parsed locally into an in-memory database. Nothing is uploaded.

Pro Tips

  • •Bookmark this tool for instant one-click access anytime.
  • •Drag and drop files directly onto the input surface for fastest handling.
  • •All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Answering Questions About a CSVTotal sales by city, top customers, monthly trends — without opening a spreadsheet or installing a database.
Joining Two FilesLoad an orders CSV and a customers CSV, join them on customer id, and group by region.
Learning SQLPractise SELECT, JOIN and GROUP BY against real data with instant feedback and no setup.
Checking a Data ExportLoad a CSV export from another tool and run a quick GROUP BY to spot duplicates or missing values before importing it elsewhere.
📐

SQLite Playground - Sales by city

Formula Equation:
SUM(amount) grouped by city: Lahore 558.49 · Islamabad 210.00 · Karachi 64.99

The sample loads 6 sales rows into a real in-browser SQLite database (sql.js). The grouped query adds each city's amounts and orders the cities by total, largest first.

✏️

Worked Example

  1. 1SELECT city, COUNT(*) AS orders, ROUND(SUM(amount), 2) AS total FROM sales GROUP BY city ORDER BY total DESC;
  2. 2Lahore: 3 orders, 129.99 + 79.50 + 349.00 = 558.49
  3. 3Islamabad: 1 order, 210.00 = 210.00
  4. 4Karachi: 2 orders, 45.00 + 19.99 = 64.99
📚

Sources & Further Reading

Frequently Asked Questions about SQLite Playground

Frequently asked questions

Real SQLite. The tool runs sql.js — SQLite compiled to WebAssembly — in your browser. It executes genuine SQL: SELECT, WHERE, JOIN, GROUP BY, ORDER BY, LIMIT, aggregates, subqueries and CTEs.

Nothing leaves your browser. Files are parsed locally into an in-memory SQLite database, and the database disappears when you close or refresh the page. There is no server and no upload.

A CSV becomes one table named after the file, with the header row as column names and values typed as numbers where possible. A JSON array of objects becomes a table with one column per key; nested objects and arrays are stored as JSON text.

Yes: files up to 10 MB, tables up to 100,000 rows, and result sets are capped at 1,000 rows shown — and the CSV export covers those same 1,000 rows. Only SELECT-style queries run — INSERT, UPDATE, DELETE and DROP are blocked, because the playground is for querying, not editing.

Yes — load two CSVs into the same database and join them on a shared column. The sample sales and customers files are set up for exactly that: join sales to customers on customer_id.

No — it lives in memory and disappears when you close or refresh the page. Export the result as CSV if you need to keep it.

Complementary utilities for your workflow

View all →
You are here

SQLite Playground

Query CSV or JSON files with real SQL in your browser.

Current tool

CSV to JSON

Convert CSV data sheets to JSON arrays.

Try tool

JSON to CSV

Convert structured JSON data to CSV format.

Try tool
Popular

JSON Formatter

Format, beautify, and syntax-highlight JSON data.

Try tool

SVG to React

Convert raw SVG into a clean React component.

Try tool