← All text tools

SQL query on CSV

Run real SQL (SELECT, JOIN, GROUP BY) on your CSV files in the browser.

  • Free
  • No sign-up
  • Works on any device

About SQL query on CSV

Load one or more CSV files and run SELECT queries with JOIN, WHERE, GROUP BY and ORDER BY, powered by a real SQL engine in your browser. It is faster than Excel formulas for filtering and joining big tables. Each file becomes a table named after it.

How to use SQL query on CSV

  1. Open one or more CSV files.
  2. Type a query such as SELECT with a WHERE or GROUP BY.
  3. Run it and read or copy the result table.

Why use this tool?

Also known as

Frequently asked questions

Does my data leave my computer?

No. The SQL engine runs locally in your browser, so your CSV content is not uploaded for the query.

What do I use as the table name?

Use the name shown for each loaded file on the page. A name with spaces or dashes may need quotes around it in your query.

How do I join two CSV files?

Load both files, then write a JOIN on a shared column, such as an ID. Make sure the values match exactly, including spaces and capital letters.

Is SQL query on CSV free?

Yes. SQL query on CSV on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Related tools