encyclopegia.org

Forsyth–Edwards Notation

Forsyth–Edwards Notation (FEN) is a standard notation for describing a particular board position of a chess game.[10] The purpose of FEN is to provide all the necessary information to restart a game from a particular position.[11]

Forsyth–Edwards Notation (FEN) is a standard notation for describing a particular board position of a chess game.[10] The purpose of FEN is to provide all the necessary information to restart a game from a particular position.[11] ==History== ===Forsyth notation=== FEN is based on a system known as Forsyth notation, developed in 1883 by Scottish newspaper journalist David Forsyth.[15] His system became popular in the 19th century.[src] Unlike modern FEN, this notation, designed as a short-hand for writing out the position of every piece on the board, was only interested in capturing the position of the pieces, and not the other metadata such as which player is to move, castling availability, and move count, which presumably would have been written out in full or implied by context.[8] The notation was first proposed by Forsyth in the Glasgow Weekly Herald on February 2, 1883.[15] Forsyth wrote: Forsyth's original system used one line of written text for each rank of the board.[src] Each piece was denoted by a letter or letters: K, Q, R, B, P, with the knight being denoted with "Kt", which was the convention at the time.[src] Black pieces were denoted with an underline.[src] Empty squares were denoted with a "0", with a series of adjacent empty squares being denoted with that number (e.g.[src] "5" denoted a sequence of five empty squares on a row).[src] Oddly, this meant that one would use "0" for one square and "2" for two squares, with no use for the digit "1".[src] Forsyth gives an example (with the accompanying text "after Black's 40th move") : denoting a position with a black rook on b8, two black pawns on f7 and g7, white rooks on a6 and c6 and a black pawn on h6, and so on.[8] The equivalent position in modern FEN is: 1r6/5pp1/R1R4p/1r1pP3/2pkQPP1/7P/1P6/2K5 w - - 0 41 By 1897, the notation appears to have evolved to more resemble the modern syntax, with the following example given in a biography of Forsyth in The Chess Bouquet : In this version, the position is written all on one line, with commas to separate ranks, the "0" denoting a single empty square has been replaced with a "1", and black pieces are denoted with lowercase letters rather than underlines.[8] The equivalent position in modern FEN is: 1B6/2n5/p1N1P2R/P1K3N1/4Pk2/1Q2p2p/6nP/1B4R1 w - - 0 1 ===Extension by Edwards=== In 1993, Steven J.[10] Edwards extended Forsyth's system to support its use by computers, as part of the Portable Game Notation standard.[16] The most commonly cited version was published on March 12, 1994.[src] The standard states that: Edwards' format is explicitly specified as an ASCII text format, intended to be parsed by computer software.[10] He removed the spaces in between squares, replaced the commas (separating ranks) with slashes, changed the knight from "Kt" to "N" (reflecting modern algebraic notation), and added additional metadata fields such as which player is to move, castling availability, and more, as described below.[8] ==Usage== FEN is defined in the "Portable Game Notation Specification and Implementation Guide".[11] In the Portable Game Notation for chess games, FEN is used to define initial positions other than the standard one.[11] FEN does not provide sufficient information to decide whether a draw by threefold repetition may be legally claimed or a draw offer may be accepted; for that, a different format such as Extended Position Description is needed.[9] ==Definition== A FEN record defines a particular game position, all in one text line and using only the ASCII character set.[11] A text file with only FEN data records should use the filename extension .fen .[src] A FEN record contains six fields, each separated by a space.[src] The fields are as follows: Piece placement data: Each is described, starting with rank 8 and ending with rank 1, with a "/" between each one; within each rank, the contents of the squares are described in order from the a- to the h-file.[src] Each piece is identified by a single letter taken from the standard English names in algebraic notation (pawn = "P", knight = "N", bishop = "B", rook = "R", queen = "Q", and king = "K").[8] White pieces are designated using uppercase letters ("PNBRQK"), while black pieces use lowercase letters ("pnbrqk").[8] A set of one or more consecutive empty squares within a rank is denoted by a digit from "1" to "8", corresponding to the number of squares.[src] Active color: "w" means that White is to move; "b" means that Black is to move.[8] Castling availability: If neither side has the ability to castle, this field uses the character "-".[src] Otherwise, this field contains one or more letters: "K" if White can castle kingside, "Q" if White can castle queenside, "k" if Black can castle kingside, and "q" if Black can castle queenside.[8] A situation that temporarily prevents castling does not prevent the use of this notation.[9] En passant target square: This is a square over which a pawn has just passed while moving two squares; it is given in algebraic notation.[2] If there is no en passant target square, this field uses the character "-".[2] This is recorded regardless of whether there is a pawn in position to capture en passant.[src] An updated version of the spec has since made it so the target square is recorded only if a legal en passant capture is possible, but the old version of the standard is the one most commonly used.[2] Halfmove clock: The number of halfmoves since the last capture or pawn advance, used for the fifty-move rule.[5] Fullmove number: The number of the full moves.[src] It starts at 1 and is incremented after Black's move.[8] ==Examples== The following example is from the FEN specification: Here is the FEN for the starting position: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 And after the move 1.e4: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1 And then after 1...c5: rnbqkbnr/pp1ppppp/8/2p5/4P3/8/PPPP1PPP/RNBQKBNR w KQkq c6 0 2 And then after 2.Nf3: rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2 ==See also== Extended Position Description Portable Game Notation ==Notes== ==References==[6]

