Diablo (diablo_web) cover art

Action RPG dungeon crawler · WebAssembly port of the reconstructed Diablo engine

Diablo (diablo_web)

Tristram's cathedral, running as WebAssembly in a browser tab.

Developer
Blizzard North
Released
1996
Platform
PC (Windows)
Players
Single-player (multiplayer steps in the port's player guide)

Diablo is Blizzard North's 1996 action RPG, where you descend sixteen levels beneath the town of Tristram to face the Lord of Terror. The johnimril.github.io version runs the original game logic in your browser through a WebAssembly build of the reconstructed engine, with a free shareware demo ready to play.

Opens the johnimril.github.io version in a new tab. BitRunWasm does not host this game. Never install extensions or launchers a game page asks for.

Controls

Diablo - keyboard, mouse and pad
ActionInput
Walk, attack, talk, pick up itemsLeft click
Attack in place without movingShift + left click
Cast the selected spellRight click
InventoryI
Character sheetC
SpellbookB
Speedbook (quick spell select)S
Quest logQ
AutomapTab
Use belt items1 - 8
Spell hotkeysF5 - F8
Game menuEsc

Desktop mouse and keyboard work best; the port offers touch controls on phones but describes them as limited.

Guide

6 tips for Diablo
  1. Test your device on the demo first

    The shareware demo is small and starts quickly, so use it to check frame pacing and input on your machine before importing a full MPQ. If the demo runs smoothly, the full game will too, since it uses the same engine build.

  2. Export saves regularly

    Characters live in the browser's IndexedDB storage for this profile only. Clearing site data, using a private window or moving to another computer loses them unless you export them from Manage Saves first.

  3. Keep one tab open

    The port blocks a second instance and shows a Game already open warning. Close the other tab or app window and choose Try Again rather than wiping browser data, which would delete your heroes.

  4. Use Shift for safe melee

    Clicking a monster that is out of reach makes your hero walk toward it, often into a crowd. Holding Shift while clicking keeps you planted, which is safer in doorways and narrow corridors.

  5. Fight in chokepoints

    Diablo's monsters swarm in packs. Back into a corridor or doorway so only one or two can hit you at a time, especially against groups of Fallen Ones and skeletons on the early levels.

  6. Install it as an app for faster launches

    The installable web app caches the engine and the demo archive after the first download. Later launches load mostly from disk, which helps on slower connections.

About Diablo

Blizzard North, 1996

The setup is simple and still works: pick a hero, walk into the cathedral beside Tristram, and fight down through the Cathedral, Catacombs, Caves and finally Hell. Levels, monster packs and loot are randomized each time you start a new game, which is why people still replay it nearly thirty years later.

This browser version is a React and TypeScript client by Nikita Maksimov that wraps an existing WebAssembly build of the Diablo engine. That engine comes from the devilution project, which rebuilt the game's source code, and from the earlier DiabloWeb port. Because the game logic is compiled to WebAssembly (WASM), it behaves like the PC original rather than an imitation.

Two start options are offered. Play Free Demo loads the official shareware data, which limits you to the Warrior class and the first two dungeon levels. Load Your MPQ unlocks the full game when you supply DIABDAT.MPQ from a copy of Diablo you own. Retail data is not included on the site.

Saves are kept in your browser's storage on this device, with no cloud sync. The page can also be installed as a web app, which caches the engine so later launches skip most of the download. Updates to the app wait until gameplay and save writes have finished, so an update should not interrupt a session.

How to play Diablo online

  1. Open the johnimril.github.io/diablo_web page in a current desktop browser such as Chrome, Edge or Firefox.
  2. Choose Play Free Demo to start the shareware version straight away, with no files needed.
  3. For the full game, choose Load Your MPQ (or drop the file on the start screen) and pick DIABDAT.MPQ from your own Diablo install.
  4. Create a character, then walk out of town and enter the cathedral to reach dungeon level 1.
  5. Before clearing browser data or switching devices, export your characters from Manage Saves.

Game details

GameDiablo (diablo_web)
DeveloperBlizzard North
PublisherBlizzard Entertainment
Released1996
Original platformPC (Windows)
Browser versionWebAssembly port of the reconstructed Diablo engine
PlayersSingle-player (multiplayer steps in the port's player guide)
GenreAction RPG dungeon crawler
Runs onjohnimril.github.io

Diablo FAQ

Do I need to own Diablo to play this browser version?

No for the demo, which runs the free shareware data. Yes for the full game, which needs DIABDAT.MPQ from your own legal copy loaded through Load Your MPQ.

What does WebAssembly mean for this Diablo port?

The reconstructed Diablo engine is compiled to WASM, a fast binary format browsers run natively. That is why the original game logic works in a tab with no download or installer.

Where are my saves stored?

In your browser's local storage on this device and profile, with no cloud copy. Use Manage Saves to export .sv files, and drop a .sv file on the start screen to import one.

Does it work on a Chromebook?

It should run in Chrome on a Chromebook with a mouse or touchpad, since it only needs a modern browser. Very low-end models may see slowdowns in busy fights.

Can I play on a phone?

The page loads on phones and has touch controls, but the port itself says touch support is limited. A desktop or laptop with a mouse is the intended setup.

What is limited in the shareware demo?

The shareware version only lets you play as the Warrior and stops after the first two dungeon levels. Rogue, Sorcerer and the deeper levels need the full game data.

More games like Diablo

More Adventure & RPG