SQL Dialect Formatter
βοΈ
π
Dialect
Auto-detect
Azure Synapse
Amazon Redshift
AWS Athena
Databricks
BigQuery
Snowflake
PostgreSQL
MySQL
SQL Server
Spark SQL
Generic SQL
Commas
Trailing col,
Leading ,col
Indent
2 spaces
4 spaces
6 spaces
Format SQL
Load sample
Clear
Input SQL
Unformatted
1
Formatted output
Copy
Waiting
1
Click "Format SQL" to see the resultβ¦
!
Dialect compatibility
β
Lines before
β
Lines after
β
Clauses
β
Subqueries / CTEs