CSV to SQL Converter

Convert CSV into SQL CREATE TABLE and INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server.

Runs instantly in your browser — results update as you type.

How do I import a CSV file into SQL?

Paste the CSV with a header row, choose your database and table name, and the converter writes a CREATE TABLE statement with guessed column types (INTEGER, DECIMAL, DATE, VARCHAR…) plus batched INSERT statements with properly escaped values.

How to use the CSV to SQL Converter

    Frequently asked questions

    Which delimiters are supported?

    Comma, semicolon and tab are detected automatically.

    Are column types always right?

    They are inferred from the data — review them before production use.

    Is my data uploaded?

    No, conversion runs in your browser.