FeelTheFile

Convert CSV to SQL (INSERT)

The first CSV row is your column list; every other row becomes an INSERT with correct escaping and detected numeric or boolean types.

Your files never leave your device

How to generate INSERTs from CSV

  1. 1

    Paste or upload the CSV

    The first row must contain the column names.

  2. 2

    Pick the table

    The destination table name.

  3. 3

    Copy the SQL

    One INSERT per data row.

Why use this tool

  • Inferred types

    Numbers and true/false go unquoted; empty cells become NULL.

  • Correct escaping

    Single quotes doubled and text always quoted.

  • Auto separator

    Comma, semicolon or tab: detected automatically.

  • Private

    100% local conversion.

Frequently asked questions

How does it decide between number and text?

Only cells that are exactly a number (optional decimal point) are treated as numbers. "true" and "false" become booleans; everything else is escaped text.

What happens to empty cells?

They become NULL. If you need empty strings, tweak them in the SQL afterwards.

Does it work with semicolon CSVs from localized Excel?

Yes, the separator is auto-detected from the first line.

Is it good for huge imports?

It generates one INSERT per row, easy to review. For millions of rows your database native import tool is a better fit.

Related tools