Dialect
Standard SQL
MySQL
MariaDB
PostgreSQL
SQL Server (T-SQL)
Oracle PL/SQL
SQLite
Google BigQuery
Snowflake
Amazon Redshift
DuckDB
ClickHouse
Spark SQL
Hive
Trino / Presto
IBM Db2
SingleStore
TiDB
Keywords
UPPER
lower
As typed
Indent
2 spaces
4 spaces
Tab
AND/OR at line start
Align columns
Open .sql
Load sample
Clear
Input SQL
Formatted SQL
⇅ Use as input
Download
Copy
SQL Formatter by
curlybits