CSV to SQL

Create INSERT statements from CSV rows. Quotes and table names are escaped. Values are stored as text so leading zeros stay intact.

Other tools

Nothing is uploaded. About 15 MB per file.Privacy

When the Mac app is the better tool

In the Mac app, Copy As SQL INSERT uses a generic table name. Use this tab when you want your own table name and column list.

Filter a CSV in the Mac app

Common questions

Will types be inferred?

Values stay quoted text so leading zeros survive. Empty cells become empty strings in this tool.

Is the file uploaded?

No. INSERT text is generated locally.

INSERT from a huge sheet

Select a range in the Mac app and copy it as SQL, or filter first and export what you see.

Download for MacOS