coding tips on

Online SQL Formatter/Beautifier

To use this online SQL beautifier enter the messy SQL statements into the editor on the left and choose the options in the centre console.

What is this tool?

It is a simple free solution for formatting/beautifying SQL statements online. I decided to make this tool as a way to combine all the functionality I wanted in a tool like this while keeping it ergonomic.

You can import SQL from a file on your local machine, load from a URL online or just paste it into the editor on the left.

Once you have finished formatting the SQL and you can download a .sql file copy to clipboard using the icon on the bottom right.