TopDev
📜

HTML Entities Encode / Decode

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

All tools Browser-only

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

Who this is for

Content writers, editors, SEO specialists, devs handling text/markdown — URL slugs, char counts, regex testing, SQL formatting.

FAQ

Does this support Vietnamese diacritics?

Yes. All text tools fully support Vietnamese Unicode, including modern diacritic rules.

Is my pasted text saved?

No. Text only exists in the current tab. Refresh or close = gone. TopDev stores nothing.

Related tools

See all tools →