HTML Entities List
192 characters with their named, decimal and hexadecimal codes.
No signup, no trackingEvery character below can be written into HTML three ways: as a named entity like ñ, as a decimal code like ñ, or as a hexadecimal code like ñ. All three produce exactly the same character. This page lists 192 of them, grouped by what you are actually trying to type.
The names, code points and hex values here were generated directly from the WHATWG entity list that browsers implement, not typed by hand, so every row round-trips correctly. Copy whichever column your target system prefers.
How to read the table
Each row gives you four interchangeable ways to reach the same character. The name is the most readable, the decimal code is the most universally supported, and the hex code is what you will see in Unicode documentation because it matches the code point directly.
| Notation | Example | When to use it |
|---|---|---|
| Character | ñ | Fine on any page that declares UTF-8, which is nearly all of them. |
| Named entity | ñ | Readable in source. Only exists for characters that have a name. |
| Decimal | ñ | Works for every character in Unicode. The safest fallback. |
| Hexadecimal | ñ | Matches the U+00F1 code point notation used in Unicode charts. |
Note that named entities are case-sensitive — the HTML standard requires the name to be written "using the same case" — so Ñ is capital Ñ and ñ is lowercase ñ. The trailing semicolon is required.
The characters you must always escape
If you only memorise a handful, memorise these. The ampersand and the angle brackets stop text from being read as markup; the two quote characters matter inside attribute values. The space variants below them are the ones people reach for when a layout needs a specific gap.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| & | Ampersand | & | & | & |
| < | Less than / opening tag | < | < | < |
| > | Greater than / closing tag | > | > | > |
| " | Double quote | " | " | " |
| ' | Apostrophe / single quote | ' | ' | ' |
| Non-breaking space | |   |   | |
| | Soft hyphen (invisible until it breaks) | ­ | ­ | ­ |
| En space |   |   |   | |
| Em space |   |   |   | |
| Thin space |   |   |   |
Accented letters and Spanish characters
The block people paste most often, usually when a CMS or an HTML email template has mangled the accents on the way in.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| á | a with acute accent | á | á | á |
| é | e with acute accent | é | é | é |
| í | i with acute accent | í | í | í |
| ó | o with acute accent | ó | ó | ó |
| ú | u with acute accent | ú | ú | ú |
| Á | A with acute accent | Á | Á | Á |
| É | E with acute accent | É | É | É |
| Í | I with acute accent | Í | Í | Í |
| Ó | O with acute accent | Ó | Ó | Ó |
| Ú | U with acute accent | Ú | Ú | Ú |
| ñ | n with tilde | ñ | ñ | ñ |
| Ñ | N with tilde | Ñ | Ñ | Ñ |
| ü | u with diaeresis | ü | ü | ü |
| Ü | U with diaeresis | Ü | Ü | Ü |
| ¿ | Inverted question mark | ¿ | ¿ | ¿ |
| ¡ | Inverted exclamation mark | ¡ | ¡ | ¡ |
| ª | Feminine ordinal (1.ª) | ª | ª | ª |
| º | Masculine ordinal (1.º) | º | º | º |
| « | Opening angle quote | « | « | « |
| » | Closing angle quote | » | » | » |
| ° | Degree sign | ° | ° | ° |
| · | Middle dot | · | · | · |
Other accented and European letters
Grave, circumflex, diaeresis and the Nordic, German, Portuguese and Icelandic letters.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| à | a with grave accent | à | à | à |
| è | e with grave accent | è | è | è |
| ì | i with grave accent | ì | ì | ì |
| ò | o with grave accent | ò | ò | ò |
| ù | u with grave accent | ù | ù | ù |
| â | a with circumflex | â | â | â |
| ê | e with circumflex | ê | ê | ê |
| î | i with circumflex | î | î | î |
| ô | o with circumflex | ô | ô | ô |
| û | u with circumflex | û | û | û |
| ä | a with diaeresis / umlaut | ä | ä | ä |
| ë | e with diaeresis | ë | ë | ë |
| ï | i with diaeresis | ï | ï | ï |
| ö | o with diaeresis / umlaut | ö | ö | ö |
| ã | a with tilde (Portuguese) | ã | ã | ã |
| õ | o with tilde (Portuguese) | õ | õ | õ |
| ç | c with cedilla | ç | ç | ç |
| Ç | C with cedilla | Ç | Ç | Ç |
| å | a with ring (Nordic) | å | å | å |
| æ | ae ligature | æ | æ | æ |
| ø | o with stroke (Nordic) | ø | ø | ø |
| ß | German sharp s | ß | ß | ß |
| ý | y with acute accent | ý | ý | ý |
| ÿ | y with diaeresis | ÿ | ÿ | ÿ |
| ð | Icelandic eth | ð | ð | ð |
| þ | Icelandic thorn | þ | þ | þ |
Punctuation and typography
Dashes, curly quotes and the marks that separate typeset text from text that was typed. The en dash is for ranges, the em dash for parentheticals, and the ellipsis is one character rather than three periods.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| – | En dash (ranges: 10–20) | – | – | – |
| — | Em dash (parenthetical) | — | — | — |
| ― | Horizontal bar | ― | ― | ― |
| ‘ | Opening curly single quote | ‘ | ‘ | ‘ |
| ’ | Closing curly single quote / typographic apostrophe | ’ | ’ | ’ |
| ‚ | Low single quote | ‚ | ‚ | ‚ |
| “ | Opening curly double quote | “ | “ | “ |
| ” | Closing curly double quote | ” | ” | ” |
| „ | Low double quote | „ | „ | „ |
| … | Ellipsis (one character, not three dots) | … | … | … |
| • | Bullet | • | • | • |
| † | Dagger (footnote mark) | † | † | † |
| ‡ | Double dagger | ‡ | ‡ | ‡ |
| ′ | Prime (feet, minutes) | ′ | ′ | ′ |
| ″ | Double prime (inches, seconds) | ″ | ″ | ″ |
| ‹ | Single opening angle quote | ‹ | ‹ | ‹ |
| › | Single closing angle quote | › | › | › |
| § | Section sign | § | § | § |
| ¶ | Pilcrow / paragraph sign | ¶ | ¶ | ¶ |
| ¦ | Broken vertical bar | ¦ | ¦ | ¦ |
| ¬ | Negation sign | ¬ | ¬ | ¬ |
| ¯ | Macron / overline | ¯ | ¯ | ¯ |
| ¨ | Diaeresis on its own | ¨ | ¨ | ¨ |
| ¸ | Cedilla on its own | ¸ | ¸ | ¸ |
| ´ | Acute accent on its own | ´ | ´ | ´ |
Currency signs
Note that the dollar sign has no HTML entity at all — it is a plain ASCII character and needs no escaping.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| € | Euro | € | € | € |
| £ | Pound sterling | £ | £ | £ |
| ¥ | Yen / yuan | ¥ | ¥ | ¥ |
| ¢ | Cent | ¢ | ¢ | ¢ |
| ¤ | Generic currency sign | ¤ | ¤ | ¤ |
| ƒ | Florin / function f | ƒ | ƒ | ƒ |
Arrows
Single arrows in the four cardinal and four diagonal directions, plus the double-stroke arrows used for logical implication.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| ← | Left arrow | ← | ← | ← |
| ↑ | Up arrow | ↑ | ↑ | ↑ |
| → | Right arrow | → | → | → |
| ↓ | Down arrow | ↓ | ↓ | ↓ |
| ↔ | Left-right arrow | ↔ | ↔ | ↔ |
| ↕ | Up-down arrow | ↕ | ↕ | ↕ |
| ↵ | Carriage return arrow | ↵ | ↵ | ↵ |
| ⇐ | Double left arrow | ⇐ | ⇐ | ⇐ |
| ⇑ | Double up arrow | ⇑ | ⇑ | ⇑ |
| ⇒ | Double right arrow (implies) | ⇒ | ⇒ | ⇒ |
| ⇓ | Double down arrow | ⇓ | ⇓ | ⇓ |
| ⇔ | Double left-right arrow (if and only if) | ⇔ | ⇔ | ⇔ |
| ⇕ | Double up-down arrow | ⇕ | ⇕ | ⇕ |
| ↗ | North-east arrow | ↗ | ↗ | ↗ |
| ↖ | North-west arrow | ↖ | ↖ | ↖ |
| ↘ | South-east arrow | ↘ | ↘ | ↘ |
| ↙ | South-west arrow | ↙ | ↙ | ↙ |
| ↦ | Maps to | ↦ | ↦ | ↦ |
| ↰ | Arrow turning left | ↰ | ↰ | ↰ |
| ↱ | Arrow turning right | ↱ | ↱ | ↱ |
Maths, operators and fractions
Everything from the multiplication sign — which is a real character, not a lowercase x — to set notation and pre-composed fractions.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| × | Multiplication sign | × | × | × |
| ÷ | Division sign | ÷ | ÷ | ÷ |
| ± | Plus-minus | ± | ± | ± |
| ≠ | Not equal to | ≠ | ≠ | ≠ |
| ≤ | Less than or equal to | ≤ | ≤ | ≤ |
| ≥ | Greater than or equal to | ≥ | ≥ | ≥ |
| ≈ | Approximately equal to | ≈ | ≈ | ≈ |
| ≡ | Identical to | ≡ | ≡ | ≡ |
| ∼ | Similar to / tilde operator | ∼ | ∼ | ∼ |
| − | True minus sign (wider than a hyphen) | − | − | − |
| ∗ | Asterisk operator | ∗ | ∗ | ∗ |
| √ | Square root | √ | √ | √ |
| ∞ | Infinity | ∞ | ∞ | ∞ |
| ∑ | Summation | ∑ | ∑ | ∑ |
| ∏ | Product | ∏ | ∏ | ∏ |
| ∫ | Integral | ∫ | ∫ | ∫ |
| ∂ | Partial derivative | ∂ | ∂ | ∂ |
| ∇ | Nabla / del | ∇ | ∇ | ∇ |
| ‰ | Per mille | ‰ | ‰ | ‰ |
| ½ | One half | ½ | ½ | ½ |
| ¼ | One quarter | ¼ | ¼ | ¼ |
| ¾ | Three quarters | ¾ | ¾ | ¾ |
| ⅓ | One third | ⅓ | ⅓ | ⅓ |
| ⅔ | Two thirds | ⅔ | ⅔ | ⅔ |
| ¹ | Superscript one | ¹ | ¹ | ¹ |
| ² | Superscript two (squared) | ² | ² | ² |
| ³ | Superscript three (cubed) | ³ | ³ | ³ |
| µ | Micro sign | µ | µ | µ |
| ∝ | Proportional to | ∝ | ∝ | ∝ |
| ∠ | Angle | ∠ | ∠ | ∠ |
| ⊥ | Perpendicular to | ⊥ | ⊥ | ⊥ |
| ∴ | Therefore | ∴ | ∴ | ∴ |
| ∈ | Element of | ∈ | ∈ | ∈ |
| ∉ | Not an element of | ∉ | ∉ | ∉ |
| ⊂ | Subset of | ⊂ | ⊂ | ⊂ |
| ⊃ | Superset of | ⊃ | ⊃ | ⊃ |
| ∩ | Intersection | ∩ | ∩ | ∩ |
| ∪ | Union | ∪ | ∪ | ∪ |
| ∅ | Empty set | ∅ | ∅ | ∅ |
| ∀ | For all | ∀ | ∀ | ∀ |
| ∃ | There exists | ∃ | ∃ | ∃ |
Greek letters
The Greek letters that appear most often in technical writing. Every other letter of the alphabet has an entity too, following the same lowercase and capitalised naming pattern.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| α | Alpha (lowercase) | α | α | α |
| β | Beta (lowercase) | β | β | β |
| γ | Gamma (lowercase) | γ | γ | γ |
| δ | Delta (lowercase) | δ | δ | δ |
| λ | Lambda (lowercase) | λ | λ | λ |
| μ | Mu (lowercase) | μ | μ | μ |
| π | Pi (lowercase) | π | π | π |
| σ | Sigma (lowercase) | σ | σ | σ |
| φ | Phi (lowercase) | φ | φ | φ |
| ω | Omega (lowercase) | ω | ω | ω |
| Γ | Gamma (uppercase) | Γ | Γ | Γ |
| Δ | Delta (uppercase) — change | Δ | Δ | Δ |
| Θ | Theta (uppercase) | Θ | Θ | Θ |
| Λ | Lambda (uppercase) | Λ | Λ | Λ |
| Σ | Sigma (uppercase) | Σ | Σ | Σ |
| Φ | Phi (uppercase) | Φ | Φ | Φ |
| Ψ | Psi (uppercase) | Ψ | Ψ | Ψ |
| Ω | Omega (uppercase) — ohm | Ω | Ω | Ω |
Symbols and shapes
Copyright and trademark marks, card suits, stars, ticks, crosses and a few shapes that are handy as list markers.
| Character | Description | Name | Decimal | Hex |
|---|---|---|---|---|
| © | Copyright | © | © | © |
| ® | Registered trademark | ® | ® | ® |
| ™ | Trademark | ™ | ™ | ™ |
| ★ | Filled star | ★ | ★ | ★ |
| ☆ | Outlined star | ☆ | ☆ | ☆ |
| ✓ | Check mark | ✓ | ✓ | ✓ |
| ✗ | Ballot X | ✗ | ✗ | ✗ |
| ♥ | Hearts suit | ♥ | ♥ | ♥ |
| ♦ | Diamonds suit | ♦ | ♦ | ♦ |
| ♣ | Clubs suit | ♣ | ♣ | ♣ |
| ♠ | Spades suit | ♠ | ♠ | ♠ |
| ☎ | Telephone | ☎ | ☎ | ☎ |
| ♪ | Eighth note | ♪ | ♪ | ♪ |
| ♭ | Music flat | ♭ | ♭ | ♭ |
| ♯ | Music sharp | ♯ | ♯ | ♯ |
| ◊ | Lozenge / diamond shape | ◊ | ◊ | ◊ |
| ♂ | Male sign | ♂ | ♂ | ♂ |
| ♀ | Female sign | ♀ | ♀ | ♀ |
| ℅ | Care of (c/o) | ℅ | ℅ | ℅ |
| № | Numero sign | № | № | № |
| Ⓢ | Circled S | Ⓢ | Ⓢ | Ⓢ |
| ▒ | Medium shade block | ▒ | ▒ | ▒ |
| □ | Empty square | □ | □ | □ |
| ⌖ | Position / target | ⌖ | ⌖ | ⌖ |
Four things worth knowing
- On a page that declares UTF-8, you do not need entities for accents at all. Writing ñ directly is correct, shorter and easier to search. Entities earn their keep in HTML email, legacy systems, RSS feeds and anywhere the encoding of the pipeline is not under your control.
- ' is a modern addition. It is defined in XML and in the HTML living standard, but it was never part of HTML 4.01, so very old parsers may not recognize it. ' is the universally safe way to escape a single quote.
- is not a wider space — it is a space that will not be used as a line-break opportunity, and consecutive ones do not collapse. That second property is why it gets abused for indentation; CSS padding is the right tool for that job.
- An ampersand followed by letters and a semicolon that do not match a real entity name is what the HTML standard calls an ambiguous ampersand, and it is a validation error. If your text contains literal ampersands, escape them as & rather than hoping the parser guesses.
Encoding a whole block of text
This table is for looking up one character. When you have a paragraph, a template or a scraped page full of ' and & codes, use the HTML entity encoder and decoder on this site instead: it converts in both directions, handles named, decimal and hex notations together, and can escape either just the five dangerous characters or everything non-ASCII. It runs entirely in your browser, so you can paste confidential content without it being uploaded.