Press Escape, then Tab, to move focus out of the editor or terminal.

Free and open source · 19 languages

Write it. Run it. Share it.

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

  • No account needed
  • Sandboxed per session
  • Share a live link

New here? Take the 1-minute tour

Fork
Files
untitled
Ln 1, Col 1
Terminal
What is a REPL?

Type a code snippet and see the result instantly.

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:

  • Learn a new language one line at a time
  • Try a snippet before it goes into your project
  • Explore a library or check an expression

A Python REPL session

>>> price = 250
>>> qty = 4
>>> price * qty
1000
>>> price * qty + 50
1050
Getting started

Using the C REPL

Source on GitHub
hyperyolo ~ $ 
  • .help
  • Display brief descriptions of all meta-commands.
Features

Everything you need to go from idea to output

Run and debug in one place

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

Fork a REPL

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

Pair on a live link

Share one link. Your partner sees your terminal, editor and chat, and can type along.

Genie reads your code

Ask why something fails. Genie sees what's in your editor and suggests a fix you can insert in one click.

Why does line 4 raise a TypeError? You're adding a number to a string. Convert it first with str(count).
Read the Genie guide

Prepare for coding interviews

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 practising

Files that stay with you

Create, upload and download files. Sign in and your workspace is waiting next time.

Open your workspace
FAQ

Questions, answered

All 22 questions

Do I need an account?

No. Start as a guest right away. Guest files are removed an hour after your last visit; sign up free to keep them.

Is it really free?

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.

How long does a session last?

Up to 60 minutes per connection. The terminal shows the time left, and one click starts a new session.

Can someone code with me?

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.

What can Genie do?

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.

Can Genie do a task for me?

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.

Your next idea is one click away.

Pick a language and start typing. No install.

Start coding free Or run it on your own machine:
docker run -p 8080:8080 vickeykumar/openrepl:latest -p 8080