Processed locally — your file never leaves your device
CSV to SQL INSERT
Convert a CSV file to SQL INSERT statements, with a configurable table name and dialect — entirely in your browser.
Drop a .csv file hereor click to choose a file from your deviceNothing is uploaded — conversion happens entirely on your device.
How it works
- Drop a .csv file.
- Set the table name and choose a SQL dialect.
- Click Build INSERT statements to generate one INSERT per row, locally.
- Copy the result or download it as a .sql file.
Frequently asked questions
- Is my CSV file uploaded or executed anywhere?
- No. Parsing and statement-building both happen locally, and the output is only ever text — nothing is run against a database.
- How are values escaped?
- Single quotes inside text values are doubled (the standard SQL escape), numbers are written unquoted, empty cells become NULL, and table/column names are quoted and escaped the same way, so a crafted CSV header can't break out of the statement.
- Does it produce one big multi-row INSERT, or one per row?
- One INSERT INTO ... VALUES (...); statement per row — this keeps the output valid and easy to review regardless of row count or SQL dialect.
- Can I set the table name?
- Yes — it defaults to the CSV's filename, and you can change it to anything before converting.