# Source: https://docs.replit.com/replit-workspace/workspace-features/multiplayer.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Multiplayer

> Multiplayer lets you collaborate in real time with other users on your Replit App.

Multiplayer transforms your Replit workspace into a collaborative environment where up to
four users can create and update apps together in real time.

This shared experience provides collaborators the same workspace tools and environment to
create a seamless team development experience.

<Frame>
  <img src="https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayer.gif?s=fd2eecf9afb94ae4209601c4da557e9f" alt="Multiplayer overview" data-og-width="800" width="800" data-og-height="450" height="450" data-path="images/workspace/multiplayer.gif" data-optimize="true" data-opv="3" />
</Frame>

## Features

Multiplayer includes the following features:

* **Real-time collaboration**: Work on the same Replit App and instantly view changes and workspace runs

* **Shared workspace**: Experience full workspace sharing including Shell and Console output in real time

* **Observation mode**: See collaborators' code changes and file navigation as they happen

## Usage

To start collaborating, open your Replit App and invite collaborators.
The following sections show how to access and use the Multiplayer tool's features.

### Invite collaborators

<Accordion title="How to invite collaborators">
  To invite users by email address or Replit username:

  1. Select <img class="icon-svg" src="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=3a9db036d95b87cb9e619557836fd747" alt="person with plus icon" data-og-width="16" width="16" data-og-height="16" height="16" data-path="images/icons/invite.svg" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=280&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=973419e34173934f3e2e104ff2f08f3f 280w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=560&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=21310a49b258e4973bed1c9f6122db93 560w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=840&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=c9cb70801069a1f507970dbf5961bd45 840w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1100&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=d75afc761db4b4ec3e79b4a3ad011241 1100w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1650&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5ce12b641fd5fa9c25fc898baef00f6f 1650w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=2500&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5441aecc7fb0ac0b4eed7a78862f7cd3 2500w" /> **Invite**
     to open the Multiplayers popup dialog
  2. Enter a username or email in the text field and select **Invite** to send an email invitation

  To invite users using the private link:

  1. Select <img class="icon-svg" src="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=3a9db036d95b87cb9e619557836fd747" alt="person with plus icon" data-og-width="16" width="16" data-og-height="16" height="16" data-path="images/icons/invite.svg" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=280&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=973419e34173934f3e2e104ff2f08f3f 280w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=560&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=21310a49b258e4973bed1c9f6122db93 560w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=840&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=c9cb70801069a1f507970dbf5961bd45 840w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1100&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=d75afc761db4b4ec3e79b4a3ad011241 1100w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1650&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5ce12b641fd5fa9c25fc898baef00f6f 1650w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=2500&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5441aecc7fb0ac0b4eed7a78862f7cd3 2500w" /> **Invite**
     to open the Multiplayers popup dialog
  2. Toggle the Private join link option to the **on** position
  3. Select **Copy join link** to copy the URL to your clipboard
  4. Send the link to your collaborators

  <Frame title="Multiplayers popup dialog">
    <img src="https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=731d498a6b99a14365210c71d4aa621b" alt="Multiplayers popup dialog" data-og-width="879" width="879" data-og-height="758" height="758" data-path="images/workspace/multiplayers-menu.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=280&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=b1c8bb6162b5f751578ecdd6ddcab627 280w, https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=560&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=50ed889764bc941e98c676e360f0897e 560w, https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=840&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=8704b54f385801d61d89473a532d3276 840w, https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=1100&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=61856e22cc3570020c2a047ce170a3a0 1100w, https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=1650&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=95a4e072acd851751c7d27b697a740fb 1650w, https://mintcdn.com/replit/9NKf1XREDj9JhKJb/images/workspace/multiplayers-menu.png?w=2500&fit=max&auto=format&n=9NKf1XREDj9JhKJb&q=85&s=cf6dfeebd0977ad5b93742c96eba48d1 2500w" />
  </Frame>
</Accordion>

When you invite collaborators:

* Replit sends a notification email with a join link when you invite someone by their email address or username
* Collaborators can follow the link to open the Replit App in the shared workspace
* You see a list of collaborators in the Multiplayers popup menu
* The workspace displays online collaborators as icons to the left of the **Invite** button

### Remove collaborators

<Accordion title="How to remove collaborators">
  1. Select <img class="icon-svg" src="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=3a9db036d95b87cb9e619557836fd747" alt="person with plus icon" data-og-width="16" width="16" data-og-height="16" height="16" data-path="images/icons/invite.svg" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=280&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=973419e34173934f3e2e104ff2f08f3f 280w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=560&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=21310a49b258e4973bed1c9f6122db93 560w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=840&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=c9cb70801069a1f507970dbf5961bd45 840w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1100&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=d75afc761db4b4ec3e79b4a3ad011241 1100w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1650&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5ce12b641fd5fa9c25fc898baef00f6f 1650w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=2500&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5441aecc7fb0ac0b4eed7a78862f7cd3 2500w" /> **Invite**
     to open the Multiplayers popup dialog
  2. Select the **X** next to the collaborator's username
</Accordion>

When you remove a collaborator, they instantly lose access to the Replit App workspace.

<Warning>
  When you enable **Private join link**, removing collaborators does not prevent them from rejoining
  using the private join link. To prevent collaborators from joining using this link, change it by selecting
  **Generate a new link**.
</Warning>

### Toggle observation mode

<Accordion title="How to toggle observation mode">
  To **turn on** observation mode, select the collaborator's profile icon.

  To **exit** observation mode, select any area in the workspace.
</Accordion>

As a collaborator, you can view the following without enabling observation mode:

* Text input location and real-time edits in the file editor
* Shell input and output when viewing the same shell instance
* Console output
* Whether the workflow is running or stopped
* Any online collaborators, indicated by a profile icon next to the <img class="icon-svg" src="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=3a9db036d95b87cb9e619557836fd747" alt="person with plus icon" data-og-width="16" width="16" data-og-height="16" height="16" data-path="images/icons/invite.svg" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=280&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=973419e34173934f3e2e104ff2f08f3f 280w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=560&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=21310a49b258e4973bed1c9f6122db93 560w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=840&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=c9cb70801069a1f507970dbf5961bd45 840w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1100&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=d75afc761db4b4ec3e79b4a3ad011241 1100w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=1650&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5ce12b641fd5fa9c25fc898baef00f6f 1650w, https://mintcdn.com/replit/7jcTEkTXPQwUz2BL/images/icons/invite.svg?w=2500&fit=max&auto=format&n=7jcTEkTXPQwUz2BL&q=85&s=5441aecc7fb0ac0b4eed7a78862f7cd3 2500w" /> **Invite** button.

When you enter observation mode:

* File editor automatically switches to the file that contains the active user cursor
* View which collaborators are observing you in the status bar

## Next steps

To learn more about collaboration, see the following resources:

* [Teams](/category/teams): Learn about the enterprise solution for creating and publishing apps with your organization
* [Secrets](/replit-workspace/workspace-features/secrets): Understand the visibility of your sensitive data in shared apps