PYTHON WEBASSEMBLY · POWERED BY JUPYTERLITE
Run Python and Jupyter notebooks directly in your browser
Analyze CSVs, test algorithms, or teach Python without installing Conda, configuring virtual environments, or uploading data to a hosted notebook server. JupyterLite runs a full JupyterLab + Pyodide WebAssembly kernel right inside your browser tab.
Python code and datasets execute in browser WebAssembly · Notebooks persist locally in IndexedDB.
How to run Python notebooks locally in JupyterLite
- Open JupyterLite. Launch the JupyterLite workspace; the browser loads the static JupyterLab UI and Pyodide WebAssembly runtime.
- Create or upload a notebook. Start a new Python (Pyodide) notebook or drag an existing .ipynb or .csv file into the left file browser.
- Run cells locally. Execute Python code, inspect dataframes, or plot charts directly on your device CPU via WebAssembly.
- Download your .ipynb. Right-click and download modified notebooks to disk so you have a permanent copy outside browser storage.
Why WebAssembly Python beats hosted notebook sandboxes for quick work
Hosted notebook platforms require signing into an account, waiting for a remote container to spin up, and uploading your CSV or JSON datasets to someone else's VM—which also shuts down when idle.
JupyterLite compiles the Python interpreter and scientific stack to WebAssembly via Pyodide. Everything runs inside your own browser tab with zero backend compute, making it ideal for private data exploration, classroom exercises, and reproducible demos.
- Full JupyterLab interface: notebooks, Python console, file browser, and markdown cells.
- Local-first data privacy: sensitive internal CSVs stay in your browser's memory and IndexedDB.
- Zero environment setup: works on Chromebooks, tablets, and locked-down laptops.
Architecture & honest limitations (Pyodide vs. native Python)
JupyterLite on Trendy Tools uses Trendy Tools-hosted JupyterLite and Pyodide kernel wheels under /tools/jupyterlite/. Because Python is running inside a browser WebAssembly sandbox rather than a native Linux VM, there are real architectural boundaries:
- Pure-Python & Pyodide wheels only: standard library modules, pure-Python packages, and scientific packages compiled for Pyodide (like NumPy or Pandas) work; arbitrary C/C++/Rust/CUDA extensions (like PyTorch GPU or native system binaries) cannot run in browser WASM.
- Offline caveats: the initial Pyodide kernel and any micropip-installed wheels must be downloaded while online before offline execution works.
- IndexedDB persistence: JupyterLite saves notebooks in browser IndexedDB storage, which your browser may clear if site data is wiped. Always download important .ipynb files to your local drive.
Frequently asked questions
Does JupyterLite send my Python code or CSV files to a server?
No. Both the JupyterLab interface and the Pyodide Python kernel execute inside your browser tab via WebAssembly.
Can I use packages like NumPy or Pandas?
Yes—packages compiled for Pyodide (including popular scientific Python libraries) and pure-Python wheels are supported. Native OS binaries and GPU/CUDA libraries are not.
Where are my notebooks saved if I refresh the page?
JupyterLite stores workspace files in your browser's IndexedDB. For long-term safekeeping, download your .ipynb files to disk.
Can I run JupyterLite completely offline?
Once the JupyterLite assets and Pyodide kernel wheels are cached in your browser, local notebooks can run offline, though installing new packages requires connectivity. Test your workflow with our offline tools guide first.