Overview

What BrowserCode is, the runtimes it uses, and what they support.

BrowserCode is a development environment that runs in a browser tab. It includes an editor, a terminal, npm, git and a live preview. Nothing is installed on your machine, no server runs your code, and your files stay in your browser.

Runtimes

Node.js projects, GitHub clones and coding agents run on BrowserPod. BrowserPod runs each project in a browser MicroVM: a Linux-like virtual machine compiled to WebAssembly that runs entirely in the tab. Java projects run on CheerpJ, a JVM for the browser.

The runtime determines where a project can run:

  • BrowserPod requires Chrome or Edge 137+, Firefox 153+ or Safari 27+. It does not run on iOS or iPadOS yet.
  • CheerpJ has no such requirements. Java projects run on phones and older browsers, and Java embeds work on pages that cannot send cross-origin isolation headers.

What's included

Node.js 22 with npm and pnpm, a POSIX filesystem, and common command line tools, including git, curl, ripgrep and fd.

  • python3 is available with its standard library only. pip is not installed and PyPI is not reachable.
  • Rust programs run, but no Rust toolchain is included. Build them outside BrowserCode.

Native binaries do not run. BrowserPod executes WebAssembly, so npm packages that ship prebuilt binaries for x64 or arm64 fail. This is the most common cause of failed projects. For workarounds, see Running JavaScript projects with native binaries.

Networking

Outbound connections can only reach an allowlist of hosts: the npm registry, GitHub and the major AI provider APIs. Requests to any other host fail to resolve.

When your app listens on a port, BrowserPod creates a Portal: a URL that forwards requests to the server running in your tab. BrowserCode shows that URL in the Preview pane.

Storage

Projects are stored in your browser and are not uploaded anywhere. Clearing site data for browsercode.io deletes them. To keep a project, download it as a zip from the Files pane, or use Share to save it as a link.

Troubleshooting

Most failures fall into one of two groups:

  • The project needs something a MicroVM cannot provide, usually a package with a native binary. Fix these in the project.
  • A bug in BrowserCode. Please open an issue.

BrowserCode is open source, so you can also read the code or run your own copy.

For AI agents

llms.txt describes BrowserCode for AI agents and assistants: what it can run, its URL formats and its limits. Give it to an agent that generates BrowserCode links or embeds. For the same information in these docs, see Reference.

Next
The IDE playground