Online Interpreter

Select a Language

Example Code

Help

It is an online environment for interactively exploring programming languages. The name comes from the read-eval-print loop, the interactive toplevel used by languages like Lisp and Python.

How do I start?

Once you have selected a language, start by typing an expression into the console on the right side of the screen and pressing Enter. Your expression will be evaluated in the selected language and its result will be printed. Repeat until satisfied. You can also try some ready-to-run examples by clicking on the button labeled "eg".

Can I use variables or other state?

Yes! The repl.it interpreters fully support variables, state and side effects in all the supported languages.

Can I save my session?

Yes! You can save your session and share it with others by clicking on the chain link icon in the top right corner. Both the editor's content and the REPL session will be preserved and can be executed once again using the created link to continue from where you left off.

Yes! As a web application, repl.it can be used on any device that has a modern web browser. Currently, we have full support for Android devices, and partial support for iOS.

How does repl.it work?

All code processed by repl.it runs entirely on your computer, with no server-side evaluation. It uses language interpreters written in JavaScript to execute your code and keep track of state. Some of the interpreters (like BiwaScheme) are originally implemented in JavaScript, while others (like Python) were compiled from their original lower-level implementations using Emscripten.

Console Shortcuts

Enter

Evaluate the entered command.

Shift+Enter

Continue to the next line.

Tab

Indent.

Shift+Tab

Unindent.

Up

Previous history item.

Down

Next history item.

Ctrl+Up

Move to the line above the cursor.

Ctrl+Down

Move to the line below the cursor.

Ctrl+E

Move to the end of the current line.

Ctrl+A

Move to the start of the current line.

Ctrl+K

Clears the console.

Ctrl+Z

Cancel current prompt.

Ctrl+L

Open languages selector.

Ctrl+G

Open examples preview.

Ctrl+H

Open this help page.

Ctrl+S

Save session (new revision).

Escape

Close current view.

About Us

The repl.it project is an attempt to create an online environment for interactively exploring programming languages. It provides a fully-featured terminal emulator and code editor, powered by interpreter engines for more than 15 languages.

All our interpreters are written in (or compiled to) JavaScript, and run completely on the user's device, regardless or whether it's a desktop, laptop or phone.

Amjad Masad is a software engineer at Facebook on the JavaScript infrastructure team. He lives in NYC and dabbles in improv comedy.

Max Shawabkeh is a software engineer at Google and a Python enthusiast. He fancies himself a jack of many programming trades but a master of none. He reads fantasy books and likes good food.

Haya Odeh is a freelance designer based in NYC. Coming from a visual design background, she can be seen obsessing over pixel perfection but also cares deeply about the user experience. She runs long distance and likes to cook food.

you can always get to this page from your account dropdown menu

3

Thank You

Thank you for your purchase. Please allow up to 24 hours as we get your
new server ready and we'll send you an email with all the instructions
on how to get started.
Please feel free to contact us with any questions:
[email protected]