dev utility

SQL Formatter

Format SQL locally with dialect, keyword-case and indentation controls.

SQL formatter

Format SQL locally for review; queries are not uploaded. Choose a dialect because keyword and identifier rules differ.

How it works

Format a SQL query locally for review. Choose a dialect, keyword case and indentation; the query is never uploaded. This is a formatter, not a SQL parser or executor.

Limits

Questions

Does it execute or validate SQL?

No. It only formats text. It does not connect to a database or prove that a query is valid.

Which dialects are supported?

Standard SQL, PostgreSQL, MySQL, MariaDB, SQLite and BigQuery via the formatter library; vendor-specific syntax may vary.

Privacy

Usage measurement is off for this tool. This page makes no analytics request. Your input is not sent to a server.