All Tools
SQL Formatter
Format and beautify SQL queries
Dialect:
SQL (default)
MySQL
PostgreSQL
MariaDB
BigQuery
DB2
Hive
PL/SQL
Spark
StandardSQL
Indent:
2 spaces
4 spaces
Tab
Format
Minify
Clear
Input SQL
SELECT id,name,email FROM users WHERE status='active' ORDER BY id DESC;
Formatted Output