HTML Entity Encoder
Encode special characters to HTML entities and decode them back.
Encode special characters to HTML entities and decode them back.
The HTML Entity Encoder and Decoder converts special characters to their HTML entity equivalents and back again. In HTML, certain characters have special meaning — angle brackets (< >) delimit tags, the ampersand (&) starts entity references, and quotation marks delimit attribute values. When you want to display these characters as literal text rather than have the browser interpret them as markup, you must escape them as HTML entities. This tool handles the full spectrum of HTML entities: reserved characters like &, <, >, and ", as well as extended character entities for accented letters, symbols, and special punctuation. The decoder reverses the process, converting entity-encoded text back to human-readable characters. Both modes are essential when working with user-generated content, email templates, or any system that transfers HTML between different contexts.
Paste your text into the input area and click Encode to convert special characters to HTML entities, or click Decode to convert entities back to plain text. The converted result appears instantly in the output box and can be copied to your clipboard with one click.