FEN Visualizer

Paste a FEN to see the position on a board.

White to move
Valid position, White to move
Try

What a FEN contains

A FEN has six fields separated by spaces. Here is what each one says about this position.

  1. 1

    Piece placement

    Ranks 8 to 1, separated by slashes. Uppercase is White (KQRBNP), lowercase is Black; digits count empty squares.

    rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR
  2. 2

    Side to move

    w means White to move, b means Black to move.

    w
  3. 3

    Castling rights

    K and Q for White's king- and queenside, k and q for Black's; - if neither side can castle.

    KQkq
  4. 4

    En passant square

    The square a pawn skipped over with a two-square move, or - if there is none.

    -
  5. 5

    Halfmove clock

    Half-moves since the last capture or pawn move; used for the fifty-move rule.

    0
  6. 6

    Fullmove number

    Starts at 1 and goes up after each Black move.

    1
Sponsored Advertisement
FEN Visualizer guide

How to read a FEN and see the position on a board

2 min read

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

  1. Paste a FEN into the input box. The board updates as you type or paste.
  2. 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.
  3. If you made a typo, the board keeps showing the last valid position, so you never lose what you were looking at.
  4. 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:

  1. 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.
  2. Side to move. w for White, b for Black.
  3. Castling rights. K and Q for White, k and q for Black, or a dash when nobody can castle.
  4. En passant target. The square behind a pawn that has just moved two squares, or a dash.
  5. Halfmove clock. Moves since the last capture or pawn move, used for the fifty-move rule.
  6. 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.

Frequently asked questions

What does FEN stand for?
Forsyth–Edwards Notation. It is a standard way of writing a chess position as one line of text.
Can I use a FEN from another site or program?
Yes. FEN is a standard format, so a position copied from Chess.com, Lichess or any chess program can be pasted here.
Does a FEN contain the moves of the game?
No. A FEN describes a single position and who is to move, not how the game got there. To replay the moves of a whole game, use the PGN Player.
How do I analyse the position I pasted?
Copy the FEN and load it in the free chess engine to see the best moves and evaluation for that position.