GrafixersCrew WhatsApp us

Home › AI Game Development › Excalibur

What is Excalibur? The free TypeScript 2D game engine for the web

Excalibur is a free game engine written in TypeScript for making 2D games in HTML5 canvas — it takes care of the boilerplate engine code so you can get on with making the game.

Excalibur in one paragraph

Excalibur (github.com/excaliburjs/Excalibur) is a free game engine written in TypeScript for making 2D games in HTML5 canvas. Its goal is to make it easier to create 2D HTML/JS games whether you are new to game development or an experienced developer: the engine handles the boilerplate, and you use as much or as little of it as you need. The user documentation is at excaliburjs.com/docs, with installation and getting-started guides, a samples collection, and a fully annotated API reference.

The project appeared on GitHub in January 2013 and passed 2,300 stars by early December 2026, with commits still landing in December 2026. It is open source under the 2-clause BSD licence, which means you can use it in commercial projects, and the team states plainly that it is free and always will be. It is now version 1.0.0 — the project says this version carries its confidence for use in production games, follows semantic versioning, and treats API changes as breaking changes or feature-flags them.

What Excalibur actually does

Excalibur is a 2D engine for the browser. It does not make the game for you — it removes the engine work so the game is the only thing left to build.

1. 2D games in HTML5 canvas

Excalibur is built for 2D games running in HTML5 canvas. Write your game in TypeScript, and the engine provides the structure — scenes, actors, physics, input and the game loop — instead of you writing that scaffolding from scratch for every project.

2. It takes the boilerplate off your hands

The team’s own words: “We take care of all of the boilerplate engine code.” You use as much or as little of the engine as you need, which makes it as useful for a first game jam as for a larger production game.

3. Documentation, samples and a roadmap you can read

The docs site carries installation and getting-started guides and the full API reference, the samples collection shows compiled examples of what the engine can do, and the vNext release roadmap is a public GitHub issue — so you can see what is coming next before you commit to the engine.

4. Tested across browsers, built in the open

Excalibur supports the latest two versions of popular desktop and mobile browsers, and uses BrowserStack automated testing to check the engine across them. It is a community project: questions go to GitHub Discussions, bugs to the issues page, and contributions follow published guidelines and a code of conduct.

Download and setup

Follow the installation guide and the getting-started guide at excaliburjs.com/docs. To contribute or build the engine from source, you need Node.js LTS, then clone the repository, run npm install and npx playwright install --with-deps. A dev container is supported if you would rather not install Playwright and its dependencies on your own machine.

What it costs

Excalibur is free — 2-clause BSD licence, no subscription, no paid tier, no per-seat cost, and commercial use is allowed. The team states it is free and always will be. The only cost is your own time, and any hosting you choose for the finished game.

Who Excalibur is for

Beginners making a first game

You know some JavaScript or TypeScript and want a real game, not a tutorial demo. The getting-started guide and the samples collection give you a working starting point.

Experienced web developers

You already build for the browser and want an engine that stays out of the way. Use as much or as little of it as you need, with a stable 1.0 API behind it.

Game jam entrants

You need a 2D game in a weekend. A typed engine with docs and samples beats writing a game loop from scratch at 2am.

Indie teams shipping on the web

You want a production game in the browser with no licence fees. Version 1.0.0, semantic versioning and commercial use under BSD make it a safe pick.

Excalibur at a glance

Honest limits

Excalibur is a 2D engine for the web — if your game is 3D, or needs a native desktop or console build, this is the wrong engine and you should pick one built for that. It is also, by its own description, a labour of love built in its community’s spare time, so support comes from GitHub Discussions and the Discord rather than a paid support desk. And browser support is the latest two versions of popular browsers, so very old browsers are not a target. Our AI game development service builds 2D web games on engines like Excalibur, so you get a finished, playtested game instead of a weekend of setup.

Want a game without doing the setup?

Excalibur is one of the engines behind our AI game development service: we build your game, playtest everything by hand, and hand over a finished game with its source code. Mini-games from £499, full 2D games from £1,499, 3D games from £2,999. You bring the idea; we do the building.

Have a game idea?

Tell us the idea — a sentence is enough. We will tell you what it takes and what it costs, honestly.