SQL to Code
Convert SQL CREATE TABLE to Go Structs or Java Entities.
Frequently asked questions
What input does it expect?
A SQL CREATE TABLE statement. It reads the column names and types and generates matching Go structs or Java entity classes, mapping SQL types to sensible language types.
How are SQL types mapped?
Common types are mapped conventionally — INT to int/Integer, VARCHAR/TEXT to string/String, BOOLEAN to bool/Boolean, TIMESTAMP to a time type — so the generated model lines up with the table.
Does it run locally?
Yes. Your schema is parsed in the browser and nothing is sent to a server.