HTML Encoder/Decoder Online - Free HTML encoder and decoder for HTML entities.

Free online HTML encoder and decoder. Convert special characters to HTML entities and decode them back instantly.

Characters: 0
Output

How to Use HTML Encoder/Decoder

  1. 1Toggle between "Encode" or "Decode" mode.
  2. 2Paste your text or HTML entities into the input area.
  3. 3The conversion happens instantly as you type.
  4. 4Swap input/output or copy the result.

Frequently Asked Questions

What does HTML encoding do?
HTML encoding converts special characters like <, >, &, " and ' into their HTML entity equivalents (e.g., &lt;, &gt;, &amp;) so they display correctly in browsers without being interpreted as HTML markup.
Is HTML encoding the same as URL encoding?
No. HTML encoding replaces characters with HTML entities like &amp;. URL encoding replaces characters with percent-encoded values like %26. They serve different purposes and are used in different contexts.
Can I decode numeric entities?
Yes. The decoder handles both named entities (&amp;) and numeric entities (&#38; or &#x26;) and converts them back to their original characters.
Found a bug or have a suggestion? Report it on GitHub

Learn More