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?

  1. Fill in or select the input.
  2. Click to run and check the results.
  3. You can copy the text or download the results into a file.

How it works and example

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

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

Input limits

Search tools