Py Studio is a browser-based code editor and online compiler for learning,
writing, and testing programs in Python, JavaScript, C, C++, C#, and Java.
Choose a language from the editor's left-hand list, start with a built-in example,
and run your code in the output panel.
The editor uses Monaco for syntax highlighting and code suggestions. Each language
has its own editor buffer, and source code can be downloaded with a matching file
extension such as .py, .js, .c, .cpp,
.cs, or .java.
Write Python programs and run them in the browser with Pyodide. Common data-science
packages, including NumPy and Pandas, are available in the Python runtime. The
browser loads its editor and runtime assets online; Python code runs in the browser
after those assets are available.
JavaScript online editor and runner
Test JavaScript in a browser worker and view console.log() output in the
console panel. JavaScript execution happens in the browser rather than through the
Wandbox compiler service.
C online compiler
Create and run C programs in the editor. C source is sent to Wandbox for compilation
and execution, and compiler messages and program output appear in the output panel.
C++ online compiler
Write C++ source for console programs and compile it through Wandbox. The online
editor displays compiler messages and program output.
C# online compiler
Try C# console programs in the browser editor. C# compilation and execution use
Wandbox, so this language mode requires an internet connection and sends the source
code to that service.
Java online compiler
Edit Java programs and run them with the Wandbox Java compiler. Java source is sent
to Wandbox for compilation and execution; results are returned to the editor's output
panel.
Online code editor features
Separate language selection and preserved code buffers
Language-specific Hello World, variables, and loop examples
Monaco syntax highlighting, code suggestions, search, undo, and redo
Python code formatting and configurable editor theme and font settings
One-click source downloads using the selected language's file extension
A responsive layout for desktop, tablet, and mobile screens
To try an example, choose a language, select an example from the Examples menu, and
press Run. Use the download control to save the current source file.
How code execution and privacy work
Python and JavaScript execute in the browser after the required page and runtime assets
load. C, C++, C#, and Java are compiled by Wandbox: selecting Run sends that source code
to Wandbox over the internet. Do not submit passwords, API keys, personal information,
or other confidential code. All language modes need an internet connection to open the
editor; the compiled-language modes also need a connection to Wandbox each time they run.
Who can use Py Studio?
Py Studio is designed for students practicing programming fundamentals, beginners
comparing language syntax, and developers who want a quick browser-based place to test
small code examples. The language-specific starter programs make it easy to compare
loops, variables, and console output across Python, JavaScript, C, C++, C#, and Java.
Frequently asked questions
Which programming languages can I use?
The editor supports Python, JavaScript, C, C++, C#, and Java.
Can I run every language offline?
No. The page loads editor and runtime assets online. Python and JavaScript execute in
the browser after those assets load. C, C++, C#, and Java require an internet connection
because their source is compiled and run by Wandbox.
Does the compiler send my source code to a server?
Python and JavaScript run in the browser. C, C++, C#, and Java source is sent to Wandbox
when you run it. Avoid submitting confidential code or secrets.
Can I download code in its original language format?
Yes. The download uses a language-specific filename and extension: .py,
.js, .c, .cpp, .cs, or .java.
Py Studio uses Monaco Editor and Pyodide for the editor and browser-based Python runtime.
Python is a trademark of the Python Software Foundation; Py Studio is an independent
product and is not affiliated with or endorsed by the Python Software Foundation.