Query a Table with SQL

Run SQL on a CSV or Excel file in your browser: SELECT, WHERE, JOIN and GROUP BY on your own data, then export the result.

Your data never leaves this browser

The file is parsed, previewed and charted on your own device. Nothing is uploaded — not even a sample. Close the tab and the data is gone.

Table 1 (data)

Or paste table text
Table 2 (data2, optional — for JOIN)
Or paste table text

Table names you can use:

Run a query and the result appears here.

How it works

  1. 1.Import one table, or a second one too so you can JOIN them (Excel, CSV, TSV or JSON, or paste).
  2. 2.The engine is SQLite: the table names you can use are listed under the editor, and the first row becomes the header.
  3. 3.Write your query, or press Try sample data for a working example, then run it with Run SQL.
  4. 4.Read the result and download all of it as CSV or Excel — the grid only previews the first rows.

Frequently asked questions

Do I get free credits to try Query a Table with SQL?
Yes — new accounts get 3 free credits to spend on any tool, Query a Table with SQL included. After that you only pay for what you run.
How many credits does Query a Table with SQL cost?
Everything runs in your browser and nothing is uploaded: free accounts pay 1 credit per run, and Pro or Pro+ members run it as often as they like.
Is the content I paste private?
Query a Table with SQL uses your input only to generate the result. Stored results are deleted automatically by our retention policy, and you can remove any run from your history.
Do I need to install anything?
No. Query a Table with SQL works in any modern browser — nothing to download or install.

Use cases