DevConvertor
Encoding & Decoding Tools

HTML Encoder

Encode text into HTML entities (&amp;, &lt;, &gt;, and more, in named or numeric form) or decode entities back to text — built without ever touching the DOM, so decoded markup like <script> tags stays inert text in both directions. Not the same thing as URL encoding.

HTML entity encoding is not the same thing as URL encoding — this escapes characters that are special in HTML markup (<, >, &, quotes), not characters that are special in a URL.

Features

  • Encode with named (&amp;) or numeric (&#38;) entities
  • Decode entities back to text
  • Input and output are always shown as plain text, never rendered

How to use

  1. Choose Encode or Decode.
  2. Paste your text or HTML.
  3. Copy the result.

FAQ

Is this the same as URL encoding?
No. HTML entity encoding escapes characters that are special in HTML markup — &, <, >, and quotes. URL encoding (see the URL Encoder tool) escapes characters that are special in a URL. They solve different problems.
Does decoding execute any scripts in the input?
Never — decoding here is pure text substitution with no DOM involved, so a decoded <script> tag stays inert text, not executable markup.