Pyodide · Python 3.12 · Runs entirely in your browser

Python Online Compiler & Playground

A free Python interpreter that runs in your browser — code you write never leaves your laptop to execute, no server round trip. Includes the full Python standard library — collections, heapq, itertools, functools, re, json, all your interview favorites. First load takes ~5 seconds (downloads the runtime); after that, every run is instant. Your draft autosaves in this browser, and follows you to another device if you sign in.

Your saved draft code is saved on this device only. Sign in and it follows you to every device you use.
Output Idle

      
    

Tips

  • Ctrl+Enter (or ⌘+Enter) runs the current code.
  • Your code never leaves your browser — Pyodide is a full Python 3.12 interpreter compiled to WebAssembly.
  • The standard library is available out of the box: import collections, heapq, itertools, functools, re, json, math, datetime…
  • For third-party packages (NumPy, Pandas), call await micropip.install("pkg") first — most pure-Python and many compiled packages work.
  • Looking for interview problems? Try the 100 coding questions page — every solution has a "Run" button.