Free tool

Chess position from a picture

Upload, paste or photograph a chessboard and get the position in seconds: a FEN to copy and the best move from Stockfish 19. Read in your browser, free, no account, no scan limit.

Works with screenshots from any chess site or app, photos of a screen, book diagrams and photos of a physical board. The image never leaves your device. You check the result on an editor board before anything is analyzed, so one misread square never gives you the wrong best move.

How to get a chess position from an image

  1. Add the image

    Paste a screenshot (Ctrl+V or ⌘V), drop it on the box above, choose a file, or take a photo of a real board on your phone. Screenshots from Chess.com, Lichess, chess apps, videos and puzzle sites all work.

  2. Let it find the board

    The recognizer finds the 64 squares and names the piece on each one, in a few seconds, on your device. If it cannot find the board in a photo, drag the four corner handles onto the corners of the board and it reads again.

  3. Check every square

    An image never says whose move it is, and it can’t show castling rights or en passant. Set those with the toggles, fix any wrong piece by dragging it or tapping a piece and then a square, and turn the board if it was photographed from Black’s side.

  4. Copy the FEN or find the best move

    Once the position is legal you get its FEN, ready to paste into any chess app, and a button that opens it on the analysis board, where Stockfish 19 shows the best move, the evaluation and the main line.

What it can read

Screenshots and screen photos

Any flat 2D board: Chess.com, Lichess, chess apps, puzzle sites, YouTube and Twitch frames, and a photo of a laptop or TV screen taken straight on. This is the most reliable kind of image.

Photos of a physical board

A real board and pieces photographed from above or at a gentle angle, with all four corners in the frame. Standard Staunton pieces read best; steep angles, unusual piece sets and pieces hiding each other cause most mistakes.

Book and magazine diagrams

Printed diagrams are flat boards too, so a sharp, square-on photo of a page often reads. Diagram fonts vary a lot between publishers, so expect to correct a piece or two.

Scan with your phone, analyze on your computer

Sitting at a real board with your laptop nearby? Open the analysis board on the computer and press Scan a board under it. A QR code appears: scan it with your phone’s camera, photograph the board, check the pieces, and press Send to computer. The position lands on the computer’s board and the engine starts. The phone and computer talk through an end-to-end encrypted relay whose key lives only in the QR code, so nobody else can read the position.

On a phone alone, the button opens the camera directly, and you can analyze on the phone or share the position as a link.

Tips for a photo that reads the first time

  • Crop or zoom so the board fills most of the image; a whole web page with a small board reads worse.
  • For a real board, shoot from above if you can, keep all four corners in the frame and avoid glare from lamps or windows.
  • Hold the phone parallel to a screen when you photograph one, and turn off night mode filters that tint the squares.
  • Captured pieces next to the board are fine: only the 64 squares are read.
  • If a piece is wrong, fix it on the editor board instead of retaking the photo. It is usually faster.

How the recognition works

Two small open-source neural networks do the reading, both running in your browser with WebAssembly. Screenshots and flat boards go to fenshot, a tile classifier made for 2D boards. For photos of real boards, a port of ChessLens finds the board’s grid from the corners where squares meet, straightens it, and a 0.84-million-parameter network classifies each square. Its authors report 99.3% of squares and 91.8% of whole boards correct on held-out photos taken from above, which is why the editor step is there. The models download once (about 5 MB, plus the ONNX runtime) and are cached; nothing is sent to a server, and there is no per-scan cost, so there is no daily limit.

Want to compare approaches or build your own? Our guide to open-source chess board recognition covers the projects we tested.

FAQ

How do I find the best chess move from a picture?
Paste, drop or choose the picture on this page (or take a photo of a real board on your phone). Check the pieces, set whose move it is, then press "Find the best move with Stockfish". The position opens on the analysis board, where Stockfish 19 shows the best move as an arrow, the evaluation and the main line.
How do I convert a chess image to FEN?
Add the image, let the scanner read the board, correct anything it got wrong, and set the side to move, castling rights and en passant square. The page then shows the full FEN with a Copy button, ready to paste into Lichess, Chess.com, ChessBase or any other chess program.
Can it read a photo of a real chessboard, not just a screenshot?
Yes. Photos of physical boards are read by a separate model trained on real boards. It works best from above or at a gentle angle, with all four corners of the board in the frame and standard Staunton pieces. If it cannot find the board, you drag the four corners into place by hand.
Is my image uploaded anywhere?
No. Recognition runs in your browser with WebAssembly; the image is never sent to a server. Only the small recognition models and the ONNX runtime are downloaded, once, and then cached.
Is it free? Is there a daily limit?
It is free, needs no account and has no scan limit. Because the reading happens on your own device, each scan costs us nothing, so there is nothing to ration.
Why do I have to set whose move it is and castling?
A picture only shows where the pieces stand. It cannot show whose turn it is, whether a king or rook has already moved, or whether the last move was a two-square pawn push. Those decide the legal moves, so the scanner asks before analyzing.
What if a piece is recognized wrongly?
Fix it on the editor board: drag the piece, or tap a piece and then a square, or pick a spare piece or the eraser and tap squares. You can also turn the board if the photo was taken from Black’s side. The editor warns you when the board looks upside down.
Does it work on iPhone and Android?
Yes, in any modern mobile browser. On a phone the button opens the camera directly. To analyze on a computer instead, open the analysis board on the computer, press Scan a board and scan the QR code with your phone.
Can I scan a position from a chess book?
Often, yes. Printed diagrams are flat boards, so a sharp photo taken square-on to the page usually reads. Diagram fonts differ between publishers, so check the pieces before you analyze.