HTML Entities Encoder/Decoder

Encode special characters into HTML entities (e.g. <code>&lt;</code>, <code>&gt;</code>, <code>&amp;</code>) or decode entities back to readable text. Useful for sanitizing strings for display in HTML and debugging encoded content.

Result:

← Back to Home

HTML Entities Encoder and Decoder Online Tool

HTML entities (like &lt;, &gt;, &amp; and numeric entities such as &#169;) are used to represent characters that have special meaning in HTML or are outside the ASCII range. Our free online tool helps you encode special characters to HTML entities to safely display text in web pages, or decode entities back to their original form for editing and processing.

Why use HTML entity encoding?

Common use cases