Skip to content
Input
SQL
Dialects
4 explicit
Runtime
Browser

Convert a narrow CREATE TABLE subset to JSON

Extract tables, ordinary columns, primary-key flags, nullability, and declared foreign keys from supported DDL.

Local processingNo sign-upNever executed

Convert DDL to JSON

Inputs stay in this browser tab. Parser-heavy work uses a tighter 256 KiB safety cap.

Schema JSON

No result is placed in a URL, account, API, or remote log.

What this tool does

Bounded, explicit-dialect processing

DDL varies widely between engines. This converter owns a narrow CREATE TABLE subset and fails visibly on CREATE TABLE AS, unknown definitions, and unsupported constraints.

The JSON is a review model

The result records selected parsed declarations. It is not a complete database catalog, migration, or reversible dump.

Unsupported definitions are not guessed

Generated columns, checks, table options, vendor extensions, and unknown parser shapes are rejected when they fall outside the owned subset.

The parser runs locally under byte, statement, AST-node, depth, row, column, diagnostic, and output limits. It never connects to a database or resolves files and URLs.

Primary references

Questions and answers

Related SQL tools