Online tool: http://www.dpriver.com/pp/sqlformat.htm
Really easy and fast!
There is a desktop version of this sql formatter, the desktop version has more features, and it’s faster and earier to use. There is also an Add-On version for Visual Studio and an Add-On for SQL Server Management Studio.
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.