SQL DDL Parser
Reads CREATE TABLE statements and lists every column with its type, nullability, key role and default.
Loading the tool…
How to use this tool
- Paste one or more CREATE TABLE statements.
- Select Parse DDL to see every column with its type, nullability and key role.
- Download the table as CSV, or switch to the data dictionary output.
What sql ddl parser does
A DDL parser turns CREATE TABLE statements into a structured list: one row per column, with the declared type, whether nulls are allowed, whether the column is part of a key, and any default. It is the quickest way to answer "what is actually in this schema" when all you have been given is a script.
What comes out is exactly what the DDL declares, and no more. Table-level PRIMARY KEY and FOREIGN KEY constraints are promoted onto the columns they name, but a relationship that exists only in application code, or a type that is really an enum enforced elsewhere, cannot appear here because it is not in the text. Statements the parser does not recognise are skipped rather than failing the whole script.