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

  1. Add your file: drop it on the box, or click to choose it.
  2. Check the options. The default settings work well for most people.
  3. 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

See all 25 CSV & Data tools →

Browse by category