Skip to main content

SQL CREATE TABLE to TypeScript

Generate TypeScript row interfaces from a supported SQL CREATE TABLE subset. Input stays in your browser; type mappings are approximate and the tool does not validate a database schema.

Supports common CREATE TABLE columns and constraints; unsupported syntax is rejected. Generates row-shape suggestions, not insert or update types. Input stays in your browser and is limited to 50,000 UTF-16 code units. Press Ctrl+Enter or Command+Enter to generate.

SQL type mappings are approximate. Driver values for bigint, decimal, date/time, JSON, and binary columns may differ; review before use.

Was this tool helpful?