Write and run Python code with syntax highlighting. No installation needed.
Click "Run" to execute your code...
Write and run Python code directly in your browser with professional syntax highlighting. Perfect for learning Python, testing small scripts, or sharing code snippets.
Simply write your Python code in the editor, then click the "Run" button or press Ctrl+Enter. Your code will execute in your browser using Pyodide (Python 3.12). No installation needed!
Yes! It supports Python 3.12 with most core features including variables, loops, functions, classes, lists, dictionaries, and the input() function. Some external libraries are not available, but pure Python works perfectly.
When your code calls input(), a dialog box will appear asking for input. Type your response and click Submit. The program will continue with your input. This works exactly like running Python locally!
Yes! Use the Download button to save your code as a .py file. You can also use the Copy button to copy the code to your clipboard, or load sample templates to get started quickly.
Pyodide is a Python runtime compiled to WebAssembly that runs entirely in your browser. Your code never leaves your device - 100% private and secure. The first load takes longer as Python is downloaded, but subsequent runs are instant.
Currently, this editor focuses on core Python. Pyodide does support NumPy, Pandas, and Matplotlib, but they increase load time significantly. We're working on adding library support in future updates!
Yes, completely free! Guest users get 3 free runs. For unlimited access, sign up for free - no credit card required.
The first time you run Python, the Pyodide runtime (about 15MB) needs to download and initialize. This takes 5-10 seconds depending on your internet speed. After that, Python stays cached and runs instantly. This only happens once!