U+2764 · Dingbats
Red heart ❤: symbol and emoji
Copy ❤ with one click, or type it with Win + . on Windows.
- WindowsWin+. then search “red heart”
- MacCtrl+⌘ Cmd+Space Character Viewer, then search
- Word2764thenAlt+X
- iPhoneEmoji keyboard: search “red heart”.
- HTML
❤
Every way to type ❤
Only methods that exist on that system are shown as shortcuts.
Windows emoji panel
Search “red heart” in the panel and click it.
Mac Character Viewer
No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “heavy black heart” and double-click it.
Microsoft Word Alt + X
Type 2764, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “heavy black heart”, 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
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How ❤ is stored in UTF-8
3 bytes (24 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| Unicode | U+2764 | |
|---|---|---|
| HTML decimal | ❤ | |
| HTML hex | ❤ | |
| CSS content | \2764 | |
| JavaScript | \u2764 | |
| JSON | \u2764 | |
| Python | \u2764 | |
| UTF-8 bytes | E2 9D A4 | |
| UTF-16 | 2764 | |
| URL encoded | %E2%9D%A4 | |
| Python name | \N{HEAVY BLACK HEART} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name HEAVY BLACK HEART
- Category Other symbol (So)
- Block Dingbats
- Note displayed with a red color when used in emoji style
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| ♥ | Heart suit | U+2665 | Alt + 3 |
| 🖤 | Black heart | U+1F5A4 | – |
| 🤍 | White heart | U+1F90D | – |
| ❥ | Rotated heavy black heart bullet | U+2765 | – |
| ❣ | Heart exclamation | U+2763 | – |
| ❦ | Floral heart | U+2766 | – |
Questions
Is there an Alt code for ❤?
No. Red heart (U+2764) is not in code page 437 or 1252, so Alt + numpad codes cannot type it. In Word type 2764 and press Alt + X, or copy it from this page.
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 ❤ (decimal) or ❤ (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.