Tools
SQL & KQL Formatter
SQL & KQL Formatter
Format, beautify, and minify your T-SQL and Kusto (KQL) queries. Everything runs in your browser — nothing is sent to a server.
Formatted query will appear here...
Client-side only
Your queries never leave your browser. All formatting is performed locally using JavaScript.
Multiple dialects
Supports T-SQL, Standard SQL, PL/SQL, MySQL, PostgreSQL, and KQL (Kusto Query Language).
Configurable output
Choose your indent width, keyword casing, and switch between formatted and minified output.