NiceSQL is a very simple app to format your SQL into a human readable format. You can also use it to print your SQL if you require. If you have an app or webapp (e.g Ruby on Rails App using ActiveRecord) with generates SQL which can be in an unreadable format then NiceSQL can make that readable.
WARNING - This app requires an internet connection to do its formatting. If you do not have an internet connection you will receive and error.
1. In future versions i plan to re-write the SQL formatting to run locally.
2. Expose the functionality though Services so any text editor can make use of the formatting.