SQL Formatter
Format and beautify SQL queries with dialect support
Input SQL
Formatted SQL
About SQL Formatter
This tool formats and beautifies SQL queries to make them more readable. All processing is done in your browser - your SQL is never sent to any server.
Supported Dialects:
- Standard SQL: Generic SQL formatting
- MySQL / MariaDB: MySQL-specific syntax and functions
- PostgreSQL: PostgreSQL-specific syntax
- SQLite: SQLite-specific syntax
- T-SQL: Microsoft SQL Server syntax
- PL/SQL: Oracle Database syntax