HTML Symbol Codes: Named, Decimal and Hex Entity List

November 11, 2026 · 10 min read

HTML Symbol Codes: Entity List for Copyright, Check Mark and Heart

An HTML symbol code is a short piece of text, such as © or ✓, that the browser replaces with a character like © or ✓. You can write most symbols three ways: a name, a decimal number or a hex number. This cheat sheet gives all three, plus the rules that make a code fail.

What Are the Three Types of Character References in HTML?

The HTML spec calls these codes character references, though most people say "HTML entity". Each one starts with an ampersand and ends with a semicolon. What sits between them decides the type.

  • Named: © uses a name from the spec's list.
  • Decimal: © uses the Unicode code point in base 10.
  • Hexadecimal: © uses the same code point in base 16, after #x.

All three produce ©. Three rules decide whether a code works or quietly prints as plain text:

  1. Names are case-sensitive. © works and &Copy; doesn't exist. © happens to be a separate valid name.
  2. End every code with a semicolon. About a hundred old names, such as &copy and &lt, still decode without it, but the spec counts that as a parse error. &trade without the semicolon prints as text.
  3. Numbers cover everything, names don't. A numeric code works for any Unicode character. The WHATWG named character reference list has a little over 2,000 names, and many common symbols aren't on it.

Copyright, Registered and Trademark Symbol Codes in HTML

You'll need these legal marks in footers, product names and terms pages. The copyright symbol HTML code is ©. The HTML registered symbol is ® and the HTML trademark symbol is ™, but the service mark ℠ has no name.

SymbolMeaningNamedDecimalHex
©Copyright©©©
®Registered trademark®®®
™Trademark™™™
℠Service marknone℠℠
℗Sound recording copyright℗℗℗
§Section§§§
Paragraph (pilcrow)¶¶¶

A typical site footer looks like this:

<p>&copy; 2026 Example Inc. All rights reserved.</p>

It renders as "© 2026 Example Inc. All rights reserved." The ® often looks too large beside body text, so some sites wrap it as <sup>&reg;</sup> to shrink it.

What Is the HTML Code for a Check Mark?

The HTML check mark symbol you probably want is ✓, written &check;. There's also &checkmark;, which gives the same character. The heavier ✔ and the ballot boxes have no names at all, so they need their numeric codes.

SymbolDescriptionNamedDecimalHex
✓Check mark&check;&#10003;&#x2713;
✔Heavy check marknone&#10004;&#x2714;
✗Ballot X&cross;&#10007;&#x2717;
✘Heavy ballot Xnone&#10008;&#x2718;
☐Empty ballot boxnone&#9744;&#x2610;
☑Box with checknone&#9745;&#x2611;
☒Box with Xnone&#9746;&#x2612;

Don't guess a name for the heavy mark: &heavycheck; looks plausible, but it isn't on the list, so it prints as text. The green ✅ is an emoji rather than a text symbol, and our guide to Markdown icons and emoji covers those.

How Do You Make a Heart Symbol in HTML?

The named heart symbol in HTML is &hearts; (alias &heartsuit;), which gives the card-suit heart ♥. The red ❤ that people text each other is a different character, U+2764, and it has no name.

SymbolDescriptionNamedDecimalHex
♥Heart suit&hearts;&#9829;&#x2665;
❤Heavy black heartnone&#10084;&#x2764;
♡White heart suitnone&#9825;&#x2661;
♠ ♣ ♦Other suits&spades; &clubs; &diams;&#9824; &#9827; &#9830;&#x2660; &#x2663; &#x2666;
★Black star&starf; or &bigstar;&#9733;&#x2605;
☆White star&star;&#9734;&#x2606;

The ❤ character may show as a plain glyph or as a red emoji, depending on the font. Adding &#xFE0F; right after it asks for emoji style. The Unicode emoji report calls that the emoji presentation selector, but the final look still depends on the device.

Degree, Math and Currency Symbol Codes

The degree symbol HTML code is &deg;, so 20&deg;C renders as 20°C. Unicode also has single characters for ℃ (U+2103) and ℉ (U+2109), with no names. Unicode maps ℃ to the two characters °C as a compatibility equivalent, so &deg;C is the usual choice and every common font has the degree sign.

