UWTools
Developer Tools

SQL Formatter

Make common SQL statements easier to read.

0Input chars
0Output chars
0Output lines
Formatted SQL will appear here.

Paste SQL to begin.

Formatting scope

This tool handles common clauses such as SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, HAVING and LIMIT.

Limitations

It is a lightweight browser formatter, not a full SQL parser. Complex vendor-specific syntax may require a dedicated SQL formatter.