About this tool
Format SQL queries locally
This SQL formatter uses a self-hosted browser formatter so your queries stay on the page. It is useful for cleaning up generated SQL, analytics queries, migrations, and pasted logs.
Supported inputs and outputs
Standard SQL plus common dialect options including PostgreSQL, MySQL, BigQuery, SQLite, Spark, and T-SQL.
Privacy note
SQL Formatter runs in your browser. DataZier does not upload your pasted text or selected files for processing.