SQL Formatter
Processed in your browser
Input
SQL dialect
Standard SQL
PostgreSQL
MySQL
SQLite
Transact-SQL
Indentation
2 spaces
4 spaces
Keyword case
Keep original
Uppercase
Lowercase
Run tool
Clear
Copy
Download