Sổ Tay AI
📜

HTML Entities Encode / Decode

Encode special characters to HTML entities (<, &, ©...) and decode them back. Reference table included. Runs 100% in your browser.

All tools

HTML encoding lets special characters (< > &) display as text instead of being parsed as tags. Useful when pasting code/AI output into HTML, or previewing in a blog.

Common entities reference

Char Named Numeric Description
< &lt; &#60; Less than
> &gt; &#62; Greater than
& &amp; &#38; Ampersand
" &quot; &#34; Double quote
' &apos; &#39; Apostrophe
© &copy; &#169; Copyright
® &reg; &#174; Registered
&trade; &#8482; Trademark
&euro; &#8364; Euro
£ &pound; &#163; Pound
¥ &yen; &#165; Yen
° &deg; &#176; Degree
± &plusmn; &#177; Plus-minus
× &times; &#215; Multiplication
÷ &divide; &#247; Division
&rarr; &#8594; Right arrow
&larr; &#8592; Left arrow
  &nbsp; &#160; Non-breaking space

When you need HTML encoding

Three entity formats

Tips

Related

Related tools

See all tools →