
This online utility is designed for people wanting to paste code into blogs, Wikis, forums or articles.
it takes ASCII source code and
But it can also be very handy for those t-sql statements that for some reason lost there indenting and are just one big line of text. To do so, change the default ‘Leave Alone’ to ‘Correct indenting’ when using the tool.
http://www.simple-talk.com/prettifier/default.php
- substitutes HTML entities for all non-ascii characters and HTML reserved characters
- It colour-codes the code according to the standard style
- It substitutes hard spaces for tabs
- it optionally converts all Keywords to upper case