SQL Formatter
Format SQL queries for better readability.
Indent:
Input SQL
Formatted SQL
Why Format SQL?
Properly formatted SQL queries are easier to read, debug, and maintain, especially for complex queries with multiple JOINs and subqueries.
Features
- Automatic keyword uppercasing
- Proper indentation for nested queries
- Line breaks at logical points
- Supports all major SQL statements