Four SQL dialects
Correct identifier quoting and booleans for MySQL/MariaDB (`backticks`), PostgreSQL, SQLite ("double quotes") and SQL Server ([brackets]).
Turn spreadsheet rows into ready-to-run INSERT statements, with an optional CREATE TABLE.
Convert CSV to SQL INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server, with optional CREATE TABLE and detected column types. Runs in your browser.
id,name,price
1,Keyboard,129.99
2,"Monitor 27""",349INSERT INTO `products` (`id`, `name`, `price`) VALUES
(1, 'Keyboard', 129.99),
(2, 'Monitor 27"', 349);Tip: For very large files, keep 1000 rows per INSERT: multi-row statements import much faster than one statement per row.
Correct identifier quoting and booleans for MySQL/MariaDB (`backticks`), PostgreSQL, SQLite ("double quotes") and SQL Server ([brackets]).
Numbers, booleans, dates and text are recognised per column, so CREATE TABLE gets INT, DOUBLE, BOOLEAN, DATE or VARCHAR instead of TEXT everywhere.
Write one multi-row INSERT per 100 or 1000 rows for fast imports, or one statement per row for easy debugging.
Apostrophes are doubled (O''Brien), MySQL backslashes are escaped and empty cells become NULL.
MySQL and MariaDB, PostgreSQL, SQLite and Microsoft SQL Server. Pick the dialect and the identifier quoting, boolean values and column types follow it.
Each column is inspected: whole numbers become INT (BIGINT when large), decimals DOUBLE, true/false BOOLEAN, ISO dates DATE or TIMESTAMP and everything else VARCHAR sized to the longest value. Review the result before using it in production.
Empty cells are written as NULL. Values such as 007 or 0123 keep their leading zeros because they are kept as text.
No. The conversion runs entirely in your browser, so customer lists and exports never leave your device.