Create table - Online SQL Generator

Form for generating SQL query for MySQL


This form allows you to generate sql for create table:

NameTypeLengthAllow NullCustomAction

NameFieldsIndex TypeIndex MethodAction

Your generated sql can be seen below.

Beta - It means that some of the functionality may not work correctly or the sql query will be generated with an syntax error. You execute queries at your own risk.

Result of sql generation

Move to «Paste Code» for Save it

About "Create table MySQL generator"

About this tool

The Generator of MySQL Tables was created to help with generating MySQL query for "Create Table". No need to remember syntax and type required data, now you can easily generate an MySQL query online.

How it Works?

After entering in the table name, the tool allows the user to enter the following information for each column of the table and add indexes.


Generator may contain errors, You execute queries at your own risk.


Did you like this tool? You can donate to us. This will help us improve our free web tools.