Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitDataSQL on CSV

SQL on CSV

Query CSV files with SQL, powered by in-browser SQLite. Runs entirely in your browser — nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use SQL on CSV

  1. 01Click Add CSV files, or drop files on the Tables panel. Each file becomes a table named after it.
  2. 02Write a query in the Query box, or open Examples for ready-made ones such as Top 10 or Group by.
  3. 03Click Run, or press Ctrl or Command and Enter. Select part of the text to run only that.
  4. 04Review the result table, then click Export CSV to save it.
Questions

SQL on CSV FAQ

6 answers to what people ask most about the SQL on CSV.

How do I query a CSV file with SQL?

Add the file and it becomes a table. Then write a normal SELECT, such as SELECT * FROM my_table LIMIT 10, and click Run.

Can I join two CSV files?

Yes. Add both files and join the tables on a shared column. The built-in sample loads a customers file and an orders file and joins them to total revenue by country.

Which SQL dialect does it use?

SQLite, running in your browser. Standard SELECT, JOIN, GROUP BY, window functions and common functions like ROUND and strftime are available.

How big can the CSV files be?

Up to 80 MB per file. Larger files are refused because the whole database is held in browser memory.

Can I save the query result?

Yes. Click Export CSV above the results to download them as a file.

Is SQL on CSV free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
CSV to JSON

Turn CSV rows into JSON objects.

Data
JSON to CSV

Flatten JSON into a CSV you can open in Excel.

Data
XML ⇄ JSON

Convert XML to JSON and back.

Data
CSV Cleaner

Trim cells, drop empty rows, remove duplicates.

Data
Something off with SQL on CSV? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt