SQL Formatter
Format and validate SQL and SOQL queries as expanded, compact, or minified output, with configurable keyword case.
The problem it solves
Queries pulled from logs, ORMs, or Salesforce debug output are hard to read, and they often contain real table names and data you shouldn’t paste online.
Included in the app for
- macOS
- Windows
- Linux
Features
SOQL support #
Salesforce SOQL is formatted too, with child relationship subqueries indented as nested blocks.
Expanded, compact, or minified #
Pick the layout that suits a code review, a log line, or a string literal.
Keyword case #
Write keywords in the case your team uses.
Validation #
Queries are checked as you type, and errors are reported before you copy.