Monday, June 29, 2026
BCN.
Gaming

A High Schooler Got Half-Life 2 Running in a Browser Tab

No download, no launcher. A developer named slqnt compiled Valve's 2004 shooter to run in a browser, and it works better than it should.

John Spencer

June 26, 2026

A developer who goes by slqnt put the whole of Half-Life 2 in a browser tab. No download, no launcher, no Steam window. You open a page, wait a few seconds for some files to land, click New Game, and you are walking through City 17. The kicker is that slqnt is a high schooler, and the project came together in about three months.

The port lives at hl2.slqnt.dev, and it is sitting on slqnt's personal portfolio alongside other web ports and decompilation projects. When you load it, the page asks for permission to use your browser's persistent storage, then pulls down the game data. The files are small by modern standards. The biggest one is around 12MB and most of the rest are under 1MB, so you are not quietly filling your drive with a 2004 shooter.

It actually runs

This is the part that should not work as well as it does. Half-Life 2 was built to run on Windows, against a real graphics driver, and slqnt got it compiled down to run inside the browser instead using the same WebAssembly plumbing that powers other in-browser ports. Patrick O'Rourke at XDA tried it and said it "runs shockingly well," with a few graphical glitches and some minor slowdown but nothing that breaks the experience. A second hands-on from GamesHub reported a high, stable frame rate on their machine.

It is not flawless, and slqnt is upfront about why. From the project's own writeup, the rough edges break down like this:

  • Facial animations are off. Valve's facial work was a showpiece in 2004. Here it was causing crashes and tanking performance, so it got switched off.
  • Crouch moved to C. Holding Ctrl in a browser fires off shortcuts (save page, and so on), so the default crouch bind had to go somewhere safer.
  • Level loads are the weak point. When the game tries to block-load a new area the way it did two decades ago, the browser does not love the sudden spike, and the tab can crash. Clicking away mid-load makes it worse.

slqnt also says Episodes 1 and 2 are on the list, and expects them to come together faster now that the unexpected bugs, broken textures, and voice line issues from the first pass are known quantities.

The part Valve has to decide about

Here is the asterisk. This is an unofficial release with no sign-off from Valve. More to the point, unlike some browser ports that check whether you actually own the game before letting you in, this one does not appear to ask for proof of purchase at all. It just hands you Half-Life 2.

That is the kind of thing that usually gets a project a takedown notice. Whether it does here is up to Valve, and Valve has a longer leash for fan work than most publishers. The company has historically let mods, remasters, and community projects breathe rather than swinging the legal hammer. XDA's advice was blunt: if you want to try it, do it soon, because either Valve steps in or slqnt's personal site falls over under the traffic.

Worth saying plainly: if you want to actually own and support Half-Life 2, it is cheap and frequently free-to-keep during Valve sales, and the Steam Summer Sale kicked off the same day this port went around. The browser version is a neat trick, not a replacement for the real thing.

Why this one is worth your attention

Strip away the Half-Life 3 jokes that get attached to anything with this logo on it, and what is left is a teenager recompiling a full commercial game engine to run somewhere it was never meant to run, and getting it stable enough that working reporters could play through it. That is a real piece of engineering. The credit here belongs to slqnt, not to a studio or a storefront, and that is most of why it is fun to watch spread.

PC Gamingbrowser portWebAssemblyHalf-LifeslqntHalf-Life 2ValveHalf-Life 2 browser

Keep reading