Paste CSV and click Convert

How to Turn an Excel Table Into a SQL Query

This tool accepts CSV (comma-separated) and generates SQL INSERT commands for quick data import.

How do I move an Excel table into a database without writing INSERT statements by hand?

Copy the data from Excel (first row as column headers) and paste it as comma-separated CSV into the input field, click "Convert" — the tool returns ready CREATE TABLE and INSERT commands.

What if my Excel data uses semicolons instead of commas?

Replace the delimiter with a comma before pasting (e.g. via Find & Replace in Excel) — the tool expects CSV with a comma as the field separator.

How to use

  • 1

    Paste CSV

    Paste or upload CSV with headers in the first row.

  • 2

    Check delimiters

    If another delimiter is used (semicolon), replace it with a comma first.

  • 3

    Generate SQL

    Click Generate and copy the INSERT statements.

FAQ