HTML Encode Decode

HTML Encode Decode

html-encode-decode

HTML Encode/Decode Tool

Encode special characters to HTML entities or decode HTML entities back to regular characters.

Original Length: 0 chars
Processed Length: 0 chars
Entities Changed: 0

ℹ️ HTML Encoding Guide

Encoding Options Explained:

  • Encode Special Chars: Converts only <, >, &, ", ' to entities
  • Encode All Chars: Converts all non-ASCII characters to entities
  • Decode: Converts HTML entities back to regular characters

Entity Types:

  • Named: &lt; &gt; &amp; (human-readable)
  • Decimal: &#60; &#62; &#38; (numeric)
  • Hexadecimal: &#x3C; &#x3E; &#x26; (hex codes)
Input Settings Output
<div>Hello</div> Encode, Named &lt;div&gt;Hello&lt;/div&gt;
© 2023 Encode All, Decimal &#169; 2023
&#x263A; Smile Decode ☺ Smile

Note: Encoding all characters will significantly increase text size. Use only when necessary.