CSV to SQL
Create SQL INSERT statements (and CREATE TABLE) from a CSV file for MySQL, PostgreSQL, SQLite, SQL Server or Oracle.
Loading CSV to SQL…
Results are provided as-is, without warranty. Please double-check anything important before relying on it. Terms & Disclaimer
About CSV to SQL
Create SQL INSERT statements (and CREATE TABLE) from a CSV file for MySQL, PostgreSQL, SQLite, SQL Server or Oracle.
How to use it
- Add your file: drop it on the box, or click to choose it.
- Check the options. The default settings work well for most people.
- Press the main button, then download your result.
Works with: CSV, TSV, TXT
Questions
- Is CSV to SQL free to use?
- Yes. CSV to SQL is completely free to use, with no sign-up and no watermark on your files.
- Do I need to create an account or install anything?
- No. Open the page and use it straight away on a phone, tablet or computer.
- Which files can I use?
- CSV to SQL works with CSV, TSV, TXT.
- How do I use CSV to SQL?
- Add your file: drop it on the box, or click to choose it. Check the options. The default settings work well for most people. Press the main button, then download your result.
Also useful for: csv to sql insertcsv to mysqlcsv to postgrescsv to sqlitegenerate insert statementsimport csv to database
More CSV & Data tools
CSV viewer and editorOpen a CSV file as a table, search, sort and edit cells, then save it.CSV to JSONConvert a CSV file into JSON: a list of objects, rows, or nested objects.JSON to CSVTurn JSON, even nested objects and lists, into a CSV table.Chart makerMake a bar, line, pie or scatter chart from pasted data or a CSV file and save it as PNG.CSV to XMLConvert CSV rows into XML elements or attributes.XML to CSVTurn repeating XML records into a CSV or Excel table.