Chess Board Editor (FEN & PGN)

Set up a chess position, import or copy FEN, and replay or record a game. Edit PGN as text and download the game as a PGN file.

Side to move · WhiteStarting position

Moves

Select a piece, then choose a highlighted square to play a move.

Paste or edit one game. Load PGN to update the board.

Set up a chess position and copy its FEN

Open Position setup to place pieces, rearrange the current position, or start with a clear board. Choose the side to move and set castling rights when the king and rook are on their original squares. Copy the resulting FEN for a puzzle, lesson, or analysis board. To bring in a position from another tool, paste its FEN and select Load FEN.

FEN (Forsyth–Edwards Notation) describes one position. Its six fields store the pieces, side to move, castling rights, en passant target square, halfmove clock, and fullmove number. For example, this is the position after White plays 1. e4 from the starting position:

rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1

Replay, record, and edit a PGN game

In Game, paste a PGN or open a .pgn file. Select a move in the list or use the navigation buttons to replay the main line. You can edit tags, comments, and moves in the PGN text and load it again to check the changes. The export keeps the source text, including comments and variations.

To record a game, select a piece and a highlighted destination. You can add moves at the end of the main line. To record from a custom FEN, load it in Position setup, then select Play from this position. Copy the game or choose Download PGN to save a .pgn file.

When should I use FEN or PGN?

Use FEN when you want to share a single board position. Use PGN (Portable Game Notation) when you need the sequence of moves, with optional details such as player names and comments. The editor works with one standard chess game at a time and processes positions and files in your browser.