Rename table - Online SQL Generator

Form for generating SQL query for MySQL

This form allows you to generate sql for rename table:

Your generated sql can be seen below.

Result of sql generation

Move to «Paste Code» for Save it

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.


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