Utilify

SQL Formatter

Format SQL queries with consistent indentation and keyword casing. Supports MySQL, PostgreSQL, and standard SQL.

How to use SQL Formatter

  1. 1
    Paste SQL

    Paste the query you want to format.

  2. 2
    Click Format

    Indented, uppercased-keyword SQL appears in the output pane.

Frequently asked questions

Which SQL dialects are supported?+

Standard SQL, MySQL, PostgreSQL, SQLite, MS SQL, and BigQuery.

Can I lowercase keywords?+

Yes — use the case toggle to switch between upper and lower.

Related tools

From the blog