Half-Life browser port
Short answer
Needs your filesYes, with your own files. As of 13 Nov 2026, Half-Life plays in a browser through WebXash at x8bitrain.github.io/webXash, a front end for the open-source Xash3D FWGS engine compiled to WebAssembly. You load the valve folder of your own Half-Life, for example from Steam, as a folder or a zip; Blue Shift, Opposing Force and Counter-Strike 1.6 work the same way. Valve hasn't released a browser version.
How do I play Half-Life in the browser?
Half-Life runs in WebXash at x8bitrain.github.io/webXash, with the valve folder from your own copy of the game.
- Install Half-Life on your PC, for example from Steam, and find its folder, which contains
valve. - Open WebXash and choose “Open game folder”, then pick the Half-Life folder. Or zip the
valvefolder and choose “Open ZIP” instead. - If the browser asks for permission to read the folder, allow it; WebXash only reads the files and remembers the folder for your next visit.
WebXash is a front end for a WebAssembly build of Xash3D FWGS, an open-source engine that runs Half-Life’s game files. Your saves are kept in the browser’s own storage by WebXash’s save manager.
Can I play Half-Life mods and Counter-Strike in the browser?
Yes. To play an expansion or mod such as Blue Shift or Opposing Force, keep the valve folder next to the mod’s folder
and set the launch option, for example -game bshift, before you load it. Counter-Strike 1.6 loads the same way from
your own cstrike folder.
Why is Half-Life not loading in my browser?
The folder button does nothing
Opening a whole folder needs a browser with folder access, such as current Chrome or Edge on a computer. In other
browsers, zip your valve folder and use “Open ZIP”.
The game starts but says files are missing
The zip or folder has the wrong layout. The valve folder must sit at the top level of the folder or zip you select.
Multiplayer finds no games
WebXash doesn’t come with public servers. Someone has to run the project’s Half-Life Deathmatch or Counter-Strike web server; you then enter that server’s WebSocket address and find it under the in-game LAN games.
Is the Half-Life browser port legal and safe?
The engine is open source, and the full game runs only from files you own, which is the safest kind of port. The start screen also offers Valve’s free Uplink demo and two other packages that load without your files, including a Half-Life Deathmatch package of Valve’s content, so we rate the site amber. x8bitrain.github.io passed our host check on 13 Nov 2026, with no ads, pop-ups or redirects and no Google Safe Browsing warning. Copies of WebXash on other GitHub accounts aren’t the project’s own.
Other ways to play Half-Life
Half-Life is sold on Steam for Windows, Mac and Linux, and its 25th anniversary update in 2023 added the Uplink demo and new deathmatch maps to the main game. Black Mesa is a full fan remake on Steam. Our list of games you can play in a browser covers more web ports, and our guide on using your own game files explains how file-based ports work.
Is the Half-Life browser port safe?
Safe: x8bitrain.github.io
- Domain age: Registration date unknown
- Certificate: Valid HTTPS
- Google Safe Browsing: No warnings
- Malware scan: Not checked
- Pop-ups and redirects: None seen
- Fake download buttons: None seen
- Notification prompt: No prompt
WebXash's own GitHub Pages site, published from the x8BitRain/webXash repository. Loaded on 13 Nov 2026: no ads, pop-ups, redirects or prompts, and Google Safe Browsing found no unsafe content. Copies on other GitHub accounts aren't the project's own.
Full safety check for x8bitrain.github.ioDoes the Half-Life browser port still work? Player reports
No player reports yet. Be the first.
Half-Life browser port status history
-
First release Needs your files
x8BitRain started WebXash on GitHub, a browser front end for a WebAssembly build of the Xash3D FWGS engine that plays Half-Life from your own files. (source)
More questions about the Half-Life browser port
Can you play Half-Life in a browser?
Yes. Half-Life runs in a browser through WebXash, which loads the game from your own files with the Xash3D FWGS engine compiled to WebAssembly.
Is the Half-Life browser version official?
No. WebXash is a fan project by x8BitRain built on Xash3D FWGS, an open-source engine compatible with Half-Life. Valve didn't make it.
Do I need my own Half-Life files for the browser version?
Yes, for the full game. WebXash reads the valve folder from your own installation, for example the Steam copy; only Valve's free Uplink demo and two small packages start without your files.
Is the Half-Life browser port on GitHub?
Yes. WebXash's code is on GitHub as x8BitRain/webXash, and the engine it uses is Xash3D FWGS, also open source on GitHub.
Does Half-Life browser work on mobile?
Not well. The Half-Life browser port is built for keyboard and mouse, and loading your own game folder needs a browser that can open folders, which most phone browsers can't.
Can you play Half-Life multiplayer in the browser?
Yes, with your own server. WebXash connects to Half-Life Deathmatch and Counter-Strike 1.6 servers that run the project's web server in Docker, over the internet or a LAN.
Can you play Half-Life mods in the browser?
Yes. WebXash runs mods and expansions such as Blue Shift or Opposing Force from your own copy: put the mod folder next to valve and pick it in the launch options.