Dialect selection is required
The formatter never auto-detects a database. The same source can be valid with different meaning across engines, so the selected grammar is part of the result.
Validate the selected dialect, then apply readable whitespace and keyword casing without executing the statement.
Inputs stay in this browser tab. Parser-heavy work uses a tighter 256 KiB safety cap.
No result is placed in a URL, account, API, or remote log.
Bounded, explicit-dialect processing
Formatting is a presentation task, not a query-safety or correctness proof. Select the dialect explicitly because keywords, quoting, functions, and statement grammar differ.
The formatter never auto-detects a database. The same source can be valid with different meaning across engines, so the selected grammar is part of the result.
Syntax is checked with a dialect parser before formatting. Formatting does not inspect a schema, optimize a plan, resolve names, or prove that a statement is safe to run.
The parser runs locally under byte, statement, AST-node, depth, row, column, diagnostic, and output limits. It never connects to a database or resolves files and URLs.