Press Escape, then Tab, to move focus out of the editor or terminal.
Free and open source · 19 languages
An online REPL and editor for C, C++, Go, Python, Rust and 14 more. Type a code snippet and see the result instantly.
Try a language
New here? Take the 1-minute tour
No files yet. , or right-click the folder above to create one.
Guest workspace
Your workspace
Files are deleted 1 hour after your last visit.
Checking space…
A program must listen on a port from 1024 up. These are examples: check the options of your framework.
Type a file of your workspace, such as web/index.html, or a port, such as 5000 or 5000/api.
REPL stands for Read-Eval-Print Loop. It reads what you type, evaluates it, prints the result, then waits for your next line. Everything you defined so far is still there.
There is no compile step and no project to set up, so it is the fastest way to:
>>> price * qtyReads the line you type.250 * 4Runs it with your earlier values.>>> Waits for your next line.1000Shows the result straight away.A Python REPL session
>>> price = 250 >>> qty = 4 >>> price * qty 1000 >>> price * qty + 50 1050
hyperyolo ~ $
Press Run to compile and execute your file. Choose Debug from the Run menu to step through C, C++, Go, Rust and assembly with gdb.
(gdb) break main.c:5 Breakpoint 1 at main.c, line 5. (gdb) run Breakpoint 1, main () at main.c:5 (gdb) print i $1 = 1
Open a second terminal inside the same sandbox. Run a server in one, a client in the other.
tab 1 $ python3 -m http.server 8000 Serving HTTP on 0.0.0.0 port 8000
tab 2 $ curl -sI localhost:8000 | head -1 HTTP/1.0 200 OK
Share one link. Your partner sees your terminal, editor and chat, and can type along.
Ask why something fails. Genie sees what's in your editor and suggests a fix you can insert in one click.
300+ DSA problems to start with, or generate your own by topic and level. A Genie coach gives hints, reviews your solution and states its complexity, and never just hands you the answer.
Start practisingCreate, upload and download files. Sign in and your workspace is waiting next time.
Open your workspacePick one and it opens in the workspace above, ready to type.
No. Start as a guest right away. Guest files are removed an hour after your last visit; sign up free to keep them.
Yes, you can run code in the browser for free. The source code is open on GitHub. Some extra services may be paid in the future. You can support the project through GitHub Sponsors.
Up to 60 minutes per connection. The terminal shows the time left, and one click starts a new session.
Yes. Press Share and send the link. They see your terminal and editor live and can type along. The link works for the time you choose (a guest up to 1 hour, a signed-in user up to 7 days) and is the same after a reload; End session ends it at once and deletes its data. If you close your editor, they are told you have left and can copy the code to their own editor.
Genie is the AI helper. It reads your editor and terminal, so you can ask why something fails. Its code suggestions show as a diff you accept or reject, with Undo. Open it with Ask Genie or Ctrl+K. Read the Genie guide for the full tour.
Yes, in Agent mode, for signed-in users. Genie writes code, runs it and reads the output step by step. It asks before it changes your editor, runs your program or types in your terminal, and you can press Stop at any time. A task starts with a plan it ticks off, edits one part of a file instead of rewriting it, runs your program after a change and says what it checked. When it uses its steps it pauses and you can Carry on, and Undo this task puts the changed files back. A GENIE.md file in your workspace gives it notes about your project. Genie is told how the editor and the terminal work, so it sees both and can run your code. A small model does Agent mode less well: when you pick one, the panel says so and can switch to the model the site suggests. An empty chat offers a few starter questions. With the Preview open it can read your page, try it like a visitor (click, type, scroll) and check its errors, and it asks before it acts. On a phone Genie is the third tab, beside Editor and Terminal.
Not here? See all the questions, or ask Genie.
Pick a language and start typing. No install.
docker run -p 8080:8080 vickeykumar/openrepl:latest -p 8080