Playing Card Symbols
Unicode includes a Playing Cards block with characters for all 52 standard playing cards plus jokers, card backs, and the four suit symbols ♠♥♦♣ used in text. This guide lists all Unicode playing card characters with their code points and discusses font support considerations.
Unicode encodes a comprehensive set of playing card characters spanning three distinct blocks: the four classic suit symbols (♠♥♦♣), a full deck of 59 Western playing cards with individual characters for every card, and a complete set of Mahjong tile characters. This guide covers all of these symbols with their code points, explains how they are organized in Unicode, and discusses practical uses in text-based games and applications.
The Four Suit Symbols
The most widely used playing card characters are the four suit symbols, found in the Miscellaneous Symbols block (U+2600--U+26FF):
| Character | Code Point | Name | Color Tradition |
|---|---|---|---|
| ♠ | U+2660 | BLACK SPADE SUIT | Black |
| ♡ | U+2661 | WHITE HEART SUIT | Red (outline) |
| ♢ | U+2662 | WHITE DIAMOND SUIT | Red (outline) |
| ♣ | U+2663 | BLACK CLUB SUIT | Black |
| ♤ | U+2664 | WHITE SPADE SUIT | Black (outline) |
| ♥ | U+2665 | BLACK HEART SUIT | Red |
| ♦ | U+2666 | BLACK DIAMOND SUIT | Red |
| ♧ | U+2667 | WHITE CLUB SUIT | Black (outline) |
Unicode provides both "black" (filled) and "white" (outline) versions of each suit. The naming convention is historical: "black" means filled/solid, "white" means outline/hollow. In traditional Western card games:
- Spades ♠ and Clubs ♣ are printed in black
- Hearts ♥ and Diamonds ♦ are printed in red
The filled versions (♠♥♦♣) are far more commonly used in digital text than the outline variants.
The Playing Cards Block (U+1F0A0--U+1F0FF)
Unicode 6.0 (2010) introduced a dedicated Playing Cards block containing individual characters for an entire deck of cards. This block covers 59 card characters organized by suit.
Card Back and Jokers
| Character | Code Point | Name |
|---|---|---|
| 🂠 | U+1F0A0 | PLAYING CARD BACK |
| 🃏 | U+1F0CF | PLAYING CARD BLACK JOKER |
| 🃟 | U+1F0DF | PLAYING CARD WHITE JOKER |
Spades (U+1F0A1--U+1F0AE)
| Character | Code Point | Card |
|---|---|---|
| 🂡 | U+1F0A1 | Ace of Spades |
| 🂢 | U+1F0A2 | Two of Spades |
| 🂣 | U+1F0A3 | Three of Spades |
| 🂤 | U+1F0A4 | Four of Spades |
| 🂥 | U+1F0A5 | Five of Spades |
| 🂦 | U+1F0A6 | Six of Spades |
| 🂧 | U+1F0A7 | Seven of Spades |
| 🂨 | U+1F0A8 | Eight of Spades |
| 🂩 | U+1F0A9 | Nine of Spades |
| 🂪 | U+1F0AA | Ten of Spades |
| 🂫 | U+1F0AB | Jack of Spades |
| 🂭 | U+1F0AD | Queen of Spades |
| 🂮 | U+1F0AE | King of Spades |
Note that U+1F0AC is the Knight of Spades -- a card used in Tarot decks but not in standard 52-card decks. Each suit in this block includes a knight between the jack and queen, giving 14 cards per suit (ace through king plus knight) instead of the standard 13.
Hearts (U+1F0B1--U+1F0BE)
| Character | Code Point | Card |
|---|---|---|
| 🂱 | U+1F0B1 | Ace of Hearts |
| 🂲 | U+1F0B2 | Two of Hearts |
| 🂳 | U+1F0B3 | Three of Hearts |
| 🂴 | U+1F0B4 | Four of Hearts |
| 🂵 | U+1F0B5 | Five of Hearts |
| 🂶 | U+1F0B6 | Six of Hearts |
| 🂷 | U+1F0B7 | Seven of Hearts |
| 🂸 | U+1F0B8 | Eight of Hearts |
| 🂹 | U+1F0B9 | Nine of Hearts |
| 🂺 | U+1F0BA | Ten of Hearts |
| 🂻 | U+1F0BB | Jack of Hearts |
| 🂽 | U+1F0BD | Queen of Hearts |
| 🂾 | U+1F0BE | King of Hearts |
Diamonds (U+1F0C1--U+1F0CE)
| Character | Code Point | Card |
|---|---|---|
| 🃁 | U+1F0C1 | Ace of Diamonds |
| 🃂 | U+1F0C2 | Two of Diamonds |
| 🃃 | U+1F0C3 | Three of Diamonds |
| 🃄 | U+1F0C4 | Four of Diamonds |
| 🃅 | U+1F0C5 | Five of Diamonds |
| 🃆 | U+1F0C6 | Six of Diamonds |
| 🃇 | U+1F0C7 | Seven of Diamonds |
| 🃈 | U+1F0C8 | Eight of Diamonds |
| 🃉 | U+1F0C9 | Nine of Diamonds |
| 🃊 | U+1F0CA | Ten of Diamonds |
| 🃋 | U+1F0CB | Jack of Diamonds |
| 🃍 | U+1F0CD | Queen of Diamonds |
| 🃎 | U+1F0CE | King of Diamonds |
Clubs (U+1F0D1--U+1F0DE)
| Character | Code Point | Card |
|---|---|---|
| 🃑 | U+1F0D1 | Ace of Clubs |
| 🃒 | U+1F0D2 | Two of Clubs |
| 🃓 | U+1F0D3 | Three of Clubs |
| 🃔 | U+1F0D4 | Four of Clubs |
| 🃕 | U+1F0D5 | Five of Clubs |
| 🃖 | U+1F0D6 | Six of Clubs |
| 🃗 | U+1F0D7 | Seven of Clubs |
| 🃘 | U+1F0D8 | Eight of Clubs |
| 🃙 | U+1F0D9 | Nine of Clubs |
| 🃚 | U+1F0DA | Ten of Clubs |
| 🃛 | U+1F0DB | Jack of Clubs |
| 🃝 | U+1F0DD | Queen of Clubs |
| 🃞 | U+1F0DE | King of Clubs |
Trump Cards (Tarot Atouts)
The Playing Cards block also includes 22 trump cards (atouts) used in Tarot card games (the European trick-taking games, not divination). These occupy U+1F0E0--U+1F0F5:
| Character | Code Point | Name |
|---|---|---|
| 🃠 | U+1F0E0 | PLAYING CARD TRUMP-1 (Individual/Pagat) |
| 🃡 | U+1F0E1 | PLAYING CARD TRUMP-2 |
| ... | ... | Trump cards 3--20 |
| 🃵 | U+1F0F5 | PLAYING CARD TRUMP-21 (The World) |
These trump characters have limited font support and are primarily of interest to players of French Tarot and other European tarot card games.
Mahjong Tiles Block (U+1F000--U+1F02F)
Unicode 5.1 (2008) introduced the Mahjong Tiles block with 44 characters representing the standard tile set used in Mahjong:
Wind Tiles
| Character | Code Point | Name |
|---|---|---|
| 🀀 | U+1F000 | MAHJONG TILE EAST WIND |
| 🀁 | U+1F001 | MAHJONG TILE SOUTH WIND |
| 🀂 | U+1F002 | MAHJONG TILE WEST WIND |
| 🀃 | U+1F003 | MAHJONG TILE NORTH WIND |
Dragon Tiles
| Character | Code Point | Name |
|---|---|---|
| 🀄 | U+1F004 | MAHJONG TILE RED DRAGON |
| 🀅 | U+1F005 | MAHJONG TILE GREEN DRAGON |
| 🀆 | U+1F006 | MAHJONG TILE WHITE DRAGON |
Number Tiles (Characters, Bamboos, Circles)
The block includes nine tiles each for the three numbered suits:
- Characters (U+1F007--U+1F00F): 🀇 🀈 🀉 🀊 🀋 🀌 🀍 🀎 🀏 (1--9 of Characters)
- Bamboos (U+1F010--U+1F018): 🀐 🀑 🀒 🀓 🀔 🀕 🀖 🀗 🀘 (1--9 of Bamboos)
- Circles (U+1F019--U+1F021): 🀙 🀚 🀛 🀜 🀝 🀞 🀟 🀠 🀡 (1--9 of Circles)
Flower and Season Tiles
| Character | Code Point | Name |
|---|---|---|
| 🀢 | U+1F022 | MAHJONG TILE PLUM |
| 🀣 | U+1F023 | MAHJONG TILE ORCHID |
| 🀤 | U+1F024 | MAHJONG TILE BAMBOO |
| 🀥 | U+1F025 | MAHJONG TILE CHRYSANTHEMUM |
| 🀦 | U+1F026 | MAHJONG TILE SPRING |
| 🀧 | U+1F027 | MAHJONG TILE SUMMER |
| 🀨 | U+1F028 | MAHJONG TILE AUTUMN |
| 🀩 | U+1F029 | MAHJONG TILE WINTER |
The Mahjong tile 🀄 (Red Dragon) is one of the few Mahjong characters commonly supported as an emoji on modern platforms.
Working with Card Characters in Code
Python: Card Deck Generation
# Build a standard 52-card deck using Unicode playing card characters
SUITS = {
"spades": 0x1F0A0,
"hearts": 0x1F0B0,
"diamonds": 0x1F0C0,
"clubs": 0x1F0D0,
}
def deck():
cards = []
for suit, base in SUITS.items():
for rank in range(1, 14):
# Skip the knight (offset 12) for standard deck
offset = rank if rank <= 11 else rank + 1
cards.append(chr(base + offset))
return cards
hand = deck()[:5]
print(" ".join(hand))
# Example: 🂡 🂢 🂣 🂤 🂥
JavaScript: Card Display
// Convert a card notation like "As" (Ace of spades) to Unicode
function cardToUnicode(rank, suit) {
const suitBases = {
spades: 0x1F0A0,
hearts: 0x1F0B0,
diamonds: 0x1F0C0,
clubs: 0x1F0D0,
};
const offset = rank <= 11 ? rank : rank + 1;
return String.fromCodePoint(suitBases[suit] + offset);
}
console.log(cardToUnicode(1, 'spades')); // 🂡 Ace of Spades
console.log(cardToUnicode(13, 'hearts')); // 🂾 King of Hearts
HTML: Suit Symbols in Text
<p>The four suits: ♠ ♥ ♦ ♣</p>
<p style="color:red">Red suits: ♥ ♦</p>
<p>Black suits: ♠ ♣</p>
Font Support Considerations
The suit symbols (♠♥♦♣) have near-universal font support. However, the individual card characters in the Playing Cards block (U+1F0A0--U+1F0FF) and Mahjong Tiles block (U+1F000--U+1F02F) have more limited support:
| Platform | Card Characters | Mahjong Tiles |
|---|---|---|
| macOS / iOS | Apple Color Emoji (emoji style) | Partial |
| Windows 11 | Segoe UI Emoji | Partial |
| Android | Noto Color Emoji | Partial |
| Linux | Noto Sans Symbols 2 | Noto Sans Symbols 2 |
For web projects that need reliable card rendering, consider using a dedicated card font or rendering cards as styled HTML elements rather than relying on these Unicode characters.
Encoding Patterns
The Playing Cards block has a clean, predictable encoding structure:
| Component | Pattern |
|---|---|
| Suit offset | Spades +0xA0, Hearts +0xB0, Diamonds +0xC0, Clubs +0xD0 |
| Ace | Base + 1 |
| 2--10 | Base + 2 through Base + 10 |
| Jack | Base + 11 |
| Knight | Base + 12 (Tarot only) |
| Queen | Base + 13 |
| King | Base + 14 |
This regularity makes it straightforward to compute card code points programmatically from rank and suit values.
Historical Notes
Playing card symbols have appeared in character sets since the early days of computing. The suit symbols ♠♥♦♣ were present in IBM Code Page 437 (the original IBM PC character set, 1981) at byte values 0x03--0x06. They were among the first graphic characters available on personal computers, and their presence in Unicode preserves a direct line from 1980s PC text modes to modern internationalized text.
The Mahjong tiles, by contrast, represent a different tradition. Mahjong originated in China during the Qing dynasty (19th century) and has become one of the world's most popular tile-based games. Their inclusion in Unicode reflects the standard's mission to encode all commonly used symbols regardless of cultural origin.
Ещё в Symbol Reference
Unicode contains hundreds of arrow symbols spanning simple directional arrows, double arrows, …
Unicode provides multiple check mark and tick symbols ranging from the classic …
Unicode includes a rich collection of star shapes — from the simple …
Unicode contains dozens of heart symbols including the classic ♥, black and …
Unicode's Currency Symbols block and surrounding areas contain dedicated characters for over …
Unicode has dedicated blocks for mathematical operators, arrows, letterlike symbols, and alphanumeric …
Beyond the ASCII parentheses and square brackets, Unicode includes angle brackets, curly …
Unicode offers a wide variety of bullet point characters beyond the standard …
Unicode's Box Drawing block contains 128 characters for drawing lines, corners, intersections, …
Unicode includes musical note symbols such as ♩♪♫♬ in the Miscellaneous Symbols …
Unicode includes precomposed fraction characters for common fractions like ½ ¼ ¾ …
Unicode provides precomposed superscript and subscript digits and letters — such as …
Unicode contains dozens of circle symbols including filled circles, outlined circles, circles …
Unicode includes filled squares, outlined squares, small squares, medium squares, dashed squares, …
Unicode provides a comprehensive set of triangle symbols in all orientations — …
Unicode includes filled and outline diamond shapes, lozenge characters, and playing card …
Unicode provides various cross and X mark characters including the heavy ballot …
The hyphen-minus on your keyboard is just one of Unicode's many dash …
Unicode defines typographic quotation marks — curly quotes — for dozens of …
Unicode includes dedicated characters for the copyright symbol ©, registered trademark ®, …
The degree symbol ° (U+00B0) and dedicated Celsius ℃ and Fahrenheit ℉ …
Unicode's Enclosed Alphanumerics block provides circled numbers ①②③, parenthesized numbers ⑴⑵⑶, and …
Unicode includes a Number Forms block with precomposed Roman numeral characters such …
Greek letters like α β γ δ π Σ Ω are widely …
The Unicode Dingbats block (U+2700–U+27BF) contains 192 decorative symbols originally from the …
Unicode provides characters for all six chess piece types in both white …
Unicode's Miscellaneous Symbols block includes the 12 zodiac signs ♈♉♊♋♌♍♎♏♐♑♒♓, planetary symbols, …
Unicode's Braille Patterns block (U+2800–U+28FF) encodes all 256 possible combinations of the …
Unicode's Geometric Shapes block contains 96 characters covering circles, squares, triangles, diamonds, …
The Unicode Letterlike Symbols block contains mathematical and technical symbols derived from …
Unicode's Miscellaneous Technical block contains symbols from computing, electronics, and engineering, including …
Diacritics are accent marks and other marks that attach to letters to …
Unicode defines dozens of invisible characters beyond the ordinary space, including zero-width …
Unicode includes warning and hazard symbols such as the universal caution ⚠ …
Unicode's Miscellaneous Symbols block includes sun ☀, cloud ☁, rain ☂, snow …
Unicode includes symbols for many of the world's major religions including the …
Unicode includes the traditional male ♂ and female ♀ symbols from astronomy, …
Apple's macOS uses Unicode characters for keyboard modifier keys such as ⌘ …
Unicode symbols like ▶ ◀ ► ★ ✦ ⚡ ✈ and hundreds …