Description
stockfish.wasm is a WebAssembly port of the Stockfish chess engine, which the Lichess analysis board uses. It runs the engine in a web browser with multiple threads, using the WebAssembly threading proposal. The README warns that this repository is kept for compatibility with old browsers, and that the current ports are maintained in the separate stockfish-web repository. To run threads, the top-level page needs specific cross-origin headers, and the included files need another header. Without them, the thread feature check fails. Support is listed for Chromium 79 and later and Firefox 79 and later, with older browser versions noted in the README. Other browsers are not supported, and the README points to stockfish.js for a more portable, single-threaded version. The README also lists current limits, such as a 1024 MB hash table and a cap on threads. The code is public on GitHub.…
Highlights
- Stockfish chess engine compiled to WebAssembly
- Multi-threaded in supported browsers
- Feature detection for threads
- Used by the Lichess analysis board
- Legacy repository for older browsers
Ratings & Reviews
No ratings yet
Be the first to rate Stockfish.wasm.
People also visit
Stockfish.js
The strong open source chess engine Stockfish compiled to JavaScript
Stockfish.wasm FAQ
What is stockfish.wasm?
A WebAssembly build of the Stockfish chess engine that runs in the browser.
Which browsers work?
Chromium 79 and later, and Firefox 79 and later, for full threading support. Other browsers are not supported.
Is this the current version?
The README says this repository is kept for compatibility with old browsers, and current ports live in stockfish-web.
What limits apply?
The README lists a hashtable of 1024 MB and a thread cap of 32, and advises checking device memory and CPU count first.
What are the best Stockfish.wasm alternatives?
Popular alternatives to Stockfish.wasm include WebAssembly Online Checker, Stockfish Mac and Celeste Wasm. See all Stockfish.wasm alternatives

