Python Playground — Run Python Offline

Run real Python 3 in your browser with NumPy, Pandas, Matplotlib, scikit-learn and more.

Support
Works Offline
Privacy First
No Login
No API
WebAssembly
Web Worker

About the Python Playground — Run Python Offline

A full CPython 3.12 interpreter compiled to WebAssembly (Pyodide) that runs inside a Web Worker in your browser. Write code with syntax highlighting, feed input() from a stdin box, see printed output and Matplotlib charts, use top-level await, stop runaway loops with a timeout, and install extra pure-Python packages from PyPI. Popular libraries such as NumPy, Pandas, SciPy, scikit-learn, SymPy, Matplotlib, Seaborn and NetworkX load automatically when imported. Your code never leaves your device.

Popular uses

  • python playground
  • run python online
  • python compiler online
  • python interpreter browser
  • pyodide
  • online python ide
  • numpy online
  • pandas online

Examples

Hello world

print(sum(range(10)))

Output

45

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-11-04 · Runs entirely in your browser