Chess symbols in Unicode

Chess symbols in Unicode
Font depictions of Unicode chess symbols (in the same order as the table). Top: Arial Unicode MS font. Bottom: Tahoma font.

Chess symbols are part of Unicode.
Instead of using images, one can represent chess pieces by symbols that are defined in the Unicode character set. This makes it possible to:

  • Use Figurine Algebraic Notation, which replaces the letter that stands for a piece by its symbol, e.g. ♞c6 instead of Nc6. This enables the moves to be read independent of language (Algebraic Chess Notation lists the different names and letter abbreviations of pieces in several languages).
  • Produce the symbols using a text editor or word processor rather than a graphics editor.

In order to display or print these symbols, one has to have one or more fonts with good Unicode support installed on the computer, and the document (Web page, word processor document, etc.) must use one of these fonts.[1]

Unicode codepoints and HTML

Chess symbols are part of the Miscellaneous Symbols block.

Chess Symbols
Unicode.org chart (PDF)
Symbol Codepoint HTML
white king U+2654 ♔
white queen U+2655 ♕
white rook U+2656 ♖
white bishop U+2657 ♗
white knight U+2658 ♘
white pawn U+2659 ♙
black king U+265A ♚
black queen U+265B ♛
black rook U+265C ♜
black bishop U+265D ♝
black knight U+265E ♞
black pawn U+265F ♟

References

  1. ^ "Test for Unicode support in Web browsers". http://www.alanwood.net/unicode/miscellaneous_symbols.html.