Here
http://www.sqlinform.com/
you can find an online SQL formatter with text highlight.
Now there is even a semi-free (Postcard-ware) downloadable desktop edition.
I find SQLinForm a really useful tool when looking at SQL generated by LLBLGen Pro (especially when I need to check some nested query