CSV SQL Query Editor

Run SQL SELECT queries on CSV and TSV files instantly in your browser.

About this tool

Upload any CSV or TSV file and query it with real SQL — no database setup, no uploads to a server. Write SELECT statements, JOIN multiple files, filter, group, and aggregate using an in-browser SQLite engine with automatic type inference. A fast, private alternative to datasette, q, and textql.

What it does

  • Query CSV and TSV files with full SQL using an in-browser SQLite engine
  • JOIN multiple uploaded files together in a single query
  • Automatic column type inference for numbers, dates, and text
  • Filter, GROUP BY, aggregate, and sort with standard SQL
  • Download query results as CSV
  • Everything runs locally in the browser — your data never leaves your machine

Repository

chayprabs/csv-tsv-sql-query-editor-playground

Source code, issues, and releases

Spotted a bug or have an idea?

This tool is built in the open and shaped by feedback. If something feels off — or you want a feature — I read every message.

Related tools