Utility workspace

HTML Entity Encoder/Decoder - My Tools

Encode and decode special HTML characters as entities online.

HTML Entity Encoder/Decoder

How to use

  • Enter characters or entity strings to display safely in HTML.
  • <, >, &: Click Encode to convert characters like these into entities.
  • &lt;, &amp;: Click Decode to convert entities like these back into characters.
  • Review and copy the converted content in the result area.

What are HTML entities?

HTML entities represent special characters as code so browsers can display them safely.

For example, special characters and quotation marks have a special meaning in HTML documents; converting them to entities prevents them from being interpreted as tags or attributes and displays them as written.