Run SQL queries on Excel and CSV files
Analyze spreadsheets with SQLite in your browser. Join tables, find duplicates, summarize data and export results. No installation or account required.
Free · Local file processing · Excel, CSV and SQLite
From file to results in three steps
- Open your data. Choose Quick Upload, or use Import Wizard to review table names, columns and data types.
- Write a SQL query. Find the exact table and column names in Database Structure. Select Run or press Ctrl+Enter (Cmd+Enter on Mac).
- Export your work. Download the result as CSV or save the whole database as a .sqlite file.
Try a real SQL example
Find total spend per customer in a small orders table. The example opens with data and SQL ready; select Run to see the result.
SELECT customer_id, SUM(amount) AS total_spend
FROM orders
GROUP BY customer_id
ORDER BY total_spend DESC;| customer_id | total_spend |
|---|---|
| 1 | 125 |
| 2 | 50 |
Choose your starting point
Your files stay in your browser
File parsing and SQL processing happen on your device. SQLSheet does not upload your file contents to a server. The website downloads code and assets, and uses Google Analytics and Vercel Analytics for usage measurement. We do not send file contents, filenames or SQL text to analytics.
The active database and query drafts are saved locally in this browser and restored when you return to the app. Examples add sample tables alongside your own data and open their SQL in new query tabs. Existing tables stay intact. Keep a downloaded SQLite backup: clearing site data, private browsing or storage limits can remove or prevent local saves. Saved queries, import templates and display settings are also stored in your browser.
Frequently asked questions
Is SQLSheet free? Do I need an account?
SQLSheet is free to use, with no account or installation required.
Which SQL dialect does it use?
SQLite, powered by SQL.js. Use SQLite syntax rather than database-specific MySQL, SQL Server or DuckDB functions.
Which files can I open?
Quick Upload supports CSV, XLSX, XLS and SQLite database files (.sqlite, .sqlite3 and .db). The Import Wizard supports CSV and Excel, including XLSM and XLSB.
Can I save my results?
Download query results as CSV, or download the whole SQLite database from the left panel.
How large can my file be?
Practical limits depend on browser memory and your device. Large imports may be slow or exhaust memory. Try a smaller extract first; SQLSheet is not a replacement for a database server.