EverSQL Formatter is a free online formatter for SQL statements.
The formatter will beautify any SQL query while adding spaces, tabs and newlines wherever needed. Try it out to pretty print your SQL query.
Disclaimer: EverSQL Formatter doesn't require any access to your database. Please be assured that your queries and data are safe with us.