HTML Entity Converter

Convert special characters to HTML entities and back, with named, decimal, and hexadecimal reference support.

Common Entities
Input
Output
The result will appear here.

Encoding escapes reserved characters like <, >, and & so they render safely as text instead of being parsed as HTML.

Supports named references (&amp;), decimal (&#38;), and hexadecimal (&#x26;) numeric references.

All conversion runs locally in your browser; nothing is sent to external servers.