HTML Entities Cheat Sheet
Instant reference for 200+ HTML entities — search by name, character, or code; click to copy named (&), decimal (&), hex (&), or Unicode; organized by Currency, Math, Arrows, Greek, and more
Most Commonly Used HTML Entities
Click any code to copy it to your clipboard.
| Char | Description | Name | Decimal | Hex | Unicode |
|---|---|---|---|---|---|
| < | Less-than sign (HTML reserved) | ||||
| > | Greater-than sign (HTML reserved) | ||||
| & | Ampersand (HTML reserved) | ||||
| " | Quotation mark (HTML reserved) | ||||
| ' | Apostrophe (HTML5) | ||||
| SP | Space (regular breaking space) | — | |||
| NBSP | Non-breaking space | ||||
| © | Copyright sign | ||||
| ™ | Trade mark sign | ||||
| ® | Registered sign | ||||
| — | Em dash | ||||
| – | En dash | ||||
| … | Horizontal ellipsis | ||||
| • | Bullet |
You type <script> in your blog post content and the browser tries to execute it. You need <script> instead. Or you’re adding a copyright symbol and can’t remember if it’s ©, ©, or ©. Or you need the right arrow (→) in a nav breadcrumb and Google gives you 8 different arrow entities without showing which one is which. You need a searchable reference with named, decimal, and hex codes all in one place.
Why This Cheat Sheet (Not MDN or W3Schools)
MDN’s HTML entity reference is exhaustive (2,000+ entities) but overwhelming when you just need the 20 you use regularly. W3Schools lists entities but doesn’t show the actual rendered character next to the code. This cheat sheet covers 200+ commonly used entities — currency, math, arrows, Greek letters, typography — with the character, named entity, decimal code, and hex code side by side. Searchable and filterable in your browser; no data is sent anywhere.
What Are HTML Entities?
An HTML entity is a special code that tells the browser to display a character that either has a special meaning in HTML or cannot easily be typed on a standard keyboard. Every entity starts with an ampersand (&) and ends with a semicolon (;).
There are three ways to reference the same character:
| Format | Example | Description |
|---|---|---|
| Named entity | & | Mnemonic name — easiest to read |
| Decimal numeric | & | Base-10 Unicode code point |
| Hex numeric | & | Base-16 Unicode code point |
All three forms are equivalent. The browser renders &, &, and & identically as the & character.
The 5 Reserved HTML Characters
These five characters have special meaning in HTML and must be escaped whenever they appear in text content or attribute values:
| Character | Named | Decimal | When to escape |
|---|---|---|---|
< | < | < | Inside text content or attribute values — misread as tag start |
> | > | > | Inside text content — misread as tag end |
& | & | & | Always — starts an entity reference |
" | " | " | Inside double-quoted attribute values |
' | ' | ' | Inside single-quoted attribute values (HTML5) |
Rule of thumb: If your editor’s HTML highlighter turns your text orange or red, you probably need to escape it.
Non-Breaking Space ( )
The non-breaking space ( ,  ) looks identical to a regular space but prevents the browser from wrapping the line at that position. Use it to:
- Keep a number and its unit together:
10 kg,3:00 PM - Prevent widows (lone words at the end of a paragraph)
- Add precise horizontal spacing without CSS
<!-- Without : "10" and "kg" can end up on separate lines -->
10 kg
<!-- With : always stays on one line -->
10 kg
Typography Essentials
Em Dash vs En Dash vs Hyphen
| Character | Entity | Use |
|---|---|---|
- (hyphen) | - (literal) | Compound words: state-of-the-art; line-break continuation |
– (en dash) | – | Ranges: pages 10–20; connections: New York–London |
— (em dash) | — | Clause separator — like a strong parenthetical — in prose |
Quotation Marks
Straight quotes (" ') are ASCII and fine in code. For typographically correct prose, use curly quotes:
| Character | Named | Decimal | Use |
|---|---|---|---|
" | “ | “ | Opening double quote |
" | ” | ” | Closing double quote / closing apostrophe |
' | ‘ | ‘ | Opening single quote |
' | ’ | ’ | Closing single quote / apostrophe in contractions |
Copyright, Trademark, Registered
© 2026 Acme Corp. <!-- © 2026 Acme Corp. -->
Widget Pro™ <!-- Widget Pro™ -->
Coca-Cola® <!-- Coca-Cola® -->
Currency Symbols
| Symbol | Named | Decimal | Currency |
|---|---|---|---|
$ | — | $ | US Dollar |
€ | € | € | Euro |
£ | £ | £ | British Pound |
¥ | ¥ | ¥ | Japanese Yen / Chinese Yuan |
¢ | ¢ | ¢ | Cent |
₹ | — | ₹ | Indian Rupee |
₿ | — | ₿ | Bitcoin |
₽ | — | ₽ | Russian Ruble |
If your HTML file is saved as UTF-8 (which is the modern standard), you can paste currency symbols directly without using entities. Entities are useful when you need to guarantee the character survives encoding changes or when working in a limited character set.
Mathematical Operators
Common math operators used in documentation, formulas, and scientific content:
5 × 3 = 15 <!-- 5 × 3 = 15 -->
10 ÷ 2 = 5 <!-- 10 ÷ 2 = 5 -->
±0.5 <!-- ±0.5 -->
x ≤ 10 <!-- x ≤ 10 -->
x ≥ 0 <!-- x ≥ 0 -->
x ≠ 0 <!-- x ≠ 0 -->
∞ <!-- ∞ -->
√16 = 4 <!-- √16 = 4 -->
Greek Letters
Greek letters appear frequently in mathematics, science, and engineering. All 24 lowercase and 24 uppercase Greek letters have named HTML entities:
| Letter | Named | Letter | Named |
|---|---|---|---|
| α | α | Α | Α |
| β | β | Β | Β |
| γ | γ | Γ | Γ |
| δ | δ | Δ | Δ |
| π | π | Π | Π |
| σ | σ | Σ | Σ |
| ω | ω | Ω | Ω |
| θ | θ | Θ | Θ |
| λ | λ | Λ | Λ |
| μ | μ | Μ | Μ |
Arrows
HTML provides named entities for directional arrows:
| Arrow | Named | Description |
|---|---|---|
| ← | ← | Left arrow |
| → | → | Right arrow |
| ↑ | ↑ | Up arrow |
| ↓ | ↓ | Down arrow |
| ↔ | ↔ | Left-right arrow |
| ⇐ | ⇐ | Left double arrow |
| ⇒ | ⇒ | Right double arrow |
| ⇔ | ⇔ | Left-right double arrow |
| ↵ | ↵ | Carriage return arrow |
Named Entities vs. Direct UTF-8 Characters
Modern HTML documents should declare <meta charset="UTF-8">. With UTF-8 encoding, you can paste most Unicode characters directly — no entity required. For example, © 2026 and © 2026 are identical.
When to prefer entities over direct characters:
- The 5 reserved characters (
< > & " ') — always escape these - Invisible or ambiguous characters —
,­(soft hyphen) are clearer as entities - Limited-charset environments — plain-text emails, legacy systems, or tools that mangle non-ASCII
- Code readability —
—is unambiguous; a lone—can look like a hyphen
When UTF-8 is fine:
- Emoji, currency symbols, mathematical operators — paste directly
- Modern web browsers handle all valid Unicode points
Frequently Asked Questions
Can I use HTML entities in CSS content property?
Yes. In CSS, use the Unicode escape with a backslash: content: "\00A9" for ©. CSS does not support HTML entity names like ©.
Do HTML entities work in XML and SVG?
Named HTML entities work in HTML documents. In XML and SVG (which are stricter), only the five predefined XML entities are guaranteed: &, <, >, ", '. Use numeric references (©) for other characters in XML/SVG.
Why does my show as literal text?
Make sure the surrounding document is parsed as HTML (not plain text). Check that the Content-Type header is text/html and the file has a proper <!DOCTYPE html> declaration.
Is ' valid HTML?
' is defined in HTML5 and XML but was not part of HTML 4. For maximum compatibility in legacy contexts, use ' instead. In modern HTML5, both work.
What is the soft hyphen (­)?
The soft hyphen (­, ­) is an invisible hint to the browser: “if you need to break this word across lines, you may break it here and show a hyphen.” It only appears when a line break actually occurs. Use it in long compound words like hand­crafted.