Encode < and & when they need to appear as literal text in HTML.
HTML Entity Encoder
Encode special HTML characters into entities, or decode entities back into normal text.
Safe HTML text conversion
Characters such as <, >, quotes and ampersands can be represented with HTML entities when embedding text in markup.
FameOrbit