🛠️ DevTools Hub
Jump to tool...
JSON Formatter
SQL Formatter
HTML Beautifier
CSS/JS Minifier
Home
›
Formatters
›
SQL Formatter
📝 SQL Formatter
Format and beautify SQL queries. Supports multiple SQL dialects.
SQL Query
SELECT users.id, users.name, orders.total FROM users INNER JOIN orders ON users.id = orders.user_id WHERE orders.total > 100 AND users.status = 'active' ORDER BY orders.total DESC LIMIT 10
Dialect:
Standard SQL
MySQL
PostgreSQL
SQL Server (T-SQL)
Oracle PL/SQL
SQLite
MariaDB
BigQuery
Redshift
Indent:
2 spaces
4 spaces
Tab
Case:
UPPERCASE
lowercase
Preserve
Format SQL
Minify
Copy
Clear
Formatted SQL