Chess symbols in Unicode

From Wikipedia, the free encyclopedia
(Redirected from Chess symbols in unicode)
Jump to navigation Jump to search

Template:Short description Template:Use American English Script error: No such module "For". Template:SpecialChars

Refer to caption
Font depictions of Unicode chess symbols (in the same order as the table): DejaVu Sans, FreeSerif, Quivira, Pecita.
A screenshot of the GNU Chess program in graphic mode showing the chessboard with Unicode characters.
GNU Chess using Unicode chess characters to display a chess board in the terminal.

Unicode has text representations of chess pieces. These allow to produce the symbols using plain text without the need of a graphics interface. The inclusion of the chess symbols enables the use of figurine algebraic notation, which replaces the letter that stands for a piece by its symbol, e.g. ♛f1 instead of Qf1. This also allows the play of chess games in text-only environments, such as the terminal.

Unicode blocks

Unicode 15.1 specifies a total of 110 spread across two blocks. The standard set of chess pieces—king, queen, rook, bishop, knight, or pawn, with white and black variants—were included in the block Miscellaneous Symbols. In Unicode 12.0, the Chess Symbols block (U+1FA00–U+1FA6F) was allocated for inclusion of extra chess piece representations. This includes fairy chess pieces, such as rotated pieces, neutral (neither white nor black) pieces, knighted pieces, equihoppers, as well as xiangqi pieces.[1]

In 2024, four shatranj pieces have been provisionally assigned for a future version in the range U+1FA54–U+1FA57.[2][3]

Miscellaneous symbols

Chess Symbols
Template:Nobold
Name Symbol Code point HTML (decimal) HTML (hex)
<templatestyles src="smallcaps/styles.css"/>white chess king Template:Huge U+2654 &#9812; &#x2654;
<templatestyles src="smallcaps/styles.css"/>white chess queen Template:Huge U+2655 &#9813; &#x2655;
<templatestyles src="smallcaps/styles.css"/>white chess rook Template:Huge U+2656 &#9814; &#x2656;
<templatestyles src="smallcaps/styles.css"/>white chess bishop Template:Huge U+2657 &#9815; &#x2657;
<templatestyles src="smallcaps/styles.css"/>white chess knight Template:Huge U+2658 &#9816; &#x2658;
<templatestyles src="smallcaps/styles.css"/>white chess pawn Template:Huge U+2659 &#9817; &#x2659;
<templatestyles src="smallcaps/styles.css"/>black chess king Template:Huge U+265A &#9818; &#x265A;
<templatestyles src="smallcaps/styles.css"/>black chess queen Template:Huge U+265B &#9819; &#x265B;
<templatestyles src="smallcaps/styles.css"/>black chess rook Template:Huge U+265C &#9820; &#x265C;
<templatestyles src="smallcaps/styles.css"/>black chess bishop Template:Huge U+265D &#9821; &#x265D;
<templatestyles src="smallcaps/styles.css"/>black chess knight Template:Huge U+265E &#9822; &#x265E;
<templatestyles src="smallcaps/styles.css"/>black chess pawn Template:Huge U+265F &#9823; &#x265F;

Chess symbols

Template:Unicode chart chess

Emoji

Template:Contains special characters

In Unicode 11.0, an emojified representation of the character Template:Unichar was added.[4] As of Unicode 15.1, only this character has an emoji version. In 2024, a proposal was submitted to include emoji versions of the other standard chess symbols.[5]

Emoji variation sequences
U+ 265F
default presentation text
base code point
base+VS15 (text) Template:Emoji presentation
base+VS16 (emoji) Template:Emoji presentation

References

Template:Reflist

Template:Chess

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".