Search for a tool
Forsyth-Edwards Notation

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.

Results

Forsyth-Edwards Notation -

Tag(s) : Notation System, Board Games

Share
Share
dCode and more

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!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Forsyth-Edwards Notation' tool for free! Thank you!

Forsyth-Edwards Notation

FEN Reader


See also: Chess Notations

Answers to Questions (FAQ)

What is FEN notation? (Definition)

Forsyth-Edwards notation (FEN) is a standardized representation of chess positions as a string. It describes the arrangement of the pieces on the board at a given time (a snapshot) as well as information relating to the game, whose turn it is, castlings etc.

How does FEN notation work?

The FEN notation is made up of six fields separated by spaces. These fields represent, in order: the arrangement of the pieces, the move, the castling possibilities, the possibility of taking en passant, the number of half-moves elapsed, and the move number.

FEN starts by encoding the content of the chessboard by rows from top to bottom (seen from the white side). The characters describing the parts are:

KWhite KingkBlack King
QWhite QueenqBlack Queen
RWhite RookrBlack Rook
BWhite BishopbBlack Bishop
NWhite KnightnBlack Knight
PWhite PawnpBlack Pawn
1-81 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 bIndicates the next player (w = white, b = black)
KQkqIndicates possible castling. K and / or Q for black castle respectively coded King or Queen and likewise k and / or q for the white castle, "-" if none
- or coordinateCoordinates of a possible case of taking en passant
0 to 50Number of moves since last catch
1 to 999Move number

Pawn promotion is represented by the piece to which the pawn is promoted.

FEN notation does not take into account position repetitions.

What does FEN stand for?

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

Source code

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, breaker, 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, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "Forsyth-Edwards Notation" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Forsyth-Edwards Notation on dCode.fr [online website], retrieved on 2024-12-30, https://www.dcode.fr/fen-chess-notation

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Forsyth-Edwards Notation' tool for free! Thank you!


https://www.dcode.fr/fen-chess-notation
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback