SQL Query Formatter

Format messy SQL queries with proper indentation and keyword casing — 100% client-side.

Input SQL
Formatted Output

          
Ready — paste SQL and click Format