convert < and > to &gt; and &lt;



enter markup:   converted to character entities:
char entities
--->
<---
markup

retain formatting ?


The conversion works both ways. you can enter html markup using < and > characters in the left field, and then click "convert to character entities" to convert each < and > character into literal &lt; and &gt; character entities. or vice versa. this ought to be of use whenever one wishes to illustrate sample html code within an html document (tutorials, website documentation, etc.).

The algorithm will only replace correctly nested markup. so if a > character comes before a < character, neither will be converted. this also calls attention to any missing < or > characters in the original markup.




Back To Main Page



info@capleswebdev.com