Convert SQL CREATE TABLE statements to struct definitions
Runs locally · Nothing uploaded
Quickly convert SQL CREATE TABLE statements into Go, TypeScript, or Rust struct code. The tool automatically detects field types, primary key constraints, and comments, generating ready-to-use type definitions so you can skip the manual work.
MySQL, PostgreSQL, and SQLite common data types are supported, automatically mapped to the corresponding language base types.
Yes, COMMENT content from SQL is extracted and converted to code comments in the target language for easier maintenance.
Currently one table per conversion. For batch processing, paste and convert each table separately.