Developer

SQL Formatter

Format common SQL keywords onto readable query lines.

All tools

SQL

Output

SELECT ID,NAME 
FROM TOOLS 
WHERE CATEGORY='developer' 
ORDER BY NAME

Frequently asked questions

Will formatting break my SQL query?
No, a proper formatter only changes whitespace and case around keywords - the parsed query stays identical. The result is purely a readability change, safe to paste back into your client or migration file.
Should SQL keywords be uppercase or lowercase?
Both are syntactically valid because SQL keywords are case-insensitive. Uppercase keywords with lowercase identifiers is the most common house style because it visually separates language from schema.
Does the formatter understand vendor-specific syntax like PL/pgSQL or T-SQL?
Generic formatters target the ANSI core and common dialect keywords, but procedural blocks, window function extensions, and vendor hints may not always be perfectly indented. Review complex stored procedure output before committing.