← All tools

CSV to SQL INSERT Converter

Convert CSV data into SQL INSERT statements. Enter a table name, pick a dialect (PostgreSQL, MySQL, SQLite, or generic), and optionally specify column types for proper quoting and casting. Handles quoted fields, embedded commas/newlines, NULL detection, and batch mode. Pairs with the SQL INSERT Generator and SQL Formatter. Everything runs locally in your browser.

The converter detects NULLs (the literal word "NULL" or empty cells with the "empty → NULL" option), quotes strings with embedded commas, and uses single quotes for string values. Numeric-looking values are left unquoted. Pairs with the SQL INSERT Generator and SQL Formatter. Runs locally.