Skip to main content

Introduction to Replit

Replit is a coding platform that lets you write code and host apps. It also has many educational features built-in, making it great for teachers and learners too.

You can use Replit in different ways. It can replace some or all of your:

  • Code editors (e.g. VS Code, Sublime Text, IntelliJ)
  • Development environments (e.g. your operating system, and build tools like npm or pip)
  • Cloud providers (e.g. AWS, Netlify)
  • Team collaboration tools (e.g. Google Docs, GitHub)
  • Teaching tools (e.g. Canva, Moodle, Blackboard)
  • Learning tools (e.g. Codecademy, Coursera, Udemy, Udacity)

Every repl you create is a fully functional development and production environment. "Hosting from your editor" makes it easy to iterate quickly on your work, collaborate with others, and get feedback.

We know that's a lot to take in, so we've broken down some of the key features below for developers, startups, teachers and learners. Choose your own path, or go through all of them to become an expert in all things Replit.

Watch these two videos for a general introduction and some tips and tricks, or read on below.

Writing Code: Replit for Software Developers

For software developers, Replit can be your cloud-based IDE (Integrated Development Environment.) Having a cloud IDE offers several advantages. There's no setup – you can access your environment from any device, including your phone or tablet, and everything will just work. You can manage things like dependencies, build scripts, and environment variables in a single place and always be in sync. It's also easy to get help from others – every repl is multiplayer by default, so you can work with other developers in a Google Docs-like environment in real-time from anywhere on the globe.

Each repl is its own Docker container running in a VM, so you can run shell commands and do nearly anything else that is possible from a standard Linux box.

If you already know how to code and are interested in seeing how you can use Replit, go through the following pages:

Introduction to the IDE

This guide shows you how the IDE works.

Working with Files

Each repl has a built-in file system, so you can upload existing files or create new ones, manually or programmatically.

Storing Secrets

You can easily add environment variables to keep others from viewing sensitive data such as API credentials.

Configuring the Run Button

In many cases, Replit will figure out how to run your project for you, but you can also customize exactly what you want to happen when you press the run button.

Integrating with GitHub

You can also link Replit to your GitHub to push changes up or bring in new changes that were made externally.

Using History

We also have time-travel features built-in so you can view previous versions of your code.

Pair Programming

You can invite your friends or colleagues to help you with problems or hack on stuff together.

Hosting Code: Replit for Startups and Indiehackers

You can host anything on Replit, from your basic personal website to a full web application for your startup. Any project you create can be deployed instantly to a temporary domain so you can share with friends or colleagues and get feedback, or permanently to an 'Always On' repl with a custom domain for a production environment.

We also offer a full Key-Value store database, built-in authentication, and templates for many common web frameworks like Django or Ruby on Rails so you can ship your MVP in days instead of months.

If you want to host your project on Replit, take a look at the following articles:

Web Hosting

See how to host a front-end website for your homepage, landing page or portfolio.

Deploying HTTP servers

Deploy a full-blown web application written in nearly any back-end language or framework.

Always On Repls

Keep your repl alive 24/7.

The Replit Database

Store data persistently between Replit runs in a simple Key-Value store that feels like using a local dictionary or hashset.

Teaching Code: Replit for Teachers

If you're a teacher or professor who spends significant time teaching coding either in a classroom or a one-on-one environment, we have features to help you give feedback to students, set up and automatically grade homework assignments, and comply with your local privacy laws.

Take a look at the following:

Threads and Feedback

Leave comments on your students' code, or let them peer review each other, using in-line discussion threads.

Automatic Testing and Grading

Imagine if you had a robot to grade your students' homework. You can set up simple or advanced automated tests for your students' assignments and homework.

Comply with Local Privacy Regulations

We will help you keep your students and their work safe online, while complying with various privacy laws and regulations such as FERPA, COPPA, GDPR, CCPA, and many others.

Learning Code: Replit for Students

If you're learning to code, whether as a self-taught programmer or as part of another course, you'll find our learning resources useful.

You can work through our project-based tutorials to learn how to code, or download them all as an ebook.

If you're learning a specific language, we probably cover it in one of our teacher-contributed open curricula.

We also have a beginner-friendly Discord server where you can get (and give) help on nearly anything.