Heart Unicode Code Points & UTF-8

The classic heart's Unicode code point is U+2665 (BLACK HEART SUIT, ♥). The outline heart ♡ is U+2661, and the red heart emoji ❤️ is U+2764 followed by the variation selector U+FE0F. The reference table lists the code point, UTF-8 bytes and CSS and JavaScript codes for every heart.

Updated

Tap a heart to copy it

9 hearts

Tap to copy · long-press or right-click for more

Heart Unicode list: every heart code point

47 hearts · tap a code to copy
HeartNameCode pointUTF-8CSSJavaScript
Black Heart Suit
White Heart Suit
Red Heart
Rotated Heavy Black Heart Bullet
Heart Exclamation
Floral Heart
Rotated Floral Heart Bullet
Reversed Rotated Floral Heart Bullet
Heart with Tip on the Left
Georgian Letter Ghan (ღ)
Aesthetic Heart ᥫ᭡
Medefaidrin Heart 𖹭
Cham Heart ꨄ
Hieroglyph Heart 𓆩♡𓆪
Pink Heart
Orange Heart
Yellow Heart
Green Heart
Blue Heart
Light Blue Heart
Purple Heart
Brown Heart
Black Heart
Grey Heart
White Heart
Broken Heart
Heart on Fire
Mending Heart
Two Hearts
Revolving Hearts
Beating Heart
Growing Heart
Sparkling Heart
Heart with Arrow
Heart with Ribbon
Heart Decoration
Love Letter
Anatomical Heart
Heart Hands
Hand with Index Finger and Thumb Crossed
Smiling Face with Hearts
Smiling Face with Heart-Eyes
Face Blowing a Kiss
Smiling Cat with Heart-Eyes
Couple with Heart
Kiss
Love-You Gesture
On this page (8)
  1. What a heart Unicode code point is
  2. The core heart code points
  3. Where hearts live in Unicode
  4. Plane 0 vs higher planes
  5. Heart symbol UTF-8 bytes
  6. Text style vs emoji style: FE0E and FE0F
  7. ZWJ sequences: ❤️‍🔥 and ❤️‍🩹
  8. How to find any heart’s code point

What a heart Unicode code point is

Unicode gives every character a unique number called a code point. It’s written as U+ followed by a hexadecimal number, so the heart suit ♥ is U+2665. In decimal, the same number is 9829, which is why HTML’s ♥ and Excel’s =UNICHAR(9829) produce the same heart.

Each code point also has an official name in capital letters, like BLACK HEART SUIT. Names are fixed forever once assigned, even when they sound odd. That’s why the red emoji heart’s base character is still called HEAVY BLACK HEART.

The reference table above lists every heart’s code point, UTF-8 bytes, CSS escape and JavaScript escape. This guide explains what those columns mean and how to use them.

The core heart code points

Heart Code point Decimal Unicode name Added
♥ U+2665 9829 BLACK HEART SUIT Unicode 1.1 (1993)
♡ U+2661 9825 WHITE HEART SUIT Unicode 1.1 (1993)
❤ U+2764 10084 HEAVY BLACK HEART Unicode 1.1 (1993)
❣ U+2763 10083 HEAVY HEART EXCLAMATION MARK ORNAMENT Unicode 1.1 (1993)
❥ U+2765 10085 ROTATED HEAVY BLACK HEART BULLET Unicode 1.1 (1993)
❦ U+2766 10086 FLORAL HEART Unicode 1.1 (1993)
💖 U+1F496 128150 SPARKLING HEART Unicode 6.0 (2010)
🖤 U+1F5A4 128420 BLACK HEART Emoji 3.0 (2016)

Notice that the black heart emoji 🖤 (U+1F5A4) and the heart suit ♥ (U+2665) are different characters, even though both have “black heart” in their names.

Where hearts live in Unicode

Unicode groups characters into blocks. Hearts are spread across several of them, roughly in the order they were added:

Block Range Hearts in it
Miscellaneous Symbols U+2600–U+26FF ♥ ♡ ☙
Dingbats U+2700–U+27BF ❤ ❣ ❥ ❦ ❧
Miscellaneous Symbols and Pictographs U+1F300–U+1F5FF 💔 💕 💖 💘 💙 💚 💛 💜 🖤
Supplemental Symbols and Pictographs U+1F900–U+1F9FF 🧡 🤍 🤎 🥰
Symbols and Pictographs Extended-A U+1FA70–U+1FAFF 🩷 🩵 🩶 🫀 🫶

Plane 0 vs higher planes

Code points up to U+FFFF belong to the Basic Multilingual Plane (plane 0). The classic text hearts ♥ ♡ ❤ all live here, so they’re easy to handle everywhere.

Most emoji hearts are above U+FFFF, in plane 1. That matters in practice:

  • In UTF-8, they take four bytes instead of three.
  • In UTF-16 (used by JavaScript, Java and Windows), they need two 16-bit units called a surrogate pair. 💖 becomes D83D DC96.
  • In code, you often need a longer escape: \u{1F496} in modern JavaScript, \U0001F496 in Python.

The HTML, CSS and JavaScript guide shows these in action.

Heart symbol UTF-8 bytes

UTF-8 is the encoding used by almost every web page. It stores each code point as one to four bytes:

Heart Code point UTF-8 bytes
♥ U+2665 E2 99 A5
♡ U+2661 E2 99 A1
❤ U+2764 E2 9D A4
(emoji selector) U+FE0F EF B8 8F
(zero width joiner) U+200D E2 80 8D
💖 U+1F496 F0 9F 92 96

If you’ve ever seen ♥ where a heart should be, that’s ♥’s three UTF-8 bytes being read as an older Western encoding (Windows-1252). The fix is to declare UTF-8, for example with <meta charset="utf-8"> in HTML.

Text style vs emoji style: FE0E and FE0F

Some hearts can appear as either plain text or a color emoji. Two invisible variation selectors tell the device which one you want:

  • U+FE0E (VS15) asks for text style.
  • U+FE0F (VS16) asks for emoji style.
Base + U+FE0E (text) + U+FE0F (emoji)
♥ U+2665 ♥︎ ♥️
❤ U+2764 ❤︎ ❤️
❣ U+2763 ❣︎ ❣️

The outline heart ♡ has no emoji form, so selectors don’t change it. Emoji-only hearts like 💖 and 🖤 generally ignore U+FE0E. Selectors are requests, not commands, so a few apps still choose their own style.

ZWJ sequences: ❤️‍🔥 and ❤️‍🩹

Newer hearts are often built by joining existing emoji with an invisible zero width joiner (ZWJ, U+200D). Devices that know the sequence draw one combined image; older devices show the parts side by side.

Emoji Sequence Shows on older devices as
❤️‍🔥 Heart on fire U+2764 U+FE0F U+200D U+1F525 ❤️🔥
❤️‍🩹 Mending heart U+2764 U+FE0F U+200D U+1FA79 ❤️🩹

Both arrived with Emoji 13.1 (2020). When you copy one, you copy all four code points, which is why it can count as several characters in a bio or a database.

How to find any heart’s code point

  • Our grid: click a heart above to see its full code table.
  • Word on Windows: put the cursor after the heart and press Alt + X to reveal its code.
  • Mac: the Character Viewer shows the code point when you select a character.
  • Code: a short script prints it, as shown below.
print("\u2665")          # ♥
print("\U0001F496")          # 💖
print(hex(ord("♥")))         # 0x2665
print("♥".encode("utf-8"))   # b'\xe2\x99\xa5'
print([hex(ord(c)) for c in "❤️"])  # ['0x2764', '0xfe0f']

To type hearts by code on your own keyboard, see how to type a heart symbol. For LaTeX documents, the heart symbol LaTeX guide covers the commands.

Frequently asked questions

What is the Unicode for the heart symbol?

The filled heart ♥ is U+2665, named BLACK HEART SUIT. The outline heart ♡ is U+2661 (WHITE HEART SUIT), and the heart behind the red ❤️ emoji is U+2764 (HEAVY BLACK HEART). Emoji hearts like 💖 have higher code points, such as U+1F496.

What is the red heart emoji in Unicode?

❤️ is two code points: U+2764 HEAVY BLACK HEART followed by U+FE0F, the emoji variation selector. Without the selector, many apps show a plain text-style ❤ instead. In UTF-8 the full emoji is the six bytes E2 9D A4 EF B8 8F.

What is the heart symbol in UTF-8?

♥ (U+2665) is the three bytes E2 99 A5 in UTF-8. ♡ (U+2661) is E2 99 A1, and ❤ (U+2764) is E2 9D A4. Emoji hearts above U+FFFF take four bytes; for example, 💖 (U+1F496) is F0 9F 92 96.

How do I type a heart using its Unicode code?

In Word on Windows, type 2665 and press Alt + X. On a Mac with Unicode Hex Input, hold Option and type 2665. On Linux and Chromebook, press Ctrl + Shift + U, type 2665, then Enter or Space. See how to type a heart symbol for every device.

Why do some heart emoji count as more than one character?

Many hearts are built from several code points. ❤️ is two (the heart plus U+FE0F), and ❤️‍🔥 is four (heart, selector, zero width joiner, fire). Programs that count code points or UTF-16 units will report more than one, even though you see a single heart.

Related pages

Your text — tap hearts to add0