Skip to content

SQL formatter

Lay out SQL with line breaks, indentation and tidy keywords. It formats your query, it does not check that it is correct.

Sql

This is a formatter, not a validator. It tidies how your SQL looks. It does not run the query or check that it is correct, and it does not know every database’s own extras, so unusual SQL may be laid out plainly.

Layout
Keywords
Indent
Paste it, or open a .sql file