SQL formatter

Lays out SQL queries readably: clauses on their own lines, consistent indentation and keyword case. Knows the syntax of PostgreSQL, MySQL, SQLite, SQL Server, Oracle, BigQuery and more.

In
SQL
Out
SQL
Options
Input · SQL
Output · SQL

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

Why choose a dialect?

Dialects quote names differently (`backticks`, [brackets], "quotes") and have their own keywords and parameters. With the right one, nothing is split in the wrong place.

Is the query executed or sent anywhere?

No. It is only formatted, in this tab.

↑ ↓ move · Enter open · Esc close