DevTools Logo

CSV to SQL Converter

CSV to SQL Converter

Generate CREATE TABLE + INSERT statements from CSV — typed, escaped, dialect-aware.

Samples:

Options

CSV Input

About

Turn CSV data into SQL. Optionally emit CREATE TABLE with inferred column types (INTEGER, REAL, BOOLEAN, TEXT, TIMESTAMP), then INSERT statements — individual or multi-row. Values are correctly typed (numbers and booleans unquoted, strings escaped, empty cells become NULL). Choose ANSI/SQLite, PostgreSQL, or MySQL identifier quoting. Everything runs in your browser; nothing is uploaded.