CSV to SQL Converter
Turn CSV data into CREATE TABLE and INSERT statements. Free, no sign-up, your data stays on your device.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to use the CSV to SQL converter
- Paste CSV text or open a CSV file — the first row must contain column names.
- Choose the table name, SQL dialect and how many rows go in each INSERT.
- Click Convert and copy or download the .sql script.
Import spreadsheet data into MySQL, PostgreSQL, SQLite or SQL Server without a wizard. Column types (integer, decimal, boolean, date, datetime, text) are detected from the values, empty cells become NULL and quotes are escaped safely, so names like O’Brien never break the script. Large files are split into batches for faster imports.