Skip to main content

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

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.