DevelopWith
Mi
Tools
Labs
SQL Formatter
Beautify messy and minified SQL queries with proper formatting and syntax standards.
SQL Dialect
Standard SQL
MySQL
PostgreSQL
SQLite
MariaDB
Transact-SQL (T-SQL)
Keyword Case
UPPERCASE
lowercase
Preserve Original
Formatting Style
Standard Indentation
Aligned (Left)
Aligned (Right)
Raw SQL
SELECT id, name, email FROM users WHERE status = 'active' ORDER BY created_at DESC LIMIT 10;
Formatted Output
Copy
SELECT id, name, email FROM users WHERE status = 'active' ORDER BY created_at DESC LIMIT 10;