Skip to content
empinet.dev
Code

SQL Formatter

Format SQL queries with readable indentation and uppercase keywords for common database dialects.

SQL formatter

SQL input
Formatted SQL

Review complex queries

Consistent line breaks make joins, conditions, subqueries, and selected columns easier to inspect during debugging and code review.

Formatting does not execute SQL

The formatter only rewrites whitespace and keyword casing. It does not connect to a database or validate tables and columns.