editsqlite runs in your tab · nothing uploads

Converters · CSV → SQLite

Convert CSV to SQLite — in your browser, nothing uploaded

A CSV is a flat sheet of text; a SQLite database is a typed, queryable file. The gap between them is usually a Python script or a command-line import that makes you declare every column by hand. Here it's a two-minute job in a browser tab: open the CSV, glance at the types the wizard picked, and download a real .sqlite file. Your data never leaves the machine.

name,qty,price Widget,42,4.20 Gadget,7,19.99 Bolt,500,0.05 type each column name → TEXT qty → INTEGER price → REAL a real .sqlite SQLite format 3 ✓ integrity ok the whole column is read before its type is chosen — and you can override every guess
the CSV goes in as text; a typed, certified database comes out.

How to convert a CSV to SQLite

  1. Open your CSV. On the editor, click Import CSV — or just drop the .csv onto the page. You can also paste rows straight into the wizard.
  2. Check the column types. The wizard surveys every column and proposes INTEGER, REAL or TEXT. Each has a dropdown — override any guess before the table is built.
  3. Create the table. Name it and create it. It opens in the grid, where you can fix a cell, add a column or run a quick SELECT before exporting.
  4. Export the .sqlite. Click ⬇ .sqlite (certified). A fresh database file is assembled in the tab and downloaded.

Convert a CSV now →

Why the column-typing step matters

Most CSV importers either make everything text or guess from the first row and get it wrong the moment row 900 breaks the pattern. editsqlite reads the whole column before deciding: every non-empty value has to agree. All whole numbers give you INTEGER; a single decimal anywhere makes it REAL; one stray word makes it TEXT. The guess is a starting point, not a verdict — you set the final type yourself, and a value that can't honour it is kept as text instead of being mangled, the same forgiveness SQLite itself shows.

Good to know

Other conversions