Skip to content
SimpleRows

Convert CSV to SQL INSERT statements

Drop a CSV file and download it as SQL INSERT statements.

Processed on this device · nothing uploaded

Drop a file to start

CSV, TSV, Excel or JSON · we’ll detect the delimiter and encoding

Processed on this device. Nothing is uploaded.

How to convert CSV to SQL INSERT statements

  1. 01Drop your CSV file into the box above.
  2. 02Check the preview and the options.
  3. 03Download the SQL INSERT statements file.

Generates one INSERT statement per row for PostgreSQL, MySQL, SQLite, SQL Server or DuckDB, with values escaped and numbers left unquoted. Pair it with CSV to CREATE TABLE for the schema. The conversion runs entirely on your computer, so private data stays private and large files don’t wait for an upload.

Questions

Are quotes in values escaped?

Yes, single quotes are doubled, so values like O’Brien insert correctly.

Is my file uploaded to a server?

No. SimpleRows runs entirely in your browser using DuckDB, a database engine compiled for the web. Your file is read from your disk and never sent anywhere, and the tools keep working with Wi-Fi off once the page has loaded.