CSV to SQLite Converter
Turn a CSV file into a real SQLite database, right in your browser. Query it with SQL, then download the .sqlite file. Nothing is uploaded anywhere.
Tables already in this file:
The new table is added alongside the existing ones. Pick a table name below that isn't already in the list.
Limits: up to MB, rows, columns. Larger files are rejected before they're processed.
Schema
Tables in this database
Preview (first 20 rows)
Run SQL
Download
About the CSV to SQLite Converter
SQLite is a real, single-file database engine — the same one used inside countless apps, browsers and mobile devices. This tool turns a plain CSV file into a proper SQLite database entirely inside your browser: it infers a column type for each field, loads every row into a table, and lets you query the result with real SQL before you download the .sqlite file. Nothing is uploaded to a server at any point.
Upload or paste your data
Drag in a CSV file or paste rows directly as text. Choose whether the first row holds column headers, and pick a delimiter — comma, tab, semicolon, or let the tool auto-detect it for you.
Add to an existing database
Already have a .sqlite or .db file? Load it as a base database and the new CSV becomes another table alongside the ones you already have, instead of starting a fresh file from scratch.
Query it with real SQL
Once the database is built, run SELECT, JOIN, GROUP BY or any other SQL statement straight against it in the built-in console, preview the schema and first rows, and export query results back out as CSV.
Why convert CSV to SQLite?
- Run SQL joins, aggregations and filters that spreadsheets and plain CSV tools can't do.
- Combine several CSVs into one queryable database by adding each as its own table.
- Get a compact, portable .sqlite file you can hand to a script, app or teammate.
- Spot column types automatically — text, integer or real — instead of setting up a schema by hand.
- Everything runs locally, so sensitive data never leaves your device.
Frequently asked questions
Is my CSV data uploaded anywhere?
No. The conversion, querying and file generation all happen locally in your browser. Your file never leaves your device.
How large a CSV file can I convert?
The current limits are shown above the Generate button — files, row counts and column counts beyond those limits are rejected before processing so the browser tab stays responsive.
What column types does it use?
Each column is inspected and assigned INTEGER, REAL or TEXT based on the values it contains, so numeric columns stay numeric instead of being stored as plain text.
Can I add a table to a database I already have?
Yes. Enable "Add this as a new table in an existing .sqlite / .db file", upload that file, and give the new table a name that isn't already used inside it.
Can I export just my query results?
Yes. After running a query that returns a single result set, use "Download results as CSV" to save just that output rather than the whole database.