A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
If you just want to do it quickly, why not utilize the RedGate Page?
https://www.red-gate.com/website/sql-formatter
Otherwise they have the formatter in their tool SQLPrompt as well, but it is not for free.
Other way to do it:
Visual Studio Code
Afaik there's also the option to format code.
But since you want to establish a standard ( I Really should start reading first all information before answering... :-) )
it is easier to go for an appropriate tool.
ApexSQL is another one where you can also define how T-SQL code should look like.
Regards
Dirk