Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VS Code Multiplayer(local)New to Visual Studio Code? Get it now.
VS Code Multiplayer(local)

VS Code Multiplayer(local)

O_O

|
2 installs
| (1) | Free
A cool extention were you can invite your coder friends to your project to code with them together this is the local varient so everything is being hosted on your pc
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Multiplayer (local)

Code together in real time. Host your project from your own PC and invite friends to join — no account required.


Features

  • Real-time editing — everyone's changes appear instantly across all connected clients
  • Cursor indicators — see exactly where each participant is, with a floating name tag above their cursor line (like Roblox Studio)
  • Session panel — a dedicated sidebar panel shows who is in the session, which file they are in, and which line they are on. Click a name to jump straight to them
  • Host controls — right-click any participant to kick them, or use the inline ✕ button
  • Auto-reconnect — if VS Code reloads the extension host (e.g. after trusting a workspace folder), the client reconnects automatically
  • Clean disconnect — when a client leaves or gets kicked, the shared folder is immediately removed from their workspace and deleted from disk
  • Works over LAN or internet — uses localtunnel to create a public URL automatically, or falls back to a LAN ws:// address

Getting Started

Host a session

  1. Right-click any file or folder in the Explorer and choose Start Multiplayer Session (Host)
  2. The invite URL is copied to your clipboard automatically
  3. Share it with the people you want to invite

Join a session

  1. Click the people icon in the Activity Bar to open the Multiplayer panel
  2. Click the plug ⊔ button in the panel title bar (or run Multiplayer: Join Multiplayer Session from the Command Palette)
  3. Paste the invite URL and enter your display name

Rejoin a session

If you close VS Code or disconnect, the panel shows a Rejoin button with the last session you connected to.


Session Panel

The panel (Activity Bar → people icon) shows:

Item Description
Hosting · N peers You are the host
Connected as "Name" You are a client
Participant entry Name + current file + line number
★ star icon The host
Click participant Jump to their file and line
Right-click participant Jump to or Kick (host only)

Commands

All commands are available in the Command Palette (Ctrl+Shift+P) under the Multiplayer category:

Command Description
Start Multiplayer Session (Host) Host the current file or folder
Join Multiplayer Session Connect to a host's session
Stop Multiplayer Session End or leave the current session
Rejoin Last Session Reconnect to the last session you joined
Copy Session Invite URL Copy the invite URL to clipboard again

Requirements

  • VS Code 1.120.0 or newer
  • Internet connection (for the localtunnel public URL) or both machines on the same local network (LAN fallback)
  • Node.js is not required by users — only needed if building from source

How it works

  • The host starts a local WebSocket server on a random port (30000–34999)
  • localtunnel creates a public HTTPS/WSS URL tunnelled to that port
  • Clients connect via WebSocket, receive a full file sync, and then send/receive diffs in real time
  • Cursor positions are broadcast to all participants and rendered as decorations in the editor
  • Everything runs on your own machine — no cloud backend, no accounts

Known Limitations

  • Binary files are skipped during sync (only UTF-8 text files are shared)
  • node_modules, out, and hidden folders (.git etc.) are excluded from sync
  • The localtunnel service is a free third-party service and may occasionally be slow or unavailable; the extension falls back to a LAN URL automatically
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft