About this tool
Paste a query to reformat it with consistent keyword casing, indentation and clause breaks. Dialect-aware parsing covers PostgreSQL, MySQL, SQLite and BigQuery, so dialect-specific syntax such as PostgreSQL casts and JSON operators or MySQL backtick quoting is preserved.
Queries are formatted locally, so schema names and embedded literals from production queries stay on your machine.