How to use HTML Entity Encoder & Decoder — Escape HTML Online
- 1Choose the scheme you need, then encode or decode.
- 2Paste your text into the left-hand box.
- 3The converted result appears on the right — copy it, or press Swap to send it back through the other way.
About HTML Entity Encoder
If you have ever tried to show an HTML example on a web page and watched the browser render it instead of printing it, entity encoding is the fix. Replacing the five reserved characters with their entity forms makes the browser treat them as ordinary text.
Order matters when doing this by hand, which is a classic source of double-escaped output like <. The ampersand must be replaced first, because every other entity introduces one; get the order wrong and you escape your own escapes.
Decoding runs the other way, turning   and friends back into real characters — useful when content arrives from a CMS or an RSS feed already escaped, sometimes twice over.