Chess Solver
Set up any chess position — or paste a FEN — and a real engine gives you the best move, an evaluation bar, the likely line and any forced mate. Then switch to Play to play the position out, let the engine move, or watch it play itself. Everything runs in your browser, nothing is uploaded.
How to Use the Solver
The board has two modes. In Set up, choose a piece from the palette and click a square to place it — hold and drag to place several, use Erase to clear one, or press Start position, Clear board or Flip board. Set whose turn it is, then press Analyze: the best move lights up with its notation, the bar on the left shows the evaluation, and the likely line is written out below. Castling rights are worked out automatically from where the kings and rooks stand. Switch to Play to play the position out — click a piece then a highlighted square to move, press Engine move to let the engine reply, Run to watch it play both sides, and Undo to take moves back. Pick a Lesson to practise a specific win, or Random game for a fresh position to play every time. You can also paste a position as FEN, or Copy FEN to save one.
How the Solver Works
The engine is a real negamax search with alpha-beta pruning, a quiescence search for tactics and a positional evaluation (material, piece-square tables, king safety, pawn structure and passed pawns). From the position you set up it searches ahead as far as it can in about a second, then reports the move that leads to the best result it can see, the evaluation in pawns from White's point of view, and any forced checkmate as mate-in-N. It's strong club-level analysis — excellent for finding the best move and spotting tactics — but it runs entirely on your device, so it isn't claimed to match a dedicated engine like Stockfish. Nothing you enter leaves your browser.
Frequently Asked Questions
How do I enter a position?
Can I play the position out?
What does the evaluation bar mean?
Is this as strong as Stockfish?
Does it detect checkmate and stalemate?
Is anything uploaded?
Related Solvers & Games
Prefer to play? Take on the AI Chess game with four difficulty levels. Solving other games? Try the Tic-Tac-Toe Solver or the Connect 4 Solver, or browse all AI solvers & analyzers.
Add This Chess Solver to Your Website
Put the Chess Solver on your own page — free, no sign-up, no watermark. It runs entirely in your visitors' browsers. Copy the snippet and paste it into your page's HTML.