MySQL2Code

An easy tool to convert your MySQL database tables into class objects

Convert your table definition into a class object in one or two clicks

  1. Paste your table definition into the text field below
  2. (optional) Clik Read definitions to read table definitions and override data types and select which tables and columns to exclude
  3. Choose an output language and modify the associated options if necessary
  4. Click Generate classes to get your results

MySQL Create statement(s)

Table definitions

Output options

Language

Package name

Connection type

Global connection variable name

$

Nullability annotation

Fields access modifier

Files