Escape Source Code for HTML

This tool escapes the source code to produce HTML code you can paste into a blog or an HTML page.

Why bother, when gist and a number of good code coloring extensions exist? After using both, I realized it's better not to have dependencies on code. Addtionally, I think that wrapping code in the CODE tag may get it indexed as code.

Wrap the code with <pre><code>.
Lite Escape (only escape < and &, ignoring other characters).