Tool to display / translate a Forsyth-Edwards notation (FEN) of a chess game. The line notation FEN allows to describe any position of a chess game.
Forsyth-Edwards Notation - dCode
Tag(s) : Notation System, Board Games
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
In chess games, the FEN notation uses a single line to describe the contents of each box of the box in rows from top to bottom (seen from the white side). The characters describing the parts ar:
K | White King | k | Black King |
Q | White Queen | q | Black Queen |
R | White Rook | r | Black Rook |
B | White Bishop | b | Black Bishop |
N | White Knight | n | Black Knight |
P | White Pawn | p | Black Pawn |
1-8 | 1 to 8 empty boxes |
Example: The starting position of a chess board is: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR
The chessboard description is completed with 5 informations:
w or b | Indicates the next player (w = white, b = black) |
KQkq | Indicates possible castling. K and / or Q for black castle respectively coded King or Queen and likewise k and / or q for the white castle |
- or coordinate | Coordinates of a possible case of taking en passant |
0 to 50 | Number of moves since last catch |
1 to 999 | Move number |
FEN is the acronym for Forsyth-Edwards Notation, named after David Forsyth, a Scottish journalist who invented this notation and Steven Edwards who adapted it to make it unambiguous and compatible with computers.
See also SAN notation
dCode retains ownership of the "Forsyth-Edwards Notation" source code. Except explicit open source licence (indicated Creative Commons / free), the "Forsyth-Edwards Notation" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Forsyth-Edwards Notation" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Forsyth-Edwards Notation" are not public, same for offline use on PC, tablet, iPhone or Android !
The copy-paste of the page "Forsyth-Edwards Notation" or any of its results, is allowed as long as you cite the online source
Reminder : dCode is free to use.