copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('❤'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
❤
Overview
A solid, filled heart, ❤ (HEAVY BLACK HEART) denotes love, affection, or warmth. It occupies codepoint U+2764 in the Dingbats block and is treated as a symbol in Unicode. When rendered in color on modern platforms it typically appears as the familiar red heart emoji, making it one of the most frequently used affectionate symbols in digital text, though as a Unicode character it is defined simply as a bold black heart shape.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| unicode | U+2764 | |
| decimal | 10084 | |
| htmldecimal | ❤ | |
| htmlhex | ❤ | |
| css | \2764 | |
| javascript | \u{2764} | |
| python | \u2764 | |
| java | \u2764 | |
| go | \u2764 | |
| ruby | \u{2764} | |
| rust | \u{2764} | |
| ccpp | \u2764 | |
| urlencoded | %E2%9D%A4 | |
| utf8bytes | e2 9d a4 | |
| utf16bebytes | 27 64 | |
| utf32bebytes | 00 00 27 64 |
How to Use
HTML:
❤
CSS:
content: "\2764"
JavaScript:
"\u{2764}"
Python:
"\u2764"
Properties
Frequently Asked Questions
What is the ❤ character (HEAVY BLACK HEART)?
❤ (HEAVY BLACK HEART) is the Unicode character U+2764.
What is the Unicode codepoint of HEAVY BLACK HEART?
The HEAVY BLACK HEART character (❤) has codepoint U+2764.
How do I type or copy HEAVY BLACK HEART?
Copy ❤ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.