Run SQL on CSV

Query CSV, Excel, JSON and Parquet files with SQL in your browser — joins, window functions, PIVOT — powered by DuckDB. Autocomplete, friendly errors, no upload.

About this tool

SQL over your files, no database to install

Every file you open becomes a table you can query with DuckDB's SQL dialect: joins across files, GROUP BY ALL, window functions, PIVOT, regular expressions, date functions and more. The editor completes table and column names, errors are explained in plain language, results show in the same fast grid and export to CSV, Excel or Parquet.

DuckDB's SQL

A modern analytical dialect: QUALIFY, EXCLUDE, GROUP BY ALL, list and struct functions, PIVOT/UNPIVOT, ASOF joins.

Autocomplete from your data

Table names, column names with their types and common functions complete as you type.

Errors you can act on

A misspelt column comes back as "There's no column 'amout' — did you mean 'amount'?", with the original message one click away.

Nothing leaves your device

The engine runs in your browser tab. There is no upload, no account and no server copy of your data.

How to use it

  1. Open one or more CSV, Excel, JSON or Parquet files — each becomes a table named after its file.
  2. Write a query in the SQL tab; press Ctrl+Enter to run it.
  3. Use `result` to query the table with your no-code steps applied.
  4. Save the result as a new table or export it.

Frequently asked questions

Which SQL dialect is it?

DuckDB's, which is PostgreSQL-like with analytical extras such as GROUP BY ALL, QUALIFY, SELECT * EXCLUDE and PIVOT. Text comparisons are case-sensitive; use ILIKE for case-insensitive matching.

Can I query files from a URL?

No. Remote files and URLs are switched off on purpose: the tool only reads files from your device, so a query can never send data anywhere.

Are my queries saved?

The last 50 queries are kept in this browser's local storage for the History list. They never leave your device; clearing site data removes them.

Are my files uploaded?

No. The files are read by a database engine (DuckDB, compiled to WebAssembly) that runs in your browser tab. Nothing is sent to a server, so customer lists, payroll exports and order data stay on your device. Remote URLs are switched off in the SQL editor too.

How big can a file be?

On a computer, files of several hundred MB and millions of rows open fine; the limit is the memory a browser tab may use (about 4 GB for WebAssembly). Phones and tablets have far less, so very large files are best opened on a computer.