Developer Tools
SQL Formatter
Format and beautify SQL queries with proper indentation and keyword uppercasing. Supports SELECT, INSERT, UPDATE, DELETE, CREATE, and more.
1 line • 187 chars
Paste SQL, keep line numbers visible, and inspect or copy the formatted query without leaving fullscreen mode.
Quick examples
Formatted SQL
SELECT u.id, u.name, SUM(o.total) AS total_revenue FROM users u INNER JOIN orders o ON u.id = o.user_id WHERE o.status = 'paid' GROUP BY u.id, u.name ORDER BY total_revenue DESC LIMIT 10;