HTML Entity Decoder
Encode and decode HTML entities instantly. Convert between special characters and entity references. All processing in your browser.
Statistics
How to Use HTML Entity Decoder
Choose mode
Select Encode to convert characters to entities, or Decode to convert entities back to characters.
Enter your text
Paste or type the text containing HTML entities or raw characters.
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 & for &, < for <, > for >, " for "
Decimal Numeric
Use decimal code points like & for &, < for <
Hexadecimal Numeric
Use hex code points like & for &, < for <
Frequently Asked Questions
Named entities use readable names like & for &. Numeric entities use decimal (&) or hexadecimal (&) code points. Both represent the same character.
Yes, the tool supports all standard HTML5 named character references including ©, €, —, and hundreds more.
Use entity encoding when embedding text in HTML that contains characters like <, >, &, or quotes that could be interpreted as markup.