SymbolMeaningNamedDecimalHex
°Degree&deg;&#176;&#xB0;
±Plus or minus&plusmn;&#177;&#xB1;
×Multiplication&times;&#215;&#xD7;
÷Division&divide;&#247;&#xF7;
≠Not equal&ne;&#8800;&#x2260;
≤Less than or equal&le;&#8804;&#x2264;
≥Greater than or equal&ge;&#8805;&#x2265;
∞Infinity&infin;&#8734;&#x221E;
µMicro&micro;&#181;&#xB5;
½One half&frac12;&#189;&#xBD;
€Euro&euro;&#8364;&#x20AC;
£Pound&pound;&#163;&#xA3;
¥Yen&yen;&#165;&#xA5;
¢Cent&cent;&#162;&#xA2;

Arrow codes have their own page: see Markdown arrows for &rarr; and the rest.

Punctuation Codes: Middle Dot, Apostrophes, Quotes and Ellipsis

Typographic punctuation is where a named HTML symbol code saves the most guesswork. The straight apostrophe and the curly one are different characters, and so are straight and curly quotes.

SymbolDescriptionNamedDecimalHex
·Middle dot&middot;&#183;&#xB7;
'Straight apostrophe&apos;&#39;&#x27;
’Curly apostrophe&rsquo;&#8217;&#x2019;
“ ”Curly double quotes&ldquo; &rdquo;&#8220; &#8221;&#x201C; &#x201D;
« »Guillemets&laquo; &raquo;&#171; &#187;&#xAB; &#xBB;
…Ellipsis&hellip;&#8230;&#x2026;
–En dash&ndash;&#8211;&#x2013;
(space)Non-breaking space&nbsp;&#160;&#xA0;

The middle dot often separates navigation links, like Docs &middot; Blog &middot; Pricing. For curly quotes in running text, the named codes are easier to proofread than the numbers.

The reserved characters &lt;, &gt; and &amp; matter for a different reason: they stop the browser reading your text as markup. That's an escaping job rather than a symbol lookup. Our guide to HTML escape characters covers that job, with code for JavaScript, Python and PHP.

Do You Still Need HTML Entities With UTF-8?

Mostly not, if the HTML symbol is decorative. A page that declares <meta charset="utf-8"> can hold ©, ✓ or ♥ typed straight into the source. MDN's meta element reference notes that UTF-8 is the only valid encoding for HTML5 documents.

Codes still earn their place in three cases:

  • Reserved characters like < and &, which the parser would otherwise treat as markup.
  • Invisible or look-alike characters, such as a non-breaking space, which you can't spot in source.
  • Pipelines that mangle non-ASCII text, such as old email templates or CMS fields with the wrong encoding.

We prefer typing decorative symbols directly and keeping codes for reserved and invisible characters. One limitation applies either way: a code only picks the character. If the reader's font lacks a glyph like ☑ or ℠, they'll still see an empty box.

Using HTML Symbol Codes in Markdown

Markdown inherits these codes. The CommonMark spec decodes valid named, decimal and hex references in normal text. Inside code spans and code blocks they stay literal, which is how this page shows them.

&copy; 2026 Example Inc.

Status: &check; done

I &hearts; Markdown

Water boils at 100&deg;C

Inside backticks, `&copy;` stays as typed.

That renders as "© 2026 Example Inc.", "Status: ✓ done", "I ♥ Markdown" and "Water boils at 100°C". The last line shows the literal code in code formatting. CommonMark is stricter than browsers here: &copy without a semicolon stays as text. An invented name like &madeup; stays as text too.

To show a Markdown character such as * or # literally, a backslash is usually simpler than a code. Our post on escaping characters in Markdown covers that.

Try the codes yourself. The preview shows each valid code as its symbol, and the last line shows what a missing semicolon does. Change a name or a number and watch it update.

Symbol test

© 2026 Example Inc.
Brand® and Product™
Room temperature: 21°C
Status: ✓ shipped
I ♥ plain text
Numeric codes work too: © ✓ ♥
Now break one: &trade (no semicolon)

33 words226 characters8 lines
Markdown

How to Find the Code for Any Symbol

To find the symbol code in HTML for any character, start with the WHATWG list linked above and search it. If the symbol has no name, take its Unicode code point (U+XXXX) and write it as a hex code, &#x plus the digits plus a semicolon. Our Unicode symbols list gives the code point for the common ones.

Your browser console can give you the code point for any character you paste:

'✓'.codePointAt(0).toString(16) // '2713', so the code is &#x2713;

If you have a whole HTML page and only need its readable text, our HTML to text converter turns it into plain text in your browser.

Every named HTML symbol code in this cheat sheet is checked against the spec's own list, with the named, decimal and hex forms side by side. Use the name when one exists, fall back to the number when it doesn't, and always end with a semicolon. For Markdown, remember that codes inside backticks stay literal. Open the editor to test any code and see the result in the live preview.