This tool allows you to format your C#, VB, HTML, XML, T-SQL or MSH (code name Monad) code for publishing on a web site or in a blog.

The output conforms to the HTML 4.01 specification and is color-coded to make it easier to read. The colors can be changed by modifying the CSS style sheet. See a sample.

Paste your source code in the box, select your options below and press the button:

c#    vb    html/xml/aspx    t-sql    msh
line numbers    alternate line background    embed stylesheet

I wrote this to learn how to use the .NET Framework's Regular Expressions. Due to popular demand, here is the source code.


Copyright © 2015

Windows Azure