SQL Formatter

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Format SQL according to the selected SQL dialect. The tool changes only the layout and never executes the query.

Result

     

Loading the tool…

How to use SQL Formatter

How do I use it?

Input
  • SQL
Settings
  • SQL dialect
  • Keyword
  • Indent
Run
Convert

How it works and examples

The level of sELECT, FROM, WERERE can be ranked from records where id = 7.

Format statements and indentation for the selected SQL dialect. The query is not executed.

Input limits

Search tools