csv → sql schema

Schema Generator

Paste a CSV and get a CREATE TABLE statement for Postgres, MySQL, and DuckDB — column types, nullability, and a primary key inferred from your data.

Runs fully in your browser · nothing is uploaded anywhere
data.csv
Detected columns
Paste CSV above to detect columns.
Waiting for input…0 chars
output
Paste a CSV and click Generate to build a schema.

How it works

Advertisement