HTML Entity Decoder

Encode and decode HTML entities instantly. Convert between special characters and entity references. All processing in your browser.

Instant Conversion Encode & Decode Client-Side Processing

How to Use HTML Entity Decoder

1

Choose mode

Select Encode to convert characters to entities, or Decode to convert entities back to characters.

2

Enter your text

Paste or type the text containing HTML entities or raw characters.

3

Get result

The converted result appears instantly. Copy it with one click.

What are HTML Entities?

HTML entities are special codes used to represent characters that have special meaning in HTML (like <, >, &) or characters that cannot be easily typed. They use the format &name; or &#number; or &#xhex;.

Types of HTML Entities

Named Entities

Use readable names like &amp; for &, &lt; for <, &gt; for >, &quot; for "

Decimal Numeric

Use decimal code points like &#38; for &, &#60; for <

Hexadecimal Numeric

Use hex code points like &#x26; for &, &#x3C; for <

Frequently Asked Questions

What is the difference between named and numeric entities?

Named entities use readable names like &amp; for &. Numeric entities use decimal (&#38;) or hexadecimal (&#x26;) code points. Both represent the same character.

Does the tool handle all HTML5 named entities?

Yes, the tool supports all standard HTML5 named character references including &copy;, &euro;, &mdash;, and hundreds more.

When should I use HTML entity encoding?

Use entity encoding when embedding text in HTML that contains characters like <, >, &, or quotes that could be interpreted as markup.