43 sentences · 43 cited inline · 16 references stored

References

  1. Portable Game Notation Specification and Implementation Guide · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "Portable Game Notation Specification and Implementation Guide." Sections 16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "Portable Game Notation Specification and Implementation Guide." Sections 16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Sections 16. (2026). Portable Game Notation Specification and Implementation Guide. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  2. 16.2.3.4: En passant target square · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "16.2.3.4: En passant target square." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "16.2.3.4: En passant target square." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Section "16. (2026). 16.2.3.4: En passant target square. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  3. About that en passant target square · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "About that en passant target square." 2026-11-18. http://www.talkchess.com/forum3/viewtopic.php?p=588125&sid=ec27c00639b0e2ab009cc3cdb6072e42#p588125. Accessed 26 November 2026.

    Chicago "About that en passant target square." 2026-11-18. http://www.talkchess.com/forum3/viewtopic.php?p=588125&sid=ec27c00639b0e2ab009cc3cdb6072e42#p588125.

    APA encyclopegia.org. (2026). About that en passant target square. Retrieved November 26, 2026, from http://www.talkchess.com/forum3/viewtopic.php?p=588125&sid=ec27c00639b0e2ab009cc3cdb6072e42#p588125

  4. Portable Game Notation Specification and Implementation Guide · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "Portable Game Notation Specification and Implementation Guide." 2026-11-18. https://github.com/fsmosca/PGN-Standard/blob/master/PGN-Standard.txt. Accessed 26 November 2026.

    Chicago "Portable Game Notation Specification and Implementation Guide." 2026-11-18. https://github.com/fsmosca/PGN-Standard/blob/master/PGN-Standard.txt.

    APA encyclopegia.org. (2026). Portable Game Notation Specification and Implementation Guide. Retrieved November 26, 2026, from https://github.com/fsmosca/PGN-Standard/blob/master/PGN-Standard.txt

  5. 16.1.3.5: Halfmove clock · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "16.1.3.5: Halfmove clock." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "16.1.3.5: Halfmove clock." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Section "16. (2026). 16.1.3.5: Halfmove clock. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  6. 16.1.4: Examples · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "16.1.4: Examples." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "16.1.4: Examples." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Section "16. (2026). 16.1.4: Examples. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  7. Shredder-FEN · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "Shredder-FEN." 2026-11-18. https://www.chessprogramming.org/Forsyth-Edwards_Notation#Shredder-FEN. Accessed 26 November 2026.

    Chicago "Shredder-FEN." 2026-11-18. https://www.chessprogramming.org/Forsyth-Edwards_Notation#Shredder-FEN.

    APA encyclopegia.org. (2026). Shredder-FEN. Retrieved November 26, 2026, from https://www.chessprogramming.org/Forsyth-Edwards_Notation#Shredder-FEN

  8. This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an example of the notation. Wikipedia revision 1362104116, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an example of the notation. Wikipedia revision 1362104116, retrieved 2026-11-19." This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an e. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an example of the notation. Wikipedia revision 1362104116, retrieved 2026-11-19." This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an e. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an e. (2026). This appears to show an illegal position, with white to move and the black king in check, but nonetheless serves as an example of the notation. Wikipedia revision 1362104116, retrieved 2026-11-19. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  9. It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information directly. Wikipedia revision 1362104116, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information directly. Wikipedia revision 1362104116, retrieved 2026-11-19." It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information dire. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information directly. Wikipedia revision 1362104116, retrieved 2026-11-19." It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information dire. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information dire. (2026). It is explained elsewhere that white is to move — note again that Forsyth notation does not encode this information directly. Wikipedia revision 1362104116, retrieved 2026-11-19. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  10. Revised PGN standard available · retrieved 2026-02-11 · rev 1362104116
    Cite this reference

    MLA "Revised PGN standard available." Edwards, Steven J. 2026-02-11. https://groups.google.com/g/rec.games.chess/c/MkLV6dIwGU4/m/GfbtTyR6o6sJ?pli=1. Accessed 26 November 2026.

    Chicago "Revised PGN standard available." Edwards, Steven J. 2026-02-11. https://groups.google.com/g/rec.games.chess/c/MkLV6dIwGU4/m/GfbtTyR6o6sJ?pli=1.

    APA Edwards, Steven J. (2026). Revised PGN standard available. Retrieved November 26, 2026, from https://groups.google.com/g/rec.games.chess/c/MkLV6dIwGU4/m/GfbtTyR6o6sJ?pli=1

  11. 16.1: FEN · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "16.1: FEN." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "16.1: FEN." Section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Section "16. (2026). 16.1: FEN. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  12. 9.7.1: Tag: SetUp · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "9.7.1: Tag: SetUp." Sections "9. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "9.7.1: Tag: SetUp." Sections "9. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Sections "9. (2026). 9.7.1: Tag: SetUp. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  13. 16.1: FEN · retrieved 2026-11-18 · rev 1362104116
    Cite this reference

    MLA "16.1: FEN." Last paragraph in section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116. Accessed 26 November 2026.

    Chicago "16.1: FEN." Last paragraph in section "16. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1362104116.

    APA Last paragraph in section "16. (2026). 16.1: FEN. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1362104116

  14. Gittins, Frederick Richard (1897). The Chess Bouquet . Feilden, McAllan & Company. p. 123 . Retrieved 2026-02-12 . Wikipedia revision 1362104116, retrieved 2026-11-19 · retrieved 2026-02-11 · rev 1362104116
    Cite this reference

    MLA "Gittins, Frederick Richard (1897). The Chess Bouquet . Feilden, McAllan & Company. p. 123 . Retrieved 2026-02-12 . Wikipedia revision 1362104116, retrieved 2026-11-19." Gittins, Frederick Richard (1897). 2026-02-11. https://www.chesshistory.com/winter/extra/notation.html#:~:text=N.%205051%20from-,page%20123%20of%20The%20Chess%20Bouquet,-by%20F.R. Accessed 26 November 2026.

    Chicago "Gittins, Frederick Richard (1897). The Chess Bouquet . Feilden, McAllan & Company. p. 123 . Retrieved 2026-02-12 . Wikipedia revision 1362104116, retrieved 2026-11-19." Gittins, Frederick Richard (1897). 2026-02-11. https://www.chesshistory.com/winter/extra/notation.html#:~:text=N.%205051%20from-,page%20123%20of%20The%20Chess%20Bouquet,-by%20F.R.

    APA Gittins, Frederick Richard (1897). (2026). Gittins, Frederick Richard (1897). The Chess Bouquet . Feilden, McAllan & Company. p. 123 . Retrieved 2026-02-12 . Wikipedia revision 1362104116, retrieved 2026-11-19. Retrieved November 26, 2026, from https://www.chesshistory.com/winter/extra/notation.html#:~:text=N.%205051%20from-,page%20123%20of%20The%20Chess%20Bouquet,-by%20F.R

  15. The Shorthand Method of Noting Chess Positions · retrieved 2026-02-11 · rev 1362104116
    Cite this reference

    MLA "The Shorthand Method of Noting Chess Positions." a b Forsyth, David (1883-02-10). 2026-02-11. https://www.chesshistory.com/winter/extra/notation.html#:~:text=10%20February%201883%20edition%20of%20the%20Glasgow%20Weekly%20Herald. Accessed 26 November 2026.

    Chicago "The Shorthand Method of Noting Chess Positions." a b Forsyth, David (1883-02-10). 2026-02-11. https://www.chesshistory.com/winter/extra/notation.html#:~:text=10%20February%201883%20edition%20of%20the%20Glasgow%20Weekly%20Herald.

    APA a b Forsyth, David (1883-02-10). (2026). The Shorthand Method of Noting Chess Positions. Retrieved November 26, 2026, from https://www.chesshistory.com/winter/extra/notation.html#:~:text=10%20February%201883%20edition%20of%20the%20Glasgow%20Weekly%20Herald

  16. Standard: Portable Game Notation Specification and Implementation Guide · retrieved 2020-07-24 · rev 1362104116
    Cite this reference

    MLA "Standard: Portable Game Notation Specification and Implementation Guide." a b c d e f g h i "Standard: Portable Game Notation Specification and Implementation Guide". 2020-07-24. https://archive.org/download/pgn-standard-1994-03-12/PGN_standard_1994-03-12.txt. Accessed 26 November 2026.

    Chicago "Standard: Portable Game Notation Specification and Implementation Guide." a b c d e f g h i "Standard: Portable Game Notation Specification and Implementation Guide". 2020-07-24. https://archive.org/download/pgn-standard-1994-03-12/PGN_standard_1994-03-12.txt.

    APA a b c d e f g h i "Standard: Portable Game Notation Specification and Implementation Guide". (2020). Standard: Portable Game Notation Specification and Implementation Guide. Retrieved November 26, 2026, from https://archive.org/download/pgn-standard-1994-03-12/PGN_standard_1994-03-12.txt

Cite this article

MLA

"Forsyth–Edwards Notation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/forsyth-edwards-notation. Accessed 26 November 2026.

Chicago

"Forsyth–Edwards Notation." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/forsyth-edwards-notation.

APA

encyclopegia.org. (2026). Forsyth–Edwards Notation. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/forsyth-edwards-notation

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date1994-03-12Wikipedia

Related articles

Blake Edwards

stub · references available

Conway chained arrow notation

stub · references available

Paul Edwards

stub · references available

Edwards

stub · references available

Torri Edwards

stub · references available

Duncan Edwards

stub · references available

I. E. S. Edwards

stub · references available

Snitz Edwards

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1362104116 · 0.5 · snapshot enwiki-001362104116

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.