Heart and card suit symbols
A heart written as text is a character, not a picture: it keeps the color of the text around it, scales with the font size and can be pasted in a bio, a username, a spreadsheet cell or a plain-text file. Unicode has the solid heart suit, the outline one, the heavy ornamental hearts and the card suits, all listed below.
The tool above opens on the search "heart". Below, 13 characters of this category. The hearts come first, then the four card suits in black and white versions (the same shapes used in playing cards).
Table with codes
| Symbol | Unicode name | Code point | HTML | Windows Alt | Mac (US) |
|---|---|---|---|---|---|
| ♥ | black heart suit | U+2665 | ♥ ♥ | Alt+3 | - |
| ♡ | white heart suit | U+2661 | ♡ | - | - |
| ❤ | heavy black heart | U+2764 | ❤ | - | - |
| ❥ | rotated heavy black heart bullet | U+2765 | ❥ | - | - |
| ❣ | heavy heart exclamation mark ornament | U+2763 | ❣ | - | - |
| ❢ | heavy exclamation mark ornament | U+2762 | ❢ | - | - |
| ❦ | floral heart | U+2766 | ❦ | - | - |
| ♠ | black spade suit | U+2660 | ♠ ♠ | Alt+6 | - |
| ♣ | black club suit | U+2663 | ♣ ♣ | Alt+5 | - |
| ♦ | black diamond suit | U+2666 | ♦ ♦ | Alt+4 | - |
| ♢ | white diamond suit | U+2662 | ♢ | - | - |
| ♤ | white spade suit | U+2664 | ♤ | - | - |
| ♧ | white club suit | U+2667 | ♧ | - | - |
The Alt column uses the numeric keypad with Num Lock on: a code with a leading zero (0169) is Windows-1252 and works on any Windows, a code without it comes from the OEM code page of the system (437 on a US one) and may differ elsewhere. The Mac column is the Option shortcut on a US keyboard; "-" means there is none. Names are the official Unicode names, in English.
How to type them
The examples use ♥ (U+2665); the same methods work for every character in the table with its own code.
| Where | How |
|---|---|
| Any app | Copy ♥ from the table above and paste it. |
| Windows Alt | Hold Alt and type the number on the numeric keypad (Num Lock on): Alt+3 gives ♥. |
| Word | Type 2665 and press Alt+X: Word turns the hex code U+2665 into ♥. |
| macOS | Open the Character Viewer with Control+Command+Space and search for it, or enable Unicode Hex Input, hold Option and type 2665. |
| Linux | Press Ctrl+Shift+U, type 2665 and press Enter (GTK and many desktop apps). |
| HTML / CSS / JS | ♥ or ♥ in HTML, \2665 in a CSS content value, \u2665 in a JavaScript string. |
Good to know
- The black heart suit ♥ (U+2665) is the one with a Windows Alt code (Alt+3) and an HTML name (♥). The heavy heart ❤ (U+2764) looks fuller but many phones turn it into the red emoji ❤️ by adding U+FE0F, the emoji variation selector.
- To keep a symbol as text and not as an emoji, add U+FE0E (variation selector 15) right after it; to force the colored emoji, add U+FE0F. The page of heart emojis lists the colored ones.
- A symbol only shows if the font has it. If you see an empty box, the page or the app uses a font without the glyph: the common ♥ and ♠ are in nearly every font, the ornamental ones in fewer.
Using the tool
- Read the table or search another word in the tool above (try "snowman").
- Click a character to see its code in several formats and copy the one you need.
- Paste it where you need it, and check the result in the app that will show it: fonts and platforms draw characters differently.
Frequently asked questions
Which heart symbol works everywhere?
♥ (U+2665) is in the oldest character sets, even in the original IBM PC one, so it renders on nearly any device. The heavy ❤ is also widespread but may turn into an emoji.
What is the difference between ♥ and ♡?
♥ is the black (filled) heart suit and ♡ the white (outline) one; Unicode names them BLACK HEART SUIT and WHITE HEART SUIT. They are separate characters with different code points.
What is the code point of ♥?
♥ is U+2665 (9829 in decimal), named black heart suit in Unicode. In HTML write ♥, in CSS \2665 and in JavaScript \u2665.