Format SQL without hiding the original
The editor updates locally as you type, keeps source and output together, and exposes statement/token/comment/parameter counts without executing the query.
Formatting boundary
Readable formatting is not syntax validation against a database dialect. Review vendor-specific procedural SQL and test the query in the intended database environment.
Before running the SQL
The SQL layer keeps transformation, generation, and inspection in the browser. Existing /SQL engines remain intact while the new inspector adds statement, table/CTE, placeholder, clause, and bounded structural-warning context.
Parser and execution boundary
WebToolArc does not connect to a database or execute these statements. The shared scanner handles common lexical structures, quoted strings/identifiers, comments, parameters, and practical references, but it is not a vendor-complete grammar, schema validator, optimizer, lineage engine, or security review. Use a real database/parser when those guarantees matter.
How to use this SQL Formatter
Keep the original SQL in the left pane, choose formatting or minification, and review the transformed query and structural metrics on the right. Ctrl/Cmd + Enter runs the transform without leaving the editor.