Logo

SQL on CSV

Upload a dataset to begin

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

Not signed in: Up to 20kB per day, no sign-up needed.
Sign in for free for unlimited files, no payment required.

About SQL on CSV

Run SQL SELECT queries directly on your CSV files.

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.

Category: Analysis & Visualization

Common Use Cases

  • Joining two CSV files via SQL
  • Filtering data with complex WHERE clauses
  • Learning SQL syntax on real data

Key Features

  • In-Browser SQL Engine
  • JOIN/GROUP BY/WHERE Support
  • No Server Setup Required
  • Results Exportable as CSV

The SQL on CSV tool is compatible with: Developers, Data Analysts, Students 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.

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.

Read the related guide