Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Unicode to HTML

Convert Unicode characters to HTML character entities (decimal, hex, or named).

Paste Unicode text, pick a format (decimal, hex, or named), and get HTML-safe entities back in one click. Handles emoji and symbols past code point 127, not just the usual <, >, and & crowd. And everything runs in your browser. Nothing gets uploaded.

FAQ

What are HTML entities?

HTML entities are special sequences that represent characters in HTML. They prevent characters like < and & from being interpreted as HTML markup. Formats include decimal (&#60;), hexadecimal (&#x3C;), and named (&lt;).

When should I use named entities?

Named entities like &lt; and &amp; are more readable but only exist for a subset of characters. For emoji and other Unicode characters, you must use numeric entities.

What is the difference between encoding scopes?

"All characters" encodes everything. "HTML special chars only" only encodes the 5 characters that have special meaning in HTML. "Non-ASCII only" encodes characters above code point 127.

Are emoji supported?

Yes. Emoji and all Unicode characters can be encoded as numeric entities like &#128512; or &#x1F600;.

Related Tools