Format SQL by putting major clauses on their own lines.
Uppercases common keywords and starts each clause on a new line, indenting AND / OR / ON. Quoted strings are left untouched. It does not change query semantics.
Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter