Advanced SQL Formatter
Beautify unreadable, minified SQL queries into cleanly formatted, standardized code.
SQL Input
Formatted Output
Dialect:
About this SQL Formatter
Whether you are debugging complex reporting queries, migrating databases, or simply cleaning up messy code copied from an ORM log, a robust SQL formatter saves hours of manual indentation.
This formatting tool uses the acclaimed sql-formatter engine to guarantee correct parsing and styling for over 10 different SQL dialects. All processing happens firmly inside your browser, so your proprietary queries and schema logic are never uploaded or logged to an external server.
Supported Dialects
- Standard SQL
- PostgreSQL
- MySQL & MariaDB
- SQLite
- AWS Redshift
- Spark SQL