Input
Output

Common HTML Entities Reference

Character Named Entity Numeric Code Description
< &lt; &#60; Less than
> &gt; &#62; Greater than
& &amp; &#38; Ampersand
" &quot; &#34; Double quote
' &apos; &#39; Apostrophe
  &nbsp; &#160; Non-breaking space
© &copy; &#169; Copyright
® &reg; &#174; Registered trademark
&trade; &#8482; Trademark
&euro; &#8364; Euro sign
Copied!

About HTML Entity Encoder / Decoder

HTML entities are codes that represent characters reserved by HTML. Encoding prevents XSS attacks and rendering bugs when inserting user content into web pages.

🛡️ Prevent XSS

Raw angle brackets allow script injection. Encoding converts them to harmless entity codes that browsers display but never execute.

⚡ Client-Side Only

All conversion happens in your browser using the DOM's built-in parser — no data is sent to any server.

📋 Reference Table

Our built-in cheat sheet lists the most common HTML entities for quick lookup without memorizing numeric codes.

© Live HTML Viewer | All Tools →