SQL Formatter

Format SELECT, INSERT, UPDATE, and common clauses so queries are easier to read in reviews and runbooks.

SQL is formatted locally and is not sent to a database or API.

How to use

  1. Paste a SQL statement.
  2. Select Format.
  3. Copy the indented query into your editor.

FAQ

Which SQL dialect is supported?

The formatter is dialect-agnostic and focuses on readability. It does not execute SQL.

Are queries sent to a database?

No. Formatting is local. Never paste credentials inside SQL comments on shared machines.

Related tools

Guides: developer guides, service enquiry.