Unicode Character "♥" (U+2665)

The character ♥ (BLACK HEART SUIT) is represented by the Unicode codepoint U+2665. It is encoded in the Miscellaneous Symbols block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as ♥.

Main Unicode Properties

Name BLACK HEART SUIT
Unicode Codepoint U+2665
Unicode Version 1.1 (June, 1993)
Block Miscellaneous Symbols
Plane Basic Multilingual Plane

Bidirectional Data

Bidirectional class Other Neutral (ON)
Is mirrored? No

Other Unicode Data

Category Other Symbol
Script Code for undetermined script
Combining Class Not Reordered

U+2665 Conversion

HTML (decimal) ♥
HTML (hex) ♥
HTML (named) ♥
URL Escape Code %E2%99%A5
CSS \2665
JavaScript \u{2665}
JSON \u2665
C, C++ \U00002665
Java \u2665
Python \U00002665
Rust \u{2665}
Ruby \u{2665}

How to type "♥"

  • Windows ?: Hold Alt, then type 2 6 6 5. Release Alt.
  • Mac ?: Hold Alt ⌥, then type 2 6 6 5. Release Alt.

Preview

  • ♥
    Times, Times New Roman, serif
  • ♥
    Helvetica, Arial, sans-serif
  • ♥
    Courier, Courier New, monospace

UTF Encodings

UTF-8 (hex) 0xE2 0x99 0xA5
UTF-16 (hex) 0x2665
UTF-32 (hex) 0x00002665

References