SQLite Playground
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.
Loading tool controls…
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
- Category
- Developer Tools
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.
Load Data
Drop a CSV or JSON file, or start with a built-in sample dataset (sales, employees, or products).
Write SQL
Type a SELECT query in the editor. The schema panel lists every table and column.
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
SQLite Playground - Sales by city
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
- 1SELECT city, COUNT(*) AS orders, ROUND(SUM(amount), 2) AS total FROM sales GROUP BY city ORDER BY total DESC;
- 2Lahore: 3 orders, 129.99 + 79.50 + 349.00 = 558.49
- 3Islamabad: 1 order, 210.00 = 210.00
- 4Karachi: 2 orders, 45.00 + 19.99 = 64.99
Sources & Further Reading
- SQLite Documentation — SQLite
- SELECT — SQLite
Frequently Asked Questions about SQLite Playground
Frequently asked questions
More Developer Tools
Complementary utilities for your workflow
SQLite Playground
Query CSV or JSON files with real SQL in your browser.