Run real Python 3 (with numpy/pandas/matplotlib) in your browser via Pyodide.
Press Run (or Ctrl+Enter) to execute. First run downloads Pyodide (~6 MB) and may take 10–15s.
Real Python 3 with the standard library + numpy, pandas, matplotlib pre-loaded. Install more packages with await micropip.install("name").
Plots: use plt.show() — figures appear below the output as PNGs.
Privacy: code never leaves your browser. Pyodide is downloaded from jsdelivr CDN on first run.
Write and run real Python 3 in your browser — no install, no server. Powered by Pyodide (CPython compiled to WebAssembly). Comes with numpy, pandas, matplotlib, and the standard library out of the box. Install additional packages with micropip. Plot graphs, work with data, learn Python — everything runs locally in your browser.
Python Playground lets you write and execute real Python 3 code directly in your browser using WebAssembly without requiring any local software installation or server configuration. It comes pre-packaged with essential data science libraries like NumPy, Pandas, and Matplotlib, and allows you to install further packages via micropip. Because the execution happens locally on your device, it offers a secure, zero-setup environment for plotting graphs, processing data, and learning Python.
Good to know: Heavy computational workloads or projects requiring extensive server-side integrations may require a dedicated local or cloud development environment.
Learn how to write, execute, and visualize Python code directly in your browser using the Pyodide-powered Python Playground.
Open the Python Playground tool
Navigate to the Python Playground web page to initialize the WebAssembly-based Python 3 environment in your browser.
Write or paste your Python code
Enter your script into the editor, utilizing built-in libraries like numpy, pandas, or matplotlib for data analysis and plotting.
Install additional packages via micropip
If your project requires specific external libraries, use the micropip command to install them directly into the local browser environment.
Execute the script locally
Click the run button to execute your code; the CPython engine runs entirely in your browser without requiring a server.
Review output and generated plots
Check the console for text output or view the rendered matplotlib graphs and data frames generated by your script.
Estimated time: PT2M
Share this tool
Encode and decode Base64 strings instantly.
Generate v4 UUIDs instantly, single or in bulk.
Explain any code in plain language — all languages supported.
Percent-encode or decode URL strings instantly.
Encode/decode HTML entities like < > &.
Convert Unix epoch timestamps to/from readable dates.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Draw a Secret Santa with exclusions and share a private reveal link for each person.
Make custom bingo cards from your own words — play, print, or share a link.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
Rank anything with quick 1-v-1 matchups → a full ordered list you can share.
Convert Markdown to a fully customized, RTL-ready PDF.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.