HTML Entities

Encode and decode HTML entities

Input

About HTML Entities

HTML entities allow you to safely represent reserved characters in HTML. For example, < is represented as &lt; to avoid being interpreted as a tag opener.

Encode replaces & (first), <, >, ", and '. Toggle “Emoji → hex” to also convert non-ASCII characters like 😀 into &#x1F600;.

Decodeuses the browser’s native HTML parser to safely decode all named and numeric entities back to their original characters.