SQL Formatter

Format and beautify your SQL queries instantly

Formatting Options

Auto-format as you type (with 500ms delay)

Input SQL

Formatted SQL

No formatted output yet

Enter SQL and click "Format SQL" to see the result

Press Ctrl + Enter to format