RedX HTML encoder is a freeware application that will encode any special characters in a piece of text allowing the output to be used directly in a HTML document.
If you have a source strings like:
The output would be:
<"@">
You can also decode the special characters:
<"@">
The output would be: