SQL Formatter
Result
- Formatted querySELECT 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 = 1 and u.created_at > '2026-01-01' GROUP BY u.id, u.name ORDER BY orders desc LIMIT 20
- Lines12
- Characters205
- Keywords foundSELECT, FROM, WHERE, GROUP BY, ORDER BY, LIMIT, LEFT JOIN, JOIN
- Tablesusers, orders
Related tools
JSON formatter and validator
Paste raw JSON to indent it readably, or find out exactly where it breaks. Runs in your browser, so payloads never leave the machine.
Regex Tester
Shows every match and its position, the capture groups, and the result of a replacement.
Diff Checker
Line-by-line differences between two texts with case and whitespace options, plus a similarity percentage.