HTML Entities
All 193 named codes for the characters HTML reserves or hides, each with its Unicode code point and its numeric fallback. Search the set, see how it renders, and copy what you need.
| Glyph | Named | Numeric | Hex | Code point | Unicode name | Since | Group |
|---|---|---|---|---|---|---|---|
| " | " | " | " | U+0022 | Quotation mark | HTML 4 | Markup |
| & | & | & | & | U+0026 | Ampersand | HTML 4 | Markup |
| ' | ' | ' | ' | U+0027 | Apostrophe | HTML5 | Markup |
| < | < | < | < | U+003C | Less-than sign | HTML 4 | Markup |
| > | > | > | > | U+003E | Greater-than sign | HTML 4 | Markup |
| |   |   | U+00A0 | No-break space | HTML 4 | Spacing | |
|   |   |   | U+2002 | En space | HTML 4 | Spacing | |
|   |   |   | U+2003 | Em space | HTML 4 | Spacing | |
|   |   |   | U+2009 | Thin space | HTML 4 | Spacing | |
|   |   |   | U+200A | Hair space | HTML5 | Spacing | |
| | ​ | ​ | ​ | U+200B | Zero width space | HTML5 | Spacing |
| ¢ | ¢ | ¢ | ¢ | U+00A2 | Cent sign | HTML 4 | Currency |
| £ | £ | £ | £ | U+00A3 | Pound sign | HTML 4 | Currency |
| ¤ | ¤ | ¤ | ¤ | U+00A4 | Currency sign | HTML 4 | Currency |
| ¥ | ¥ | ¥ | ¥ | U+00A5 | Yen sign | HTML 4 | Currency |
| € | € | € | € | U+20AC | Euro sign | HTML 4 | Currency |
| ← | ← | ← | ← | U+2190 | Leftwards arrow | HTML 4 | Arrows |
| ↑ | ↑ | ↑ | ↑ | U+2191 | Upwards arrow | HTML 4 | Arrows |
| → | → | → | → | U+2192 | Rightwards arrow | HTML 4 | Arrows |
| ↓ | ↓ | ↓ | ↓ | U+2193 | Downwards arrow | HTML 4 | Arrows |
| ↔ | ↔ | ↔ | ↔ | U+2194 | Left right arrow | HTML 4 | Arrows |
| ↕ | ↕ | ↕ | ↕ | U+2195 | Up down arrow | HTML5 | Arrows |
| ↖ | ↖ | ↖ | ↖ | U+2196 | North west arrow | HTML5 | Arrows |
| ↗ | ↗ | ↗ | ↗ | U+2197 | North east arrow | HTML5 | Arrows |
| ↘ | ↘ | ↘ | ↘ | U+2198 | South east arrow | HTML5 | Arrows |
| ↙ | ↙ | ↙ | ↙ | U+2199 | South west arrow | HTML5 | Arrows |
| ↚ | ↚ | ↚ | ↚ | U+219A | Leftwards arrow with stroke | HTML5 | Arrows |
| ↛ | ↛ | ↛ | ↛ | U+219B | Rightwards arrow with stroke | HTML5 | Arrows |
| ↝ | ↝ | ↝ | ↝ | U+219D | Rightwards wave arrow | HTML5 | Arrows |
| ↞ | ↞ | ↞ | ↞ | U+219E | Leftwards two headed arrow | HTML5 | Arrows |
| ↟ | ↟ | ↟ | ↟ | U+219F | Upwards two headed arrow | HTML5 | Arrows |
| ↠ | ↠ | ↠ | ↠ | U+21A0 | Rightwards two headed arrow | HTML5 | Arrows |
| ↡ | ↡ | ↡ | ↡ | U+21A1 | Downwards two headed arrow | HTML5 | Arrows |
| ↢ | ↢ | ↢ | ↢ | U+21A2 | Leftwards arrow with tail | HTML5 | Arrows |
| ↣ | ↣ | ↣ | ↣ | U+21A3 | Rightwards arrow with tail | HTML5 | Arrows |
| ↤ | ↤ | ↤ | ↤ | U+21A4 | Leftwards arrow from bar | HTML5 | Arrows |
| ↥ | ↥ | ↥ | ↥ | U+21A5 | Upwards arrow from bar | HTML5 | Arrows |
| ↦ | ↦ | ↦ | ↦ | U+21A6 | Rightwards arrow from bar | HTML5 | Arrows |
| ↧ | ↧ | ↧ | ↧ | U+21A7 | Downwards arrow from bar | HTML5 | Arrows |
| ↩ | ↩ | ↩ | ↩ | U+21A9 | Leftwards arrow with hook | HTML5 | Arrows |
| ↪ | ↪ | ↪ | ↪ | U+21AA | Rightwards arrow with hook | HTML5 | Arrows |
| ↫ | ↫ | ↫ | ↫ | U+21AB | Leftwards arrow with loop | HTML5 | Arrows |
| ↬ | ↬ | ↬ | ↬ | U+21AC | Rightwards arrow with loop | HTML5 | Arrows |
| ↭ | ↭ | ↭ | ↭ | U+21AD | Left right wave arrow | HTML5 | Arrows |
| ↮ | ↮ | ↮ | ↮ | U+21AE | Left right arrow with stroke | HTML5 | Arrows |
| ↰ | ↰ | ↰ | ↰ | U+21B0 | Upwards arrow with tip leftwards | HTML5 | Arrows |
| ↱ | ↱ | ↱ | ↱ | U+21B1 | Upwards arrow with tip rightwards | HTML5 | Arrows |
| ↲ | ↲ | ↲ | ↲ | U+21B2 | Downwards arrow with tip leftwards | HTML5 | Arrows |
| ↳ | ↳ | ↳ | ↳ | U+21B3 | Downwards arrow with tip rightwards | HTML5 | Arrows |
| ↵ | ↵ | ↵ | ↵ | U+21B5 | Downwards arrow with corner leftwards | HTML 4 | Arrows |
| ↶ | ↶ | ↶ | ↶ | U+21B6 | Anticlockwise top semicircle arrow | HTML5 | Arrows |
| ↷ | ↷ | ↷ | ↷ | U+21B7 | Clockwise top semicircle arrow | HTML5 | Arrows |
| ↺ | ↺ | ↺ | ↺ | U+21BA | Anticlockwise open circle arrow | HTML5 | Arrows |
| ↻ | ↻ | ↻ | ↻ | U+21BB | Clockwise open circle arrow | HTML5 | Arrows |
| ↼ | ↼ | ↼ | ↼ | U+21BC | Leftwards harpoon with barb upwards | HTML5 | Arrows |
| ↽ | ↽ | ↽ | ↽ | U+21BD | Leftwards harpoon with barb downwards | HTML5 | Arrows |
| ↾ | ↾ | ↾ | ↾ | U+21BE | Upwards harpoon with barb rightwards | HTML5 | Arrows |
| ↿ | ↿ | ↿ | ↿ | U+21BF | Upwards harpoon with barb leftwards | HTML5 | Arrows |
| ⇀ | ⇀ | ⇀ | ⇀ | U+21C0 | Rightwards harpoon with barb upwards | HTML5 | Arrows |
| ⇁ | ⇁ | ⇁ | ⇁ | U+21C1 | Rightwards harpoon with barb downwards | HTML5 | Arrows |
| ⇂ | ⇂ | ⇂ | ⇂ | U+21C2 | Downwards harpoon with barb rightwards | HTML5 | Arrows |
| ⇃ | ⇃ | ⇃ | ⇃ | U+21C3 | Downwards harpoon with barb leftwards | HTML5 | Arrows |
| ⇄ | ⇄ | ⇄ | ⇄ | U+21C4 | Rightwards arrow over leftwards arrow | HTML5 | Arrows |
| ⇅ | ⇅ | ⇅ | ⇅ | U+21C5 | Upwards arrow leftwards of downwards arrow | HTML5 | Arrows |
| ⇆ | ⇆ | ⇆ | ⇆ | U+21C6 | Leftwards arrow over rightwards arrow | HTML5 | Arrows |
| ⇇ | ⇇ | ⇇ | ⇇ | U+21C7 | Leftwards paired arrows | HTML5 | Arrows |
| ⇈ | ⇈ | ⇈ | ⇈ | U+21C8 | Upwards paired arrows | HTML5 | Arrows |
| ⇉ | ⇉ | ⇉ | ⇉ | U+21C9 | Rightwards paired arrows | HTML5 | Arrows |
| ⇊ | ⇊ | ⇊ | ⇊ | U+21CA | Downwards paired arrows | HTML5 | Arrows |
| ⇋ | ⇋ | ⇋ | ⇋ | U+21CB | Leftwards harpoon over rightwards harpoon | HTML5 | Arrows |
| ⇌ | ⇌ | ⇌ | ⇌ | U+21CC | Rightwards harpoon over leftwards harpoon | HTML5 | Arrows |
| ⇍ | ⇍ | ⇍ | ⇍ | U+21CD | Leftwards double arrow with stroke | HTML5 | Arrows |
| ⇎ | ⇎ | ⇎ | ⇎ | U+21CE | Left right double arrow with stroke | HTML5 | Arrows |
| ⇏ | ⇏ | ⇏ | ⇏ | U+21CF | Rightwards double arrow with stroke | HTML5 | Arrows |
| ⇐ | ⇐ | ⇐ | ⇐ | U+21D0 | Leftwards double arrow | HTML 4 | Arrows |
| ⇑ | ⇑ | ⇑ | ⇑ | U+21D1 | Upwards double arrow | HTML 4 | Arrows |
| ⇒ | ⇒ | ⇒ | ⇒ | U+21D2 | Rightwards double arrow | HTML 4 | Arrows |
| ⇓ | ⇓ | ⇓ | ⇓ | U+21D3 | Downwards double arrow | HTML 4 | Arrows |
| ⇔ | ⇔ | ⇔ | ⇔ | U+21D4 | Left right double arrow | HTML 4 | Arrows |
| ⇕ | ⇕ | ⇕ | ⇕ | U+21D5 | Up down double arrow | HTML5 | Arrows |
| ⇖ | ⇖ | ⇖ | ⇖ | U+21D6 | North west double arrow | HTML5 | Arrows |
| ⇗ | ⇗ | ⇗ | ⇗ | U+21D7 | North east double arrow | HTML5 | Arrows |
| ⇘ | ⇘ | ⇘ | ⇘ | U+21D8 | South east double arrow | HTML5 | Arrows |
| ⇙ | ⇙ | ⇙ | ⇙ | U+21D9 | South west double arrow | HTML5 | Arrows |
| ⇚ | ⇚ | ⇚ | ⇚ | U+21DA | Leftwards triple arrow | HTML5 | Arrows |
| ⇛ | ⇛ | ⇛ | ⇛ | U+21DB | Rightwards triple arrow | HTML5 | Arrows |
| ⇝ | ⇝ | ⇝ | ⇝ | U+21DD | Rightwards squiggle arrow | HTML5 | Arrows |
| ⇤ | ⇤ | ⇤ | ⇤ | U+21E4 | Leftwards arrow to bar | HTML5 | Arrows |
| ⇥ | ⇥ | ⇥ | ⇥ | U+21E5 | Rightwards arrow to bar | HTML5 | Arrows |
| ⇵ | ⇵ | ⇵ | ⇵ | U+21F5 | Downwards arrow leftwards of upwards arrow | HTML5 | Arrows |
| ⇽ | ⇽ | ⇽ | ⇽ | U+21FD | Leftwards open-headed arrow | HTML5 | Arrows |
| ⇾ | ⇾ | ⇾ | ⇾ | U+21FE | Rightwards open-headed arrow | HTML5 | Arrows |
| ⇿ | ⇿ | ⇿ | ⇿ | U+21FF | Left right open-headed arrow | HTML5 | Arrows |
| ¬ | ¬ | ¬ | ¬ | U+00AC | Not sign | HTML 4 | Math |
| ± | ± | ± | ± | U+00B1 | Plus-minus sign | HTML 4 | Math |
| ² | ² | ² | ² | U+00B2 | Superscript two | HTML 4 | Math |
| ³ | ³ | ³ | ³ | U+00B3 | Superscript three | HTML 4 | Math |
| µ | µ | µ | µ | U+00B5 | Micro sign | HTML 4 | Math |
| ¹ | ¹ | ¹ | ¹ | U+00B9 | Superscript one | HTML 4 | Math |
| ¼ | ¼ | ¼ | ¼ | U+00BC | Vulgar fraction one quarter | HTML 4 | Math |
| ½ | ½ | ½ | ½ | U+00BD | Vulgar fraction one half | HTML 4 | Math |
| ¾ | ¾ | ¾ | ¾ | U+00BE | Vulgar fraction three quarters | HTML 4 | Math |
| × | × | × | × | U+00D7 | Multiplication sign | HTML 4 | Math |
| ÷ | ÷ | ÷ | ÷ | U+00F7 | Division sign | HTML 4 | Math |
| ‰ | ‰ | ‰ | ‰ | U+2030 | Per mille sign | HTML 4 | Math |
| ′ | ′ | ′ | ′ | U+2032 | Prime | HTML 4 | Math |
| ″ | ″ | ″ | ″ | U+2033 | Double prime | HTML 4 | Math |
| ⁄ | ⁄ | ⁄ | ⁄ | U+2044 | Fraction slash | HTML 4 | Math |
| ∀ | ∀ | ∀ | ∀ | U+2200 | For all | HTML 4 | Math |
| ∂ | ∂ | ∂ | ∂ | U+2202 | Partial differential | HTML 4 | Math |
| ∃ | ∃ | ∃ | ∃ | U+2203 | There exists | HTML 4 | Math |
| ∄ | ∄ | ∄ | ∄ | U+2204 | There does not exist | HTML5 | Math |
| ∅ | ∅ | ∅ | ∅ | U+2205 | Empty set | HTML 4 | Math |
| ∇ | ∇ | ∇ | ∇ | U+2207 | Nabla | HTML 4 | Math |
| ∈ | ∈ | ∈ | ∈ | U+2208 | Element of | HTML 4 | Math |
| ∉ | ∉ | ∉ | ∉ | U+2209 | Not an element of | HTML 4 | Math |
| ∋ | ∋ | ∋ | ∋ | U+220B | Contains as member | HTML 4 | Math |
| ∏ | ∏ | ∏ | ∏ | U+220F | N-ary product | HTML 4 | Math |
| ∑ | ∑ | ∑ | ∑ | U+2211 | N-ary summation | HTML 4 | Math |
| − | − | − | − | U+2212 | Minus sign | HTML 4 | Math |
| ∓ | ∓ | ∓ | ∓ | U+2213 | Minus-or-plus sign | HTML5 | Math |
| ∗ | ∗ | ∗ | ∗ | U+2217 | Asterisk operator | HTML 4 | Math |
| √ | √ | √ | √ | U+221A | Square root | HTML 4 | Math |
| ∝ | ∝ | ∝ | ∝ | U+221D | Proportional to | HTML 4 | Math |
| ∞ | ∞ | ∞ | ∞ | U+221E | Infinity | HTML 4 | Math |
| ∠ | ∠ | ∠ | ∠ | U+2220 | Angle | HTML 4 | Math |
| ∥ | ∥ | ∥ | ∥ | U+2225 | Parallel to | HTML5 | Math |
| ∧ | ∧ | ∧ | ∧ | U+2227 | Logical and | HTML 4 | Math |
| ∨ | ∨ | ∨ | ∨ | U+2228 | Logical or | HTML 4 | Math |
| ∩ | ∩ | ∩ | ∩ | U+2229 | Intersection | HTML 4 | Math |
| ∪ | ∪ | ∪ | ∪ | U+222A | Union | HTML 4 | Math |
| ∫ | ∫ | ∫ | ∫ | U+222B | Integral | HTML 4 | Math |
| ∴ | ∴ | ∴ | ∴ | U+2234 | Therefore | HTML 4 | Math |
| ∵ | ∵ | ∵ | ∵ | U+2235 | Because | HTML5 | Math |
| ∼ | ∼ | ∼ | ∼ | U+223C | Tilde operator | HTML 4 | Math |
| ≅ | ≅ | ≅ | ≅ | U+2245 | Approximately equal to | HTML 4 | Math |
| ≈ | ≈ | ≈ | ≈ | U+2248 | Almost equal to | HTML 4 | Math |
| ≠ | ≠ | ≠ | ≠ | U+2260 | Not equal to | HTML 4 | Math |
| ≡ | ≡ | ≡ | ≡ | U+2261 | Identical to | HTML 4 | Math |
| ≢ | ≢ | ≢ | ≢ | U+2262 | Not identical to | HTML5 | Math |
| ≤ | ≤ | ≤ | ≤ | U+2264 | Less-than or equal to | HTML 4 | Math |
| ≥ | ≥ | ≥ | ≥ | U+2265 | Greater-than or equal to | HTML 4 | Math |
| ≪ | ≪ | ≪ | ≪ | U+226A | Much less-than | HTML5 | Math |
| ≫ | ≫ | ≫ | ≫ | U+226B | Much greater-than | HTML5 | Math |
| ⊂ | ⊂ | ⊂ | ⊂ | U+2282 | Subset of | HTML 4 | Math |
| ⊃ | ⊃ | ⊃ | ⊃ | U+2283 | Superset of | HTML 4 | Math |
| ⊄ | ⊄ | ⊄ | ⊄ | U+2284 | Not a subset of | HTML 4 | Math |
| ⊆ | ⊆ | ⊆ | ⊆ | U+2286 | Subset of or equal to | HTML 4 | Math |
| ⊇ | ⊇ | ⊇ | ⊇ | U+2287 | Superset of or equal to | HTML 4 | Math |
| ⊕ | ⊕ | ⊕ | ⊕ | U+2295 | Circled plus | HTML 4 | Math |
| ⊗ | ⊗ | ⊗ | ⊗ | U+2297 | Circled times | HTML 4 | Math |
| ⊥ | ⊥ | ⊥ | ⊥ | U+22A5 | Up tack | HTML 4 | Math |
| ⋅ | ⋅ | ⋅ | ⋅ | U+22C5 | Dot operator | HTML 4 | Math |
| ‐ | ‐ | ‐ | ‐ | U+2010 | Hyphen | HTML5 | Punctuation |
| – | – | – | – | U+2013 | En dash | HTML 4 | Punctuation |
| — | — | — | — | U+2014 | Em dash | HTML 4 | Punctuation |
| ― | ― | ― | ― | U+2015 | Horizontal bar | HTML5 | Punctuation |
| ‖ | ‖ | ‖ | ‖ | U+2016 | Double vertical line | HTML5 | Punctuation |
| ‘ | ‘ | ‘ | ‘ | U+2018 | Left single quotation mark | HTML 4 | Punctuation |
| ’ | ’ | ’ | ’ | U+2019 | Right single quotation mark | HTML 4 | Punctuation |
| ‚ | ‚ | ‚ | ‚ | U+201A | Single low-9 quotation mark | HTML 4 | Punctuation |
| “ | “ | “ | “ | U+201C | Left double quotation mark | HTML 4 | Punctuation |
| ” | ” | ” | ” | U+201D | Right double quotation mark | HTML 4 | Punctuation |
| „ | „ | „ | „ | U+201E | Double low-9 quotation mark | HTML 4 | Punctuation |
| † | † | † | † | U+2020 | Dagger | HTML 4 | Punctuation |
| ‡ | ‡ | ‡ | ‡ | U+2021 | Double dagger | HTML 4 | Punctuation |
| • | • | • | • | U+2022 | Bullet | HTML 4 | Punctuation |
| ‥ | ‥ | ‥ | ‥ | U+2025 | Two dot leader | HTML5 | Punctuation |
| … | … | … | … | U+2026 | Horizontal ellipsis | HTML 4 | Punctuation |
| ‱ | ‱ | ‱ | ‱ | U+2031 | Per ten thousand sign | HTML5 | Punctuation |
| ‴ | ‴ | ‴ | ‴ | U+2034 | Triple prime | HTML5 | Punctuation |
| ‵ | ‵ | ‵ | ‵ | U+2035 | Reversed prime | HTML5 | Punctuation |
| ‹ | ‹ | ‹ | ‹ | U+2039 | Single left-pointing angle quotation mark | HTML 4 | Punctuation |
| › | › | › | › | U+203A | Single right-pointing angle quotation mark | HTML 4 | Punctuation |
| ¡ | ¡ | ¡ | ¡ | U+00A1 | Inverted exclamation mark | HTML 4 | Symbols |
| § | § | § | § | U+00A7 | Section sign | HTML 4 | Symbols |
| © | © | © | © | U+00A9 | Copyright sign | HTML 4 | Symbols |
| « | « | « | « | U+00AB | Left-pointing double angle quotation mark | HTML 4 | Symbols |
| ® | ® | ® | ® | U+00AE | Registered sign | HTML 4 | Symbols |
| ° | ° | ° | ° | U+00B0 | Degree sign | HTML 4 | Symbols |
| ¶ | ¶ | ¶ | ¶ | U+00B6 | Pilcrow sign | HTML 4 | Symbols |
| » | » | » | » | U+00BB | Right-pointing double angle quotation mark | HTML 4 | Symbols |
| ¿ | ¿ | ¿ | ¿ | U+00BF | Inverted question mark | HTML 4 | Symbols |
| ™ | ™ | ™ | ™ | U+2122 | Trade mark sign | HTML 4 | Symbols |
| ★ | ★ | ★ | ★ | U+2605 | Black star | HTML5 | Symbols |
| ☆ | ☆ | ☆ | ☆ | U+2606 | White star | HTML5 | Symbols |
| ♠ | ♠ | ♠ | ♠ | U+2660 | Black spade suit | HTML 4 | Symbols |
| ♣ | ♣ | ♣ | ♣ | U+2663 | Black club suit | HTML 4 | Symbols |
| ♥ | ♥ | ♥ | ♥ | U+2665 | Black heart suit | HTML 4 | Symbols |
| ♦ | ♦ | ♦ | ♦ | U+2666 | Black diamond suit | HTML 4 | Symbols |
| ♪ | ♪ | ♪ | ♪ | U+266A | Eighth note | HTML5 | Symbols |
| ✓ | ✓ | ✓ | ✓ | U+2713 | Check mark | HTML5 | Symbols |
| ✗ | ✗ | ✗ | ✗ | U+2717 | Ballot x | HTML5 | Symbols |
Click a named entity to copy it. The glyph column shows how it renders.
Source: WHATWG HTML Standard, named character references. Checked against that source on . 193 entities, dataset version 2.0.0. Changelog and JSON.
Why HTML entities exist
HTML uses a handful of characters as structure. The less-than and greater-than signs delimit tags, the ampersand opens an entity, and quotation marks bound attribute values. If you want any of those characters to appear as literal text rather than markup, you have to escape it, and an entity is how you do that. The named character references are defined by the WHATWG HTML Standard, so a browser resolves them the same way everywhere.
Entities also give you a portable way to write characters that are awkward to type or that might not survive a copy and paste, from a non breaking space to a mathematical symbol or an arrow. On a UTF-8 page you can often insert those characters directly, but the four markup sensitive characters still need escaping, and numeric entities remain the dependable fallback when a named form does not exist.
The four you must always escape
- The less-than sign, so text is not read as the start of a tag.
- The greater-than sign, for symmetry and to avoid edge cases.
- The ampersand, so it is not read as the start of another entity.
- The double quotation mark inside attribute values.
When you do not need an entity
This is the mistake that costs the most time: escaping everything. On a page served as UTF-8, and that is every page you write today, a euro sign, an arrow, an em dash, and an accented letter can all go in as themselves. They render identically, they are readable in the source, they survive a search across your codebase, and they take fewer bytes than the escape.
The four markup characters are the exception, and they are not negotiable. Beyond those, reach for an entity when the character is invisible and you need it to be obvious in the source, which is the real argument for writing a non breaking space as its named form, or when the output is not HTML at all. XML without a DTD knows only five names, so everything else must be numeric there.
Named or numeric
Named forms read better and are easier to remember. Numeric forms always work. The Since column in the table above tells you which named forms predate HTML5 and are therefore the safest to use outside a browser; the rest are HTML5 additions, and outside HTML5 the numeric form is the one to reach for.
Frequently asked questions
FAQWhat is an HTML entity?
An HTML entity is an escape sequence that represents a character which is either reserved in HTML or hard to type. It begins with an ampersand and ends with a semicolon, for example the named form for a copyright sign or the numeric form using a code point. The browser renders the entity as the intended character.
When do I have to use entities?
You must escape the characters that HTML treats as markup. Write the less-than and greater-than entities so a browser does not read them as a tag, and escape the ampersand so it is not read as the start of another entity. Inside attribute values you should also escape quotation marks.
What is the difference between named and numeric entities?
A named entity uses a memorable word between the ampersand and semicolon. A numeric entity uses the character's Unicode code point, in decimal or in hex with an x prefix. Numeric entities work for any character, while named ones exist only for a defined set, so numeric is the reliable fallback.
Which named entities do not work in XML or XHTML?
Only five named entities are defined in XML itself: lt, gt, amp, apos, and quot. Everything else that HTML gives a name to, including nbsp, comes from the HTML specification, so an XML parser without a DTD will reject it. The numeric form always works, which is why the numeric column on this page carries both a decimal and a hex form. The table marks each row as HTML 4 or HTML5 only, which is the closest practical proxy: an HTML5 only name is the one most likely to surprise you outside a browser.
Do I still need entities if my page is UTF-8?
For most symbols, no. A UTF-8 page can contain a euro sign or an em dash directly. You still must escape the four markup sensitive characters, the less-than sign, greater-than sign, ampersand, and quotation marks inside attributes, because those change how the HTML is parsed.
Put this table on your own page
EmbedPaste this anywhere. It loads a plain, self contained version of the table with a credit line underneath. Free under CC BY 4.0, and that credit line is the whole condition.