Board editor

Pick a piece, then tap squares to place it. Tap a piece to remove it.

Start from

To move

Castling
Advanced

Guide

Set up any chess position on the board above, from a game you played, a book diagram or an endgame you want to practice. The editor writes the FEN as you go, and you can analyze the position or play it out against a bot.

What the editor does

You place pieces on a board, choose who is to move and set the castling rights. The editor turns that into a FEN, a one-line description of the position you can copy and paste anywhere that reads FEN.

It also works the other way. Paste a FEN and the board shows that position. When the position is ready, send it to the analysis board or start a game from it against a bot.

How to place pieces

Pick a piece from the palette. It holds all six white and six black pieces. Then tap squares to place it, or drag the piece straight onto a square.

The piece stays picked after you place it, so eight pawns take eight taps. To remove a piece, tap it while the same piece is picked. To swap one piece for another, pick the new piece and tap the old one.

Where to start

Choose the starting position, an empty board or kings only. Use the starting position when your target is close to a real game, like a position from move 12 of a game you lost. Use kings only for endgames, since both kings are already on the board and you add only the few pieces you need.

If you already have a FEN, paste it in. The board follows the FEN as you type, so you can also fix a single character and watch the position change.

Side to move and castling

Choose who is to move. It matters more than it looks, because the same position can be winning for White to move and lost for White if Black moves first.

Castling rights are offered only when the king and that rook are on their starting squares. Under Advanced you can choose an en passant square and set the move counters. The editor offers only squares a pawn could have just skipped over, so you can't pick an impossible one.

Analyze or play it

Analyze opens the position in the analysis board. Use it to check the move you missed in a game, or to see how a book position should go.

Play vs bot starts a game from the position, with you playing the side to move. This is good practice for endgames you know in theory but have never converted, like king and rook against king. Play it until you can win it without thinking.

Tips for clean setups

  • Set the side to move before you analyze. A wrong side to move gives you the wrong answer for the right position.
  • When you copy a position from a game, count the pawns on each side when you finish. A missing pawn changes the whole evaluation.
  • Copy the FEN and save it with your notes. You can paste it back later and pick up where you left off.

Questions

What is a FEN in chess?

+

FEN stands for Forsyth-Edwards Notation. It describes one position in a single line: where the pieces stand, rank by rank from the 8th, then who is to move, the castling rights, the en passant square, the halfmove clock and the move number. The editor builds it for you as you place pieces.

Why does the editor say my position is not legal?

+

The editor tells you the reason while the position can't happen in a real game. The usual causes are a missing king, more than one king of a color, more than 16 pieces for one side, a pawn on the first or last rank, or the side that is not to move standing in check. Fix that one thing and the message goes away.

Why can't I turn on castling?

+

Castling rights are offered only when the king and that rook are on their starting squares. If either piece has moved somewhere else on your board, that side can't castle. Put them back on their home squares and the option appears.

What are the move counters in a FEN?

+

There are two. The halfmove clock counts moves since the last capture or pawn move, and it is used for the fifty-move rule. The move number is the full move the game is on. For most positions you can leave both alone. Set them under Advanced if you need them.

Can I set up a position from Black's side?

+

Yes. Flip the board and set up the position the way it looked when you were playing Black. The FEN is the same either way, so flipping changes only how you see the board.

Is the board editor free, and do I need an account?

+

It is free and runs in your browser. You don't need an account to set up positions, copy the FEN, analyze or play against the bot.