SQL Formatter A tool to format SQL statements.

2 Input Paste below OR OR OR 0


3 Parameters
4 Function
5 Output 0

What is SQL Formatter ?

  • SQL Formatter is designed to format the input SQL document for improving the readability(Pretty Print) of the SQL document.

Using the SQL Formatter Tool

Using this tool very straightforward, simply provide the SQL document (data) you like to convert format the SQL document formatted with the press off a button.

Formatting a SQL Document

  • The SQL document can be provided in using any of the following ways:
    1. Paste the contents of the SQL document.
    2. Upload the SQL document from a file located in your computer.
    3. Load the SQL data from a remote location, specify the URL.
    4. For loading the test SQL document as input, press the "Load Sample" button.
  • For indentation, further select whether you like choose 2,3 or 4 spaces or like to use tab for indentation to align SQL nodes at each level.
  • Click the "Format" button to format the input SQL instantly.
  • That's it, simply download the encoded data "Download as File" to download or press on the "Copy to Clipboard" button.


  • Make sure that the SQL Document is valid so that formatting is done correctly.
  • Press "Reset" button select all the default tool options and clear the input.

Loading Please Wait...