SQL formatter

Indent a SQL query so it is easier to read.

Processed in this browser. Nothing is sent to a server.

Formatted SQL

How do I use SQL formatter?

Paste the query, choose a dialect, and run.

What are the limits of SQL formatter?

It formats the text. It does not promise a database will accept the query, and it does not connect to a server.

Related tools