EN-US
Status: All systems normal
TOOL
KIT
All Tools
Password
JWT
JSON
Regex
Hash
⌘K
Browse tools
Home
/
Tools
/
SQL Formatter
FORMATTER · SQL
SQL Formatter
Pretty-print SQL with keyword casing, multi-dialect support, and configurable indentation.
Dialect
sql
postgresql
mysql
sqlite
bigquery
mariadb
redshift
snowflake
tsql
Indent
2 sp
4 sp
Format
Input
select u.id, u.name, count(o.id) as orders from users u left join orders o on o.user_id = u.id where u.created_at > '2024-01-01' group by u.id, u.name order by orders desc limit 50;
Output
Copy