Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

UTF-8 to HTML Entities

Convert UTF-8 text to HTML entities (named or numeric).

Paste characters that break in HTML — ampersands, angle brackets, quotes, emoji, accented letters — and get back the entity codes that render safely on any page. Pick named entities like & when they exist, or numeric codes (decimal or hex) for everything else. And everything runs in your browser. Nothing gets uploaded.

How It Works

Characters are converted to HTML entities based on your chosen mode: all characters, only HTML-special characters (< > & " '), or only non-ASCII. Named entities like &amp; are used when available (in named mode), otherwise decimal (&#38;) or hex (&#x26;) numeric entities are generated.

Related Tools