Free SQL tools
Handy tools for analysts, students and anyone who writes SQL. They all run in your browser: no signup, and your data stays on your computer.
No uploads, no tracking cookies
Query a CSV with SQL
Drop a CSV and query it with real PostgreSQL or SQLite. Types detected, starter queries written for you, results exported. Private: your file never leaves the browser.
OpenSQL formatter and explainer
Tidy up any query, read what each clause does in plain English, and catch mistakes like = NULL, missing GROUP BY columns and slow filters.
OpenFree SQL test
Real tasks that get harder as you go and stop at your level. Get a score, your strengths and gaps, and where to start learning.
OpenOnline SQL playground
Write and run SQL on three sample databases in your browser. Share a query with a link or embed it on your blog.
OpenSample databases
Small, realistic practice databases (a pet shelter, a pizza shop and a music app) to download or query online.
OpenSQL cheat sheet
Every clause from SELECT to window functions on two printable pages, with PostgreSQL and SQLite side by side. Free to read, print or save as a PDF.
Open
Pick an engine
The PostgreSQL playground and the SQLite playground each list what that engine can do, with sample queries that only work there.
Sample databases
Rocket Pizza (orders and staff), Paws & Whiskers (beginner-friendly, messy text) and Streamly (product analytics). Free to download.