Running on your device · 0 bytes uploaded CSV to SQL INSERT generator Turn pasted CSV into INSERT statements — header row becomes the column list, quotes double per standard SQL, empty cells are NULL by your choice. Statements are generated, never run. CSV textTable nameRows per INSERT statementEmpty cells → NULLInclude column listGenerate INSERTs - Generated, never executed — no database connection exists here, and none will. - Every value is a quoted string or NULL; the tool cannot know your column types. Cast in the INSERT or fix types on import. - Backslash escapes are not assumed — '' doubling only, the PostgreSQL/MySQL-strict dialect. MySQL’s default backslash mode would need a rewrite. Nothing in yet Paste, drop, or type to begin. Everything stays on this device. CSV + table name in, INSERTs out Next door in Config - Markdown table (/text/markdown-table) - JSON Converter (/json/convert) All config tools (/config) Canonical HTML: https://nutter.tools/config/csv-to-sql Markdown version: https://nutter.tools/config/csv-to-sql/index.md Plain-text version: https://nutter.tools/config/csv-to-sql/index.txt Agent index: https://nutter.tools/llms.txt