FEN Viewer & Chess Board Editor

Paste a FEN to see the board, edit the position and copy the result.

Chessboard

Starting position

Choose a promotion

Position input

Side to move
Castling, en passant & counters
Castling rights

Set rights from the move history. With Compare both, you can test one en passant target at a time.

Examples

The six FEN fields

This legal example is the standard starting position.

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Piece placement
Eight ranks from 8 to 1. Uppercase means White, lowercase means Black and a digit counts empty squares.
Active color
w for White or b for Black.
Castling availability
KQkq records both sides’ rights. A dash means no castling rights.
En passant target
The square passed over after a double pawn move, or a dash.
Halfmove clock
Half-moves since the last pawn move or capture. It starts at zero.
Fullmove number
Starts at one and increases after Black moves.

Fix common FEN errors

Count eight squares per rank and separate the eight ranks with slashes. Place exactly one king of each color and leave space between the kings. Restore a missing home rook or remove its castling flag. For an en passant target, check the last double pawn move and reset the halfmove clock to zero.

Edit and export

Choose Edit board and select a piece or the eraser. Confirm the turn and position details, then choose Copy FEN. Use the Position Analyzer to compare candidate lines from the validated FEN.