CSV utility

Generate PostgreSQL INSERT from CSV.

Create SQL text locally in your browser. No database connection or execution.

01
Upload
Select a file or drag it into the upload area
Drop a file here
or browse files from your device
.CSV Maximum 25 MiB
02
Configure
Choose your settings before processing

The target table and columns must already exist. The first CSV record supplies case-sensitive quoted column names. Every cell becomes a text literal; an empty cell is an empty string, not NULL. The destination column type determines whether PostgreSQL accepts a value. Review the generated script before using it.

Files stay in your browser. UTF-8 input maximum: 25 MiB; up to 250,000 records, 1,000 columns, and 2,000,000 cells; output SQL maximum: 16 Mi characters. Table and schema names must be simple ASCII identifiers of at most 63 characters. CSV column names may use Unicode but must fit within 63 UTF-8 bytes.