Run Session

Select a Language

Example Code

Help

FAQ
What is repl.it?
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.
Is repl.it open source?
Yes! You can explore the code and contribute to various parts of repl.it through our GitHub repositories.
Can I use repl.it on my phone or tablet?
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.

The repl.it code is open source and is available on GitHub.

 

Amjad MasadAmjad Masad is a programmer at Codecademy and a JavaScript fanatic. He usually does frontend development, but is also known to dabble in server stuff. He drives fast cars and likes good food.

Max ShawabkehMax 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.

 

This application is a result of their sushi-powered collaboration.

Browser Version Not Supported
Due to repl.it's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 13+ Firefox 4+ Opera 11.51+
IE 10+ Safari 5+
Let me try anyway!