How to read a FEN and see the position on a board
A FEN is a short line of text that describes one chess position. The FEN Visualizer draws that position on a board, tells you whether the FEN is valid and explains what every part of it says. It is free and needs no account.
What is a FEN?
FEN (Forsyth–Edwards Notation) records everything needed to continue a game from a given position: where every piece stands, whose turn it is, which castling rights remain, whether an en passant capture is possible and how many moves have been played. The starting position, for example, is rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1. Analysis tools, puzzle sites and chess books use FEN to share exact positions.
How to use the FEN Visualizer
- Paste a FEN into the input box. The board updates as you type or paste.
- Check the status line under the box. It says either that the position is valid and which side is to move, or what is wrong with the FEN.
- If you made a typo, the board keeps showing the last valid position, so you never lose what you were looking at.
- Use Copy to copy the FEN again, Clear to start over or Reset to start to go back to the starting position.
Not sure what to try? The page offers a few ready-made positions: the starting position, an Italian Game position and the Lucena position, a classic rook endgame.
The six fields of a FEN
The page lists the six fields of the FEN you entered, each with a short explanation. In short:
- Piece placement. The board from rank 8 down to rank 1, written rank by rank. Capital letters are White pieces, lowercase letters are Black pieces, and a digit counts empty squares.
- Side to move. w for White, b for Black.
- Castling rights. K and Q for White, k and q for Black, or a dash when nobody can castle.
- En passant target. The square behind a pawn that has just moved two squares, or a dash.
- Halfmove clock. Moves since the last capture or pawn move, used for the fifty-move rule.
- Fullmove number. Starts at 1 and goes up after each Black move.
Common reasons a FEN is rejected
- A rank that does not add up to eight squares.
- Fewer than six fields.
- An unknown character, or a value a field cannot have, such as a side to move other than w or b.
The error message points at what the viewer could not accept, so you can correct it quickly.