Skip to content
S

Stockfish.js

The strong open source chess engine Stockfish compiled to JavaScript

by lichess-orgFree

#3768in Developer Tools
0In stores

Description

stockfish.js is the Stockfish chess engine compiled to JavaScript and WebAssembly with Emscripten, so it can run in a web browser. It is mai…

Highlights

  • Stockfish chess engine running in the browser
  • Runs in a web worker, single-threaded
  • Interruptible search with a 32 MB memory cap
  • About 250 KB gzipped
  • Build with Emscripten or Docker

Ratings & Reviews

No ratings yet

Be the first to rate Stockfish.js.

People also visit

S

Stockfish

Beautiful, powerful chess application

Entertainment
Launch
W

Wintrchess

WintrChess

Utilities
Launch
C

CLI Chess

A highly customizable way to play chess in your terminal

Entertainment
Launch
L

Lila Tablebase

Tablebase server

Developer Tools
Launch
S

Stockfish.wasm

WebAssembly port of the strong chess engine Stockfish

Utilities
Launch
L

Lichess Bot

A bridge between Lichess bots and chess engines

Developer Tools
Launch

Stockfish.js FAQ

What is stockfish.js?

The Stockfish chess engine compiled to JavaScript and WebAssembly, so it can run in a web page.

Who maintains it?

The lichess.org team. It is used for local computer analysis on lichess.org.

How big is it?

About 1.4 MB uncompressed and about 250 KB gzipped.

Is it still in active development?

The README says active development has moved to lichess-org/stockfish-web. This repository receives bug fixes to keep older browsers working.

How do I build it?

The README gives build steps that install Emscripten and uglifyjs, and a Docker option.

What are the best Stockfish.js alternatives?

Popular alternatives to Stockfish.js include Lila Tablebase, Lichess Bot and ButtFish. See all Stockfish.js alternatives

Developer Stuff

Badges