formersi
U+2665♥

U+2665 · Miscellaneous Symbols

Heart suit ♥: symbol and emoji

Copy ♥ with one click, or type it with Alt + 3 on Windows.

  • WindowsAlt+3 numeric keypad
  • MacCtrl+⌘ Cmd+Space Character Viewer, then search
  • Word2665thenAlt+X
  • iPhoneEmoji keyboard: search “heart suit”.
  • HTML♥ or ♥
Code point
U+2665
decimal 9829
Windows
Alt + 3
Alt + numpad
Mac
None
use the Character Viewer
Added
Unicode 1.1
Other symbol

Every way to type ♥

Only methods that exist on that system are shown as shortcuts.

Windows Alt code

Alt+3 (older OEM code)
  1. Turn on Num Lock.
  2. Hold Alt and type the digits on the numeric keypad (not the top row).
  3. Let go of Alt.
Step-by-step guide

Mac Character Viewer

Ctrl+⌘ Cmd+Space

No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “black heart suit” and double-click it.

Microsoft Word Alt + X

2665thenAlt+X

Type 2665, then press Alt + X (Word for Windows).

Google Docs menu

Insert › Special characters, then search “black heart suit”, or paste it from here.

iPhone and iPad copy

Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).

Android symbol pages

Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.

Linux Unicode input

Ctrl+Shift+Uthen2665thenEnter

GNOME and most GTK apps (IBus).

Chromebook Unicode input

Ctrl+Shift+Uthen2665thenEnter

Type the code after the underlined u appears.

How ♥ is stored in UTF-8

3 bytes (24 bits) for 1 code point

length and continuation bitsbits of the code point
Computed from U+2665 with the UTF-8 rules of RFC 3629. Same bytes as text: see “Codes” below.

Codes

For HTML, CSS, JavaScript, JSON, Python and URLs.

HTML entity&hearts;
UnicodeU+2665
HTML decimal&#9829;
HTML hex&#x2665;
CSS content\2665
JavaScript\u2665
JSON\u2665
Python\u2665
UTF-8 bytesE2 99 A5
UTF-162665
URL encoded%E2%99%A5
Python name\N{BLACK HEART SUIT}
LaTeX\heartsuit

From the Unicode Standard

Names, aliases and notes from the Unicode 13.0 names list.

Related symbols

Look-alikes named in the Unicode notes first, then neighbours in the same block.

SymbolNameCodeAlt code
❤Red heartU+2764–
💙Blue heartU+1F499–
🖤Black heartU+1F5A4–
♦Diamond suitU+2666Alt + 4
♤White spade suitU+2664–
♧White club suitU+2667–

Questions

What is the Alt code for Heart suit (♥)?

Hold Alt and type 3 on the numeric keypad, then let go of Alt.

How do I type ♥ on a Mac?

Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.

What is the HTML code for ♥?

Use &hearts; or &#9829; (decimal) or &#x2665; (hex).

Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.