Chessboard Scanner (Image to FEN)
This innovative feature allows you to convert images or screenshots of a 2D chessboard into FEN (Forsyth-Edwards Notation) format with the help of Artificial Intelligence (AI). It is highly practical for analyzing chess positions from books, videos, or other websites without manually arranging the pieces.
AI Image Detection
Our AI system will detect every piece from your uploaded image and arrange it into a standard digital chessboard format.
Instant Analysis
Once the FEN is successfully generated, you can jump straight to the analysis board to dissect the position further with Stockfish.
Auto & Manual Correction
If the AI misses a piece, you can easily edit and adjust the position manually in the FEN editor before analyzing.
What is FEN?
FEN stands for Forsyth-Edwards Notation. It is the standard text format for describing a chess position. Every chess engine, database, and analysis board can read it, which is why converting a screenshot into FEN is useful: it lets you move a position from an image into any tool that speaks the same language.
A FEN string contains six fields separated by spaces:
| Field |
Meaning |
Example |
| 1 | Piece placement, rank by rank from the 8th rank down to the 1st | rnbqkbnr/pppppppp/... |
| 2 | Side to move: w or b | w |
| 3 | Castling rights | KQkq |
| 4 | En passant target square, or - | - |
| 5 | Halfmove clock (moves since the last pawn move or capture) | 0 |
| 6 | Fullmove number | 1 |
The starting position is written as rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1. Lowercase letters are Black pieces, uppercase letters are White pieces, and the digits count consecutive empty squares.
When this tool saves you time
- You see a position in a YouTube video, stream, or chess book and want to analyse it without setting up the board by hand.
- You are reviewing a diagram from a tournament report and want to check it with Stockfish.
- You teach chess and want to turn a worksheet diagram into an interactive board for students.
- You are studying an opening and want to compare a position from a screenshot against your database.
How to get the most accurate detection
- Use a clear 2D board. The model is trained on flat, top-down diagrams. Screenshots from analysis boards and books work best; angled 3D boards and photos taken with a phone are harder.
- Crop tightly. Drag the crop box so it covers the board and as little of the surrounding page as possible. Extra text and captured pieces confuse the detector.
- Keep the whole board in frame. Missing edges mean missing files or ranks, and the resulting FEN will be wrong.
- Use a large enough image. Tiny thumbnails do not give the model enough pixels per piece. A width of at least 600 pixels is a good target.
- Verify before analysing. Open the detected board, compare it with the source image, and fix any piece the model misread. Detection is fast, not perfect.
- Set the side to move. The piece placement does not tell the engine whose turn it is. Choose White or Black before starting the analysis.
Limitations
Detection works on standard 8×8 chessboards. Variants such as Chess960 (with a different starting arrangement) are detected piece by piece, but castling rights may need to be set manually. The tool does not read clocks, move numbers, or annotations. If the image contains a partially covered board, a piece in mid-animation, or a non-standard piece set, expect to correct a few squares by hand.
All processing happens locally in your browser: your image is not uploaded to a server. Large images may take a few seconds on older devices while the model runs.
Frequently Asked Questions
Is the Image-to-FEN tool free?
Yes. You can scan and correct positions for free. Free accounts have a daily analysis limit when you send a position to Stockfish; the scan itself and the FEN export are not restricted.
Are my images uploaded anywhere?
No. The computer vision model runs locally in your browser using WebAssembly. Your image never leaves your device.
Why did it misread a piece?
Most errors come from low resolution, a 3D or angled board, unusual piece designs, or a crop that includes captured pieces. Recrop the image, use a sharper screenshot, and correct the remaining squares manually before analysing.
Can I copy the FEN and use it in another program?
Yes. Use the Copy FEN button and paste the string into any engine, database, or analysis board that accepts FEN. The castling, en passant, and move counters are included.
Does it work on Chess960 positions?
Piece placement is detected normally. Check the castling field in the FEN before relying on castling rights, because the model cannot infer them from a single image.