HTML & Unicode reference
HTML Special Characters
Find the entity you need, escape text for HTML, or inspect exactly what a character reference decodes to. Search the full HTML named-reference table without sending your text away.
Encode, decode, and inspect
Every conversion treats the input as text. No input markup is rendered or executed.
Ready. Paste text to begin.
Conversion notes
Inspect output code points
First 24 distinct code points, with counts across the entire result. Code points are not visual character counts: an emoji or accented glyph can contain several.
| Character / label | Code point | Count | UTF-8 bytes each |
|---|
Find an HTML special character
Search 2,125 semicolon-terminated names, including aliases and names that produce two code points. Copy a named reference or its character. Categories are practical groupings, not official Unicode classifications.
| Copy name | Copy character | Code points | Decimal / hexadecimal |
|---|
Common characters, quick reference
| Character | Named reference | Decimal | Use |
|---|---|---|---|
| & | & | & | Ampersand |
| < | < | < | Less than |
| > | > | > | Greater than |
| " | " | " | Double quote |
| ' | ' | ' | Apostrophe, HTML5 |
| Nonbreaking space | |   | Prevent a line break |
| © | © | © | Copyright |
| € | € | € | Euro sign |
How to use HTML character references
Encode text for the right context
Choose a format and scope, paste text, then select Convert text. Named output favors readable short names. A character without a single-code-point name uses a decimal reference. Every ampersand is encoded, so © becomes &copy;. This is intentional when displaying an entity literally.
The reserved scope escapes & < > " '. It is useful for element text and quoted plain-text attribute values. It is not a sanitizer, URL validator, or escaping method for scripts, CSS, event handlers, or unquoted attributes. Use your framework's context-aware escaping at the point of insertion.
Decode one layer and read the notes
Conservative mode requires complete semicolon-terminated references, preserves malformed or unsafe numeric references, and reports them. HTML text and attribute modes apply the HTML character-reference recovery rules. Missing semicolons, replacements, legacy C1 remapping, and suspicious control characters appear in the notes.
Each conversion decodes once: &lt; becomes <, not a less-than character. Use result as input only when another explicit pass is intended. Unknown names remain unchanged. Names are case-sensitive.
Text and attributes can decode differently
In HTML text mode, ©=2 becomes ©=2. In attribute mode it stays ©=2, because a legacy name without a semicolon followed by a letter, digit, or equals sign is not consumed there. Conservative mode also leaves it unchanged, with a missing-semicolon note. Always write the semicolon in new HTML.
Unicode, inspection, and limits
The reference covers all 2,125 names in the included WHATWG snapshot; 106 legacy forms are additionally recognized in HTML decoding modes. Some names are aliases, and some expand to two code points. This tool does not normalize accents, repair encodings, parse full HTML documents, or emulate script/style/raw-text parsing. Text fields normalize line endings. Isolated UTF-16 surrogates are rejected. Encoding refuses null and selected C1 controls that cannot round-trip through HTML numeric references.
The input limit is 50,000 UTF-16 units; output is capped at 1,000,000 units. Diagnostics count all findings but display the first 50. Inspection lists the first 24 distinct output code points. Search shows 30 reference rows per page. UTF-8 byte counts describe the text itself, with no byte-order mark.
Privacy and standards
Conversion and search run locally in this page, with no tool upload, saved history, or input-bearing share URL. Copy uses your browser clipboard; downloads create a local UTF-8 text file. The site's shared shell may load its normal site resources and analytics, separately from this tool's text processing.
Definitions come from the WHATWG named character references, HTML parsing rules, and Unicode encoding definitions. In modern UTF-8 HTML, most letters and symbols can be written directly. References are useful for reserved and invisible characters.