Convert CSV data to SQL INSERT statements instantly in your browser. Auto-detects column types. Shows table preview. One-way conversion. 100% client-side.
The CSV to SQL converter parses CSV data using csv-parse and generates a `CREATE TABLE` statement plus `INSERT INTO` rows. Column types are inferred automatically — numeric columns become `INTEGER` or `REAL`, boolean strings become `BOOLEAN`, and all other columns become `TEXT`. The CSV input panel shows a sortable table preview. The conversion is one-way; use CSV to JSON and then JSON to SQL for more control.
QWhat SQL dialect does the output target?
The generated SQL uses standard syntax (quoted identifiers, standard types) compatible with MySQL, PostgreSQL, and SQLite. Minor syntax tweaks may be needed for specific dialects.
QHow are column types determined?
The converter samples all values in each column. If all are integers it uses INTEGER, if all are numeric it uses REAL, true/false values produce BOOLEAN, and all others produce TEXT.
QIs my data sent to a server?
No. All conversion runs in a Web Worker inside your browser.