Converters · Developer
CSV to SQL INSERT generator
Turning a spreadsheet into seed data is tedious and easy to get wrong — especially apostrophes. Paste CSV with a header row, set a table name, and get one multi-row INSERT statement with single quotes escaped and empty cells emitted as NULL. Quoted CSV fields and embedded commas are handled.
- Free · no account
- Local · nothing uploaded
- Instant · no server
What it gives you
A ready-to-run INSERT INTO ... VALUES ... statement.
Example
Input
id,name
1,O'Brien
2,AnnaOutput
INSERT INTO users (id,name) VALUES (1,'O''Brien'),(2,'Anna');