DataFlow Convert

CSV to SQLite

Upload a CSV (or JSON) and download a .sqlite database file — a self-contained database you can query immediately without any server setup.

File
Convert to

Open in any SQLite client

DB Browser for SQLite, DBeaver, TablePlus, or the sqlite3 CLI — all work with the downloaded .db file.

Query with Python

import sqlite3; conn = sqlite3.connect("data.db"); cursor.execute("SELECT * FROM data")

Query with Node.js

Use better-sqlite3 or the built-in node:sqlite module to read the file directly.

Type inference

INTEGER, REAL, and TEXT columns are inferred from the CSV data automatically.

No server required

The database is a single file. Share it as an email attachment or store it in a repo.

Works with JSON too

JSON files with arrays of objects are also supported as input.

Want SQL statements instead of a binary file? Convert CSV to SQL →