SQL Server Formatter
Paste unformatted T-SQL and get back a consistently formatted query — with trailing/leading comma styles, and a scan for hidden Unicode characters that don't show up under normal UTF-8 rendering. Everything runs in your browser.
Hidden & special characters found
These don't usually show up under normal UTF-8 rendering and can silently break SQL — smart quotes end string literals early, a non-breaking space isn't whitespace to the parser, and bidirectional control characters can make code visually lie about what it does.
| Line | Col | Character | Codepoint | Context |
|---|
Formatted SQL