SQL TO JSON SCHEMA

SQL to JSON Schema, convert DDL in one click.

SQL to JSON Schema: turn CREATE TABLE statements into JSON Schema and TypeScript type definitions, with multi-table parsing. Free online, runs locally in your browser, nothing uploaded.

How to use?

Paste one or more CREATE TABLE statements above, choose JSON Schema, TypeScript types or both, then click "Convert" to generate the matching structure per column type, with multi-table and NOT NULL support.

FAQ

Is it safe? Are my data uploaded?

Everything runs locally in your browser. Nothing is uploaded.

Which devices are supported?

Any modern browser (phone, tablet, desktop). No install needed.

Further reading

觉得好用?Found it useful?