About this Application

This application is a online SQL formatting tool.

Basically it's a playground for a Python module to parse and format SQL statements. Sometimes it's easier to combine the available options and to see the resulting output using a web front-end than on the command line ;-)

To get started, enter a SQL statement in the text box on the top, choose some options and click on "Format SQL" (Ctrl+F) to see the result.

Note: The SQL formatter and parser is in an early stage of development. If you're looking for a mature tool, try one of these.

Using it from the Command Line

There are three ways to use this SQL formatter from the command line:

  1. Grab the sources and use the module in your Python scripts.
  2. Write a little script in your favorite language that sends a POST request to this application.
    Read the API Documentation for more information.