← All tools

DEVELOPER TOOL

SQL Formatter

Format SQL with readable clause breaks, adjustable indentation, and keyword casing.

Your formatted SQL will appear here.

Formatting runs in your browser. Strings, quoted identifiers, comments, parameters, and bracketed identifiers are kept separate from keyword formatting. This is a lightweight formatter, not a dialect-specific SQL parser or validator.

This lightweight formatter does not validate SQL semantics, resolve vendor extensions, or guarantee execution-safe rewriting. Review advanced dialect syntax and stored procedure bodies before use.

SQL is formatted locally in your browser and is not uploaded.

How to use SQL Formatter

  1. Paste SQL into the input panel.
  2. Choose indentation and keyword casing.
  3. Select Format SQL, then copy or edit the result.

Does formatting change identifiers or quoted values?

The formatter leaves unknown identifiers, quoted strings, comments, bracketed identifiers, and parameters separate from SQL keyword casing.

Does it support all SQL dialects?

It is designed for common SQL patterns and is not a complete parser for every dialect or vendor-specific syntax.

Is my SQL uploaded?

No. Formatting happens locally in your browser.