Your data is never sent to a server or stored anywhere. All processing happens in your browser.

HTML Entity Encoder / Decoder

Mode
Output

How to Use


Type or paste text into the input area. In Encode mode, special HTML characters (&, <, >, ", ') are converted to their entity equivalents. In Decode mode, HTML entities are converted back to their original characters. Supports named entities (&amp;, &lt;, &copy;), decimal (&#65;), and hexadecimal (&#x41;) numeric references.

HTML Entities


HTML entities are special codes used to represent characters that have meaning in HTML markup. For example, < and > define HTML tags, so to display these characters as text, you must use &lt; and &gt;. The ampersand (&) starts every entity, so it must be written as &amp;. Entities are essential for preventing XSS vulnerabilities and ensuring HTML renders correctly.

Privacy


All encoding and decoding happens entirely in your browser. No data is sent to a server, stored, or logged. You can safely encode HTML containing sensitive content.

© 2026 Orankit