SQL Formatter

Online SQL Format helps you to format your query with proper indent

http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm