SQL on CSV

Upload a dataset to begin

Supported formats: .csv,.xlsx,.xls,.xlsm,.xlsb,.tsv

Free users: Up to 1MB per file.
Sign in to upload files up to 10MB.
Upgrade for even larger files.

AboutSQL on CSV

Run SQL SELECT queries directly on your CSV files.Category: Analysis & Visualization
Joining two CSV files via SQLFiltering data with complex WHERE clausesLearning SQL syntax on real data
The SQL on CSV tool is compatible with:DevelopersData AnalystsStudents Learning SQL.For simple one-off filtering, Filtering is faster than writing SQL; reach for SQL Query when you need joins or multi-table logic, then hand off the result set to Pivot Table for a cross-tab summary.
Miss the power of SQL when working with flat files? This tool spins up a lightweight in-browser database (DuckDB/SQLite) allowing you to write standard SQL queries against your CSV. Perform Joins, filtering, grouping, and complex math without installing a database server.

Frequently Asked Questions:

What SQL dialect does it support?

It runs standard SQL SELECT queries via an in-browser database engine, supporting joins, filtering, grouping and aggregate functions.

Do I need to install anything?

No, the database engine runs entirely in your browser tab.


Built for developers and analysts who think in SELECT statements and would rather query a CSV than open a spreadsheet.