📊 SQL formatting tool
SELECT example
JOIN example
Subquery example
INSERT example
UPDATE example
CREATE example
Enter SQL
SELECT u.id, u.name, u.email, o.order_id, o.total_amount FROM users u INNER JOIN orders o ON u.id = o.user_id WHERE u.status = 'active' AND o.created_at >= '2024-01-01' ORDER BY o.total_amount DESC LIMIT 100;
Formatted results
Keyword case
Uppercase
lowercase
Capitalize the first letter
Number of indent spaces
Wrap each clause
📋 Copy result
Compressed SQL
Clear
Tools
About
Privacy
Feedback
Guides