Python compiler
Write Python, run it, and see the output. It runs in your browser with no sign-up.
How it works: Python runs inside your browser, using Pyodide (Python compiled for the web). The first run downloads about 10 MB from the internet and your browser keeps it for next time. Your code is not sent anywhere. Press Ctrl+Enter (Cmd+Enter on a Mac) to run.
Output
About this tool
Type or paste Python and press Run. The first run downloads Python for the web (about 10 MB) and your browser saves it, so later runs start quickly. print() output and error messages with the line shown appear in the output box, and the Input box feeds input(). Importing a library such as numpy or pandas downloads it automatically the first time. Code runs in a background worker, so a loop that never ends cannot freeze the page: press Stop, or it stops by itself after the time you choose, and Python reloads on the next run. It needs an internet connection to load Python the first time. Your code is saved on this device and is never sent to our servers.