↓ Skip to main content

x86 Virtual Machines

A free playground from kevinkeller.org, a blog on AI, data and security. All playgrounds · Articles · Subscribe

x86 Virtual Machines — run real operating systems in your browser via v86. Select an OS and click Start. Click the screen to type. 100+ operating systems: Linux (Arch, Buildroot, DSL), FreeBSD, NetBSD, OpenBSD, Android, Windows, ReactOS, Haiku, and more. Everything runs locally via WebAssembly x86 emulation: nothing you type leaves your machine. Which system to pick, and what to try ↓

Pick a system

Which one should I start?

Learn Linux commandsBuildroot Linux boots in seconds and gives you a shell. Arch Linux is a full distribution with more tools. Both are 32-bit.
Relive the 90sWindows 95, 98 and 2000, Windows 1.01, MS-DOS 6.22 and FreeDOS. The older the system, the faster it runs.
Try something differentHaiku (the heir of BeOS), ReactOS (an open-source Windows clone), KolibriOS (written in assembly, fits on a floppy), QNX and 9front.
Servers and phonesFreeBSD, OpenBSD and Android-x86 4.4. OpenBSD tip: at boot> type boot -c, then disable mpbios and exit.

Looking for games? Five classics you can boot right here, from Doom to a chess game that fits in 512 bytes.

Ten commands

Ten Linux commands to try, with a security eye

Start Buildroot or Arch Linux, click the screen, and type these. Buildroot uses the small BusyBox versions of these tools; if one is missing, try Arch.

  1. uname -aKernel version and architecture. i686 means 32-bit: the emulator has no 64-bit mode.
  2. cat /proc/cpuinfoThe CPU the emulator pretends to be. It is software, translated to WebAssembly as it runs.
  3. dmesg | head -40The kernel's boot log: the emulated disk, network card and keyboard it found.
  4. free -mHow much memory the virtual machine has, out of your browser's.
  5. idWho you are. If it says uid=0, you are root, and every command can change anything.
  6. psEvery process running, and which user owns it.
  7. ls -l /etc/passwd /etc/shadowWhy everyone can read the user list but only root can read the password hashes.
  8. find / -perm -4000 2>/dev/nullPrograms that run with their owner's rights (SUID). The first thing an attacker checks after getting in.
  9. ip addrThe network interfaces. Without a network relay, you'll only see the loopback interface.
  10. echo hello | sha256sumA hash. Change one letter and the whole value changes.

Want the concepts behind these? The networking track and the TLS explainer are good next steps, and the learning page has seven tracks.

Good to know

Questions people ask

Is it safe?
The machine runs inside your browser's sandbox and cannot see your files. Reload the page and you have a fresh machine.
Does anything get uploaded?
No. The disk images download from the v86 project at copy.sh into your browser, and everything you type stays there. If you switch on networking in the v86 settings, the machine's traffic goes through a public relay server, so don't log in to anything real from inside it.
Why is it slow sometimes?
Every instruction of a real PC has to be translated, and code is only compiled once it runs often. Old systems feel fast; Windows 2000 takes patience.
Why won't modern Windows or 64-bit Linux run?
The emulated CPU is roughly a Pentium 4 with one core and no 64-bit mode. Windows XP and newer only work in special setups.
Who made this?
v86 is an open-source project (BSD licence) started by Fabian of copy.sh, with many contributors. This page embeds it.

How far the browser has come

A whole PC in a tab. What else runs in there?

Not long ago, running code meant a server. Today a browser tab boots a 1990s PC, runs Python with its data libraries, and queries Parquet files with a real database engine, all on your own machine. I built PyCorner around that idea: a platform for Python and web apps that run in the browser. Notebooks, Streamlit apps, SQL on DuckDB and PostgreSQL, shared with a link and nothing to install. Most of my playgrounds live there now.

Learning Linux for a job in security or data? It's the foundation under almost every role. Follow a learning track, or ask me for a free mentoring slot.

New on the blog

Share this article