SQL Formatter

Formats a SQL string with your desired indentation level. The formatting rules are not configurable. The indentation logic uses that of Hibernate. The formatter DOES NOT validate the SQL and it will still format invalid SQL statements.

Option 1: Copy-paste your SQL document here
Option 2: Or type in the URL to your SQL file
Indentation level:
Force output to new window: