Instant SQL Formatter
Writing complex SQL queries often leads to messy, unreadable code. This tool standardizes your queries by applying proper indentation and capitalization rules.
Supported Dialects
- Standard SQL: Generic formatting for ANSI SQL.
- PostgreSQL: Specific rules for Postgres operators and types.
- MySQL / MariaDB: Handles backticks and specific syntax.
- T-SQL: Optimized for SQL Server (MSSQL).
How to use?
- Paste: Drop your raw SQL query into the left panel.
- Configure: Choose your dialect and toggle UPPERCASE keywords if desired.
- Format: Click the button to prettify the code instantly.