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
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

### What is FEN notation? (Definition)

In chess, the FEN notation (for Forsyth-Edwards notation) makes it possible to describe, in a single line, precisely any position of a chessboard (that is to say, the positions of all the pieces, the state of the game, whose this turn, possible rooks, etc.).

### How does FEN notation work?

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:

 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

### 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.

## 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 cite 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 2023-09-27, 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!