A real Linux kernel just booted inside a browser tab, and it did it in about a second. Unkernel, a new open-source project from Pooya Parsa, compiles the actual Linux kernel to WebAssembly and runs unmodified aarch64 user space on top of it. Open the page and you get a working Debian desktop in your tab, with persistent storage, GPU graphics and up to eight CPUs. It went straight to the top of Hacker News this week. Here is what unkernel is, how it works, and how it compares with the browser Linux projects that came before it.
What Unkernel Actually Does
Unkernel is Linux compiled to WebAssembly. Not a Linux-like toy, not an emulator of an old PC: the real kernel, with a real user space. The default setup boots Debian 13 (trixie) on a virtual machine with 4 CPUs and 2 GiB of RAM, and the project’s own boot log shows the whole thing coming up in 1.21 seconds on a 4-CPU configuration.
The pieces are small and concrete:
- The kernel: Linux 7.3.4 and later, compiled to WebAssembly (the current build is v0.2.0-261127-3b71fa5). The unkernel-smp.wasm binary is 3.6 MiB.
- The user space: a standard Debian 13 image (about 74 MiB, streamed when you boot) or Alpine, or just a base shell. Because the user space is unmodified aarch64, ordinary Debian packages run as-is.
- Storage: a data disk, up to 10 GiB, saved in the browser through IndexedDB. Your changes to the root filesystem and everything in /data survive a page reload, and the disk grows as needed but never shrinks.
- CPUs and memory: 1 to 8 vCPUs and up to 8 GiB of RAM. Above one CPU, the SMP kernel runs each CPU in its own Web Worker. Auto mode picks 2 GiB and 4 CPUs for you.
- Graphics: a real display device at /dev/fb0 with input devices, plus guest Mesa GL running on the browser’s WebGL2 through virglrenderer and a virtio-gpu. There is even a /dev/dri device for GPU-aware apps.
- Sound and network: ALSA with /dev/dsp for audio, and guest networking through the Wisp protocol. A web server running inside the guest, like python3 -m http.server, can be opened in a window right over the terminal.
Everything is configurable from a settings panel: kernel command line, distro, disk size, Wayland display support, JIT compilation of hot guest code, and even suspend behaviour where the running system is saved when the tab is hidden and resumed where it left off.
How It Is Built
Unkernel stands on a stack of open-source projects rather than reinventing them. It builds on linux-wasm, Joel Severin’s work on getting Linux to compile for WebAssembly, and uses Emscripten to produce the browser build. Graphics come from virglrenderer and Mesa, which translate guest GPU calls to WebGL2. The desktop is Wayland-based, through a compositor called wland, and the terminal is wterm. The sponsor behind it is Vercel’s open-source program.
The practical effect of that stack: this is not a proof of concept that shows a boot screen. You can open a terminal tab, run apt, start a development server and have a windowed Wayland app appear next to it, all inside one browser tab on a phone or a laptop.

How This Compares With v86 and WebVM
Browser-based Linux has been around for years, and it is worth being precise about what is new here. Projects like v86 emulate an old x86 PC in JavaScript, which is why they feel slow and limited to older kernels and tiny user spaces. WebVM, built on CheerpX, runs x86 Linux binaries by translating them on the fly. Unkernel’s route is different: the kernel itself is compiled to WebAssembly and talks to a virtual machine layer written for the browser, and the user space is native aarch64 code running on top of it. That is why a current mainline-class kernel and a full modern Debian release can boot in about a second instead of crawling.
The JIT layer helps too. Hot guest code is compiled to WebAssembly as it runs, so workloads inside the VM get faster after warm-up instead of staying at emulation speed.
What You Can Do With It
- Try Linux without installing anything: open the page on a school Chromebook or a phone and you have a full Debian system with apt and a package manager.
- Run a throwaway development environment: the data disk persists, so a small project can live in the browser tab between sessions.
- Demo and teach: nothing to install, nothing to break. A safe place to show shell commands, package management or networking basics.
- Test software on aarch64: the guest is a real aarch64 user space, which is useful for quick ARM compatibility checks.
- Experiment with Linux itself: kernel command line options are exposed in the settings, and the kernel log is one shortcut away.
The limits are honest as well. This is a WebAssembly build of the kernel with virtual devices, not bare metal, so anything that needs exotic hardware will not find it. Guest Vulkan is off by default because browsers often expose no WebGPU adapter, and everything lives in your browser profile, which means clearing site data wipes the machine.
Getting Started in the Browser
There is nothing to install. Open unkernel.dev in a modern browser and the boot sequence runs itself: it checks browser features, downloads the unkernel WebAssembly kernel (about 3.6 MiB), compiles it, attaches the streamed Debian image and starts the system. A control panel lets you change CPUs, memory, distro and disk size before rebooting, and the settings note how long each choice takes to apply. If you are on a phone, pinch the terminal to change the font size. If the terminal swallows your key presses, press Escape and then Tab to move focus out of it. Guest web servers opened from the Network section appear in their own window, so testing a small web app inside Debian is a matter of running the server and clicking Preview.
Is It Open Source?
Yes. The source is on GitHub under pithings/unkernel, with full credits for the upstream projects it builds on, including linux-wasm, virglrenderer, Mesa, Emscripten, wland, wterm, Alpine and Debian. The project is released under open-source licenses, with a licenses page on the unkernel site listing the details. Builds are published as releases, and the running page shows you exactly which kernel version and image build you are using.
FAQ
What is unkernel?
Unkernel is an open-source project that compiles the real Linux kernel to WebAssembly and runs it in the browser with an unmodified aarch64 user space. It boots full distributions like Debian 13 and Alpine with persistent storage, GPU graphics and multi-core support.
Does unkernel run a real Linux distro in the browser?
Yes. The default image is Debian 13 (trixie) and it runs as ordinary Debian, so apt packages and regular Linux tools work. The kernel is Linux 7.3.4 or later, compiled to WebAssembly, and the boot completes in around 1.2 seconds on 4 CPUs.
What is the difference between unkernel and v86?
v86 emulates an x86 PC in JavaScript, which limits it to older kernels and small user spaces. Unkernel compiles the actual kernel to WebAssembly and runs native aarch64 user space on top of it, so it can boot a current kernel and a full modern Debian release much faster.
Is unkernel free to use and open source?
Yes. The project is open source on GitHub under pithings/unkernel, sponsored by Vercel’s open-source program and built on documented upstream projects like linux-wasm, Emscripten, Mesa and virglrenderer.
