Today, I am going to introduce some of tools available for SQL Server formatting.
The list is not in order of any preferences, but just the way it is. Explore and use as your choice.
1. Format SQL – https://format-sql.com/
2. Instant SQL Formatter – http://www.dpriver.com/pp/sqlformat.htm
3. SQL Prompt from redgate – http://www.red-gate.com/products/sql-development/sql-prompt/
4. SQLinForm – http://www.sqlinform.com/
5. SQL Formatter – http://www.sql-format.com/
6. SQL beautifier – https://sourceforge.net/projects/fsqlf/
You may comment if you are using any other tools of your choice.