Skip to content
Takikit

CSV to SQL INSERT Converter

Turn a CSV file or an Excel table into INSERT statements for MySQL, PostgreSQL, SQL Server and SQLite.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Handy when accounting or sales sends a customer or product list in Excel and you need it in the database but have no access to the server's file import command.

Comma, semicolon and tab separators are detected automatically, so you can paste straight from Excel. Digit-only cells become numbers, but values starting with 0, like phone numbers, stay quoted so the leading zero is not lost.

How to use

  1. Paste CSV with column names in the first row.
  2. Set the table name, database type and rows per statement.
  3. Download the .sql file.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Can I copy from Excel?

Yes. Select the data range in Excel, copy it and paste it in. The tool detects whether the separator is a tab, a comma or a semicolon.

Related tools

More Developer tools

See all developer tools