Stockfish Chess Engine
Play Stockfish 19 Lite at six levels or analyse any position in your browser: live evaluation, best line, game review, FEN/PGN and a position editor.
Still loading. If the tool doesn’t appear, reload this page.
How to play Stockfish Chess Engine
- Keyboard
- Tab onto the board, arrow keys move between squares, Enter/Space picks a piece up and puts it down, Escape cancels.
- Touch
- Tap a piece, then tap the square to move it to.
- Mouse
- Drag a piece, or click it and then click its destination.
Tips
- Use Undo to take a move back and try another line against the same level.
- In Analysis, the engine's best line shows what a move allowed or missed.
About this tool
Stockfish Chess Engine: Play and Analyze Online
Play against or analyse positions with Stockfish 19 Lite running in your browser as WebAssembly: six difficulty levels, live evaluation and best line, game review, FEN/PGN import and export, and a position editor.
The Stockfish Chess Engine runs Stockfish 19 Lite, the free GPL chess engine compiled to WebAssembly by the Stockfish.js project, inside your browser. Play it as White or Black at one of six levels, play a friend on the same board, or switch to Analysis to see its evaluation, best move and principal variation for any position. Finished games can be reviewed move by move, positions can be pasted as FEN or PGN, and the editor lets you set up a position from scratch. The Lite build uses a small neural network, so it is weaker than full Stockfish on a desktop, but still far stronger than nearly every human player at its top level.
How to use Stockfish Chess Engine
- 1
Choose Play White, Play Black or Analysis, and pick an engine level from Beginner to Maximum.
- 2
Make moves by dragging or tapping pieces; New Game, Undo, Flip, Draw and Resign are under the board.
- 3
In Analysis, the engine follows every position on the board; choose the Target Depth and how many lines to show, or press Analyze and Stop yourself.
- 4
Paste a FEN String or Current Match PGN to load a position or game, or open the Interactive Position Editor and press Apply to Game & Engine.
- 5
After a game, open Stockfish Game Review for a move-by-move rating (Best to Blunder) and an accuracy estimate for each side.
Why use Stockfish Chess Engine
Real Stockfish in the browser
The engine is Stockfish 19 Lite as WebAssembly; it runs in a background worker on your device, so moves and analysis need no server once it has loaded.
Six levels plus full control
Beginner to Maximum combine Stockfish's skill level with a search depth and time limit; the Config tab sets the skill level, number of lines and hash size directly.
Review with clear rules
Each move is graded by how many centipawns it lost against the engine's best move, from Best (10 or fewer) to Blunder (more than 200).
Common use cases
- Practising against an opponent that can be set from easy to very strong, with takebacks
- Checking what the engine thinks of a position from a game, a book or a puzzle
- Reviewing a finished game to find the moves that lost the most
Frequently asked questions
How strong is it?
At the Maximum level it is far stronger than nearly all human players, but the Lite build's small neural network, single thread and the depth limits used in the browser make it weaker than full Stockfish running on a desktop. The lower levels limit skill and depth to make it beatable; they are not calibrated to any rating.
How is accuracy calculated in the game review?
The engine takes a short look at every position of the game (up to depth 10) and compares its evaluation after your move with its evaluation of its own best move. The loss in centipawns sets the label (Best, Excellent, Good, Inaccuracy, Mistake, Blunder) and an accuracy score from 0 to 100 that falls as the loss grows. It is an estimate in the style of popular chess sites, not an official rating.
Does it send my games anywhere?
No. The engine file (about 1.8 MB) downloads from this site the first time and the browser caches it; after that, play and analysis run on your device.
Can I load my own game or position?
Yes. Paste a FEN to load a position or a PGN to load a whole game, and copy them back out to use in other chess software.
What happens to the clock if I switch tabs?
The clocks pause while the tab is hidden, so nobody loses time unseen, and the tool says so when you come back. They start again with the next move or the Clock button.
What is the licence?
Stockfish and Stockfish.js are free software under the GNU GPL v3. The licence and links to their source code are in Engine Settings under GPL-3.0 License & Stockfish Attribution.