Building blocks and outside APIs · Runtime

Pyodide

The standard Python interpreter compiled to WebAssembly, so real Python code, including packages such as NumPy and pandas, runs inside a web browser with no server.

In-browser runtimes · Open source · updated

How it works

Pyodide is CPython compiled to WebAssembly with Emscripten. A page loads it from a CDN or your own server and then runs Python code, and Python and JavaScript can call each other and pass objects back and forth. Pure-Python packages install from PyPI with micropip, and many packages with compiled parts (NumPy, pandas, SciPy, Matplotlib, scikit-learn) are pre-built for it. It also runs in Node.js and in web workers, which keeps long jobs from freezing the page.

It powers JupyterLite notebooks, PyScript, and many teaching sites and code playgrounds, where running code on the visitor's own machine avoids maintaining a server-side sandbox. The costs are a download of several megabytes before the first line runs, slower execution than native Python, and limited support for threads and network sockets.

Pyodide pricing

Open source

Free (MPL 2.0).

Approximate, checked September 2026.What the other tools cost

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.