Paste SQL
Tidies SQL in your browser with indentation and line breaks. Keywords are uppercased and placed on their own lines. Strings and comments are left as they are. This tool does not run the statement.
This is a text formatter, not a query engine. Vendor dialects or incomplete snippets may not format perfectly.
Formatted SQL
—