SQL to Models
Paste CREATE TABLE statements and generate typed models for TypeScript, Python (Pydantic/SQLAlchemy), Go structs, or C# classes with correct field types and annotations.
Features
- Parse CREATE TABLE statements
- Output for TS, Python, Go, C#
- Foreign key relation mapping
- Nullable and default value handling
Frequently Asked Questions
- Which output languages are supported?
- TypeScript interfaces, Python (Pydantic and SQLAlchemy), Go structs, and C# classes.
- Does it handle foreign keys?
- Yes. Foreign key references are converted to relation annotations or typed references depending on the target language.