Back

SQL formatter

Formatters

Loading

Loading tool

Preparing the tool. The remaining time is not yet known.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

Lay out SQL clauses and expressions with readable line breaks and indentation.

Common uses

  • Lay out SQL clauses and expressions with readable line breaks and indentation.
  • Paste the SQL statement to format.

How to use it

  1. 1.Paste the SQL statement to format.
  2. 2.Select indentation, format, and copy the resulting SQL.

Limits and notes

  • This does not execute SQL or validate a database schema. Unclosed quotes/comments and unbalanced parentheses fail.

Frequently asked questions

What does this tool do?

Lay out SQL clauses and expressions with readable line breaks and indentation.

What should I check before using the result?

This does not execute SQL or validate a database schema. Unclosed quotes/comments and unbalanced parentheses fail.

Related tools