DevBench
Tools
Diagrams
DataWeaver
Pricing
Tools
…
Free tool
SQL Formatter
Format and beautify SQL queries for readability.
SQL 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.active = true group by u.id, u.name order by orders desc limit 20
Format SQL
Formatted output