Enter your input
SQL with supported quotes/comments/dollar bodies. Use Try example where available to see the expected shape.
Format surrounding SQL while preserving literals and comments.
Heuristic SQL formatting, not syntax validation or execution. Quoted values, identifiers, comments and dollar-quoted bodies are preserved as entered. Unterminated segments are rejected. Check dialect-specific syntax with your database’s formatter.
Last reviewed: · Testing methodology
Format surrounding SQL while preserving literals and comments.
SQL with supported quotes/comments/dollar bodies. Use Try example where available to see the expected shape.
Select the relevant mode or settings. Automatic tools update as you type; other tools use the labeled primary action.
Check the result against your input, then use the available copy or download action. Edits clear or recompute the result.
Protected-segment scanner and heuristic SQL formatter. Processing stays in your browser.
Inputs are processed in your browser. Analytics and advertising can make separate network requests.
Unterminated protected segments fail. Formatting does not execute SQL or certify any dialect.
Use your target editor or runtime when exact platform behavior or a broader capability is required.
Review record: 2026-08-26. See the documented behavior and limitations above, and the testing standards for the scope of review.
Testing methodology