Rename table - Online MySQL Generator

Form for generating MySQL query

This form allows you to generate sql for rename table:

Your generated sql can be seen below.

Result of sql generation

Press F11 to switch to fullscreen mode
Move to "Paste Code" for Save

About "Rename table MySQL generator"

About this tool

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

How it Works?

Just enter your "Old Table Name" and "New Table Name" to the input above then click to the button "Generate" and you will get your MySQL query.


Make sure you have admin privilege before renaming any tables. Once a table is renamed, you can check it in the list of tables with the following SQL command: SHOW TABLES;


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