Search
Search for a symbol or emoji...
♥
♥
Heart Suit Symbol ♥
Heart Suit Symbol Information
| Symbol Name | Heart Suit |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2665 |
| CSS Code | \2665 |
| HTML Entity | ♥ |
| Hex Code | ♥ |
| HTML Code | ♥ |
| Latex | \ding{170} |
| Alt Code | 3 |
| Symbol | ♥ |
Heart Suit Symbol Encoding
| UTF-8 | 0xE2 0x99 0xA5 |
| UTF-16 | 0x2665 |
| UTF-32 | 0x00002665 |
Heart Suit Symbol in Latex
Heart Suit
1\documentclass{article}
2\usepackage{pifont}
3\begin{document}
4\ding{170}
5\end{document}How to add heart suit symbol via keyboard on different Operating systems
You can type the heart suit symbol on most modern devices with the help of following methods:
How to type heart suit symbol on Microsoft Word
You can type the heart suit in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2665
- Without moving the cursor press keys Alt + x together
- The original 2665 is now transformed into ♥
How to type heart suit symbol on Microsoft Windows
You can type the heart suit on Microsoft windows using following steps:
- Hold Alt and press 3 to type heart suit on your windows machine.
How to type heart suit symbol on Mac OS
You can type the heart suit on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Heart Suit" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type heart suit symbol on Linux
You can type the heart suit on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2665 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type heart suit symbol on IOS and Android
The easiest way to type the heart suit symbol on ios and android is to copy and paste it wherever you need it.
How to use heart suit in CSS
//CSS Example
1span {
2 content: \2665;
3 }How to use heart suit in HTML
//HTML Example
1<span>♥</span>Heart Suit symbol representation in programming languages
Heart Suitsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2665} |
| Ruby | \u{2665} |
| Python | \u2665 |
| PHP | \u{2665} |
| Perl | \x{2665} |
| Java | \u2665 |
| Modern JavaScript - Since ES6 | \u{2665} |
| JavaScript | \u2665 |
| Go | \u2665 |
| C# | \u2665 |
| C and C++ | \u2665 |
| Bash and Zsh - inside echo -e | \u2665 |
| RFC 5137 | \u'2665' |
