Skip to content

CSV to SQL Converter

Turn CSV, TSV, or semicolon-separated rows into INSERT statements for PostgreSQL, SQLite, or MySQL.

Input

Loading tool…

Result

Local processing

Your result will appear here.

How to use it

Paste a header row followed by data. Choose the separator, SQL dialect, and table name. Cells stay text unless you choose NULL for empty cells. Select CREATE TABLE to include a schema with text columns.

Worked example

Use the headers item and quantity to generate inserts for an inventory table. A cell like 00142 keeps its leading zeros.

Browse developer