Every Drawer
All tools

SQL Formatter

Lay out SQL with line breaks and indents, tuned for Postgres, MySQL, SQLite, SQL Server, BigQuery or Snowflake.

How it works

Lay out SQL with line breaks and indents, tuned for Postgres, MySQL, SQLite, SQL Server, BigQuery or Snowflake.

  1. Paste your SQL in the box.
  2. Pick a Database and Command words style.
  3. Press Copy or Save.

Good to know

What if my SQL has an error?

The formatter points to the line and character where it can’t read the SQL.

More like this