Chess Board Editor
Build any position, set the side to move, and copy its FEN or open it for analysis.
Choose a piece, then tap a square. Drag to reposition. Eraser removes a piece.
Basic position checks passed. This does not prove the position can arise from a legal game.
How to set up a position
- Choose a piece from the palette and tap the square where it belongs. Use the eraser to remove a piece, or Clear to start from an empty board.
- Choose whose turn it is. Turn on castling rights only if that king and rook haven't moved yet.
- Leave en passant set to None unless the last move was a two-square pawn push next to an enemy pawn.
- Press Use this position when the board looks right.
Copy or paste a FEN
The FEN box always shows the current position as one line of text. Copy it to save the position or send it to someone. To load a position from another site, paste its FEN into the box and press Load.
The starting position looks like this: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1. The first part lists the pieces rank by rank from Black's side, with numbers for empty squares. Then come the side to move, castling rights, the en passant square and two move counters. FEN vs PGN explains when to share one position and when to share a whole game.
What to do next
Once your position is ready, you can find the best move with one click: press White to move or Black to move and Stockfish answers for that side. To compare several engine lines and play out variations, open the position on the analysis board.
You can also share the position as a link, which opens the same board on any device.
FAQ
How do I set up a custom chess position?
Pick a piece from the palette and tap the square where it goes. Use the eraser to remove pieces, or Clear to start from an empty board. Then set the side to move and castling rights, and press Use this position.
What is a FEN string?
A FEN is one line of text that describes a chess position: where every piece stands, whose turn it is, castling rights, any en passant square, and two move counters. You can paste it into almost any chess site or engine to load the same position.
Can I set up an illegal position?
You can place pieces freely while you edit, even without kings. To analyze it, the position must be valid: one king per side, no more than 16 pieces or 8 pawns per side, and the side that just moved can't be in check. Castling and en passant must match the board.