ChessHutGet the app
Free tool

Chess board editor

Set up any position, check that it could happen in a real game, and get its FEN. Then analyse it with Stockfish or play it out against the computer.

♜︎8
♞︎
♝︎
♛︎
♚︎
♝︎
♞︎
♜︎
♟︎7
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
6
5
4
3
♟︎2
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♜︎1a
♞︎b
♝︎c
♛︎d
♚︎e
♝︎f
♞︎g
♜︎h

Drag pieces to move them. Drag a piece off the board to remove it. Drag from the palette to add one.

Castling rights

✓ Legal position

FEN: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Load a FEN

Play and train offline on your phone: get ChessHut

ChessHut is an offline chess app for iPhone, iPad and Android with eight computer rivals, puzzles in 300 levels, a 23-lesson course and classic opening traps. No account needed. Free, with an optional Pro upgrade.

How to use the board editor

  1. Add pieces. Drag a piece from the palette above or below the board onto a square. Or tap a palette piece, then tap squares to place it.
  2. Move or remove pieces. In Move mode, drag pieces around the board. Drag one off the board, or use Erase, to remove it.
  3. Set the details. Choose whose move it is and which castling moves are still allowed.
  4. Check it. A green tick means the position is legal. Otherwise the editor lists what to fix.
  5. Use it. Copy the FEN, open it in the analysis board or play it against the computer.

Practising endgames is a good use of the editor: set up king and queen against king, or king and rook against king, and checkmate the computer. Our guide to check, checkmate and stalemate explains what you are aiming for.

Frequently asked questions

What is a FEN?

FEN (Forsyth–Edwards Notation) describes a chess position in one line of text: where every piece stands, whose move it is, which castling moves are still allowed, any en passant square, and two move counters. Any chess program can open a position from its FEN.

What makes a position illegal?

Each side needs exactly one king, the kings can't stand next to each other, pawns can't be on the first or last rank, and the side that is not to move can't be in check (that would mean the last move left a king in check). The editor tells you which rule a position breaks.

Why can't I tick a castling box?

Castling rights only make sense when the king and that rook are still on their starting squares. Move them back to e1 and h1 (or a1, e8, h8, a8) and the box becomes available.

How do I set up a position from a book or puzzle?

Press Clear board, then drag each piece from the palette onto its square, or tap a piece in the palette and tap the squares where it goes. Set the side to move, then analyse it or play it out against the computer.

Does the editor handle en passant?

The FEN it makes has no en passant square, which is right for nearly every set-up position. If you need one, edit the FEN by hand and paste it into the analysis board.

More free chess tools