Every Drawer
All tools

CSV to SQL INSERT

Turn CSV rows into INSERT statements for Postgres, SQLite, MySQL or SQL Server, with empty cells as NULL.

How it works

Turn CSV rows into INSERT statements for Postgres, SQLite, MySQL or SQL Server, with empty cells as NULL.

  1. Paste your CSV in the box.
  2. Type the Table name and pick a Database.
  3. Press Copy or Save.

Good to know

How are empty cells written?

As NULL. Numbers are written bare, and other values are quoted with any apostrophes doubled.

More like this