Format messy SQL statements into clean, readable code with customizable indentation and keyword uppercase options. Supports Standard SQL, PostgreSQL, MySQL, SQLite, and Transact-SQL.
select u.id, o.total from users u inner join orders o on o.user_id = u.id where u.active = 1 and o.total > 100;
SELECT u.id, o.total FROM users u INNER JOIN orders o ON o.user_id = u.id WHERE u.active = 1 AND o.total > 100;
Discover other in-browser tools frequently used alongside this utility.
Beautify, minify, inspect, and validate JSON data with custom indentation.
Beautify, minify, and validate XML documents with syntax error detection.
Validate JSON syntax with detailed error diagnosis and line positions.