Real-time collaborative coding

Where Code Gets Built.

Write, run, and ship code with your team in real-time. Built-in video, live sync, instant execution — no installs, no accounts, just open a tab.

main.py — CodeForge Room #a3f2
1
2
3
4
5
6
7
8
9
10
# Collaborative session — 3 members online
def find_primes(n):
"""Return all primes up to n."""
sieve = [True] * (n + 1)
for i in range(2, int(n**0.5) + 1):
if sieve[i]:
sieve[i*i::i] = [False] * ((n - i*i) // i + 1)
return [i for i in range(2, n+1) if sieve[i]]
Alex ✎ editing
Jordan
Sam
● 3 connected
Output
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47]
Process finished with exit code 0 · 0.18s
4
Languages Supported
<1s
Execution Time
Team Members / Room
0
Installs Required

Everything you need
to code together.

Instant Execution

Run Python, C++, C, and Java directly in your browser using Judge0, a battle-tested open-source code execution engine. Submit your code and see results in under a second — no local compiler needed. Supports stdin so you can test interactive programs and competitive programming problems without any extra setup.

🔄
Live Code Sync

Every keystroke made by the active editor is broadcast to all room members in real-time via WebSockets. There is no polling, no page refreshes, and no delay — your teammates see exactly what you type as you type it. The entire session state, including language selection and current code, is preserved and sent to anyone who joins mid-session.

🎥
Built-in Video

CodeForge uses WebRTC for peer-to-peer video and audio directly inside the editor — no Zoom, no Google Meet, no tab switching. As soon as you join a room, you can enable your camera and microphone to talk through the code with your team. All video streams are direct between browsers; nothing passes through our servers.

🔒
Password-Protected Rooms

Secure your session by setting an optional room password when you create it. Only collaborators who have both the room link and the correct password will be able to join. This makes CodeForge suitable for private tutoring sessions, technical interviews, internal team reviews, and any scenario where you need a controlled coding environment.

👑
Editor Ownership

CodeForge uses a single-editor model where only one person types at a time — just like a real pair programming session. The room host controls who holds the editor. Members can request access and the host can approve, deny, or reclaim it at any time. This prevents conflicts and keeps the session structured, especially useful for teaching and code reviews.

⌨️
stdin Support

Many programs require user input to run correctly. CodeForge provides a dedicated stdin input field so you can pass data to your programs before execution. Whether you're testing a sorting algorithm with custom input, solving a competitive programming challenge, or debugging an interactive script, stdin support makes CodeForge a complete testing environment.

Built for developers
who work together.

CodeForge was built to solve a frustrating problem: when you want to code with someone in real-time, your options are usually a heavyweight IDE plugin, a third-party screen-sharing tool, or copy-pasting code back and forth in a chat window. None of these feel right. CodeForge is the tool we wished existed — a single browser tab where a team can write, run, and iterate on code together without any friction.

The platform is entirely browser-based. There is nothing to install, no account to create, and no subscription to manage. You open the site, enter your name, create a room, share the link, and you're coding together within seconds. The entire session — code, language selection, output history — is synchronized live across every connected browser.

CodeForge is free to use. It was designed with students, educators, remote teams, and interview candidates in mind, but anyone who writes code with other people will find it useful.

🎓 Teaching & Tutoring

Instructors can write code live while students watch in their own browser. Students can request editor control to try solutions under the teacher's guidance.

💼 Technical Interviews

Interviewers and candidates share a live coding session. The interviewer can watch, comment via video, and take the editor to demonstrate a correction — all in one place.

🤝 Remote Pair Programming

Distributed teams can pair program as naturally as sitting side-by-side. Pass the editor back and forth while discussing over built-in video — no extra tools needed.

🏆 Competitive Programming

Teams tackling coding contests can collaborate on solutions in real-time. Test with custom stdin inputs and switch between Python, C++, Java, or C as the problem demands.

Your stack,
fully supported.

CodeForge currently supports Python 3, C++ (GCC), C, and Java. Each language comes with a starter template that loads the moment you select it. You can switch languages mid-session without losing your code history. Additional languages including JavaScript, Go, and Rust are planned for future releases.

Python 3
C++
C
Java
JavaScript (soon)
Go (soon)
Rust (soon)

Up and running
in 30 seconds.

01
Create a Room

Enter your name and optionally set a room password for privacy. Click "Create Room" and you'll instantly receive a unique shareable link. No account registration, no email confirmation, no waiting — your room is live the moment you click.

02
Invite Your Team

Share the room link with your teammates via any messaging tool. They open the link in their browser, enter their name (and password if you set one), and they're in. Built-in video and live code sync start automatically as each person joins.

03
Build Together

Write code, pass editor control to teammates, run programs, and see output together in real-time. Use the built-in video to discuss your approach. When you're done, simply close the tab — rooms are ephemeral and automatically cleaned up when everyone leaves.

Common questions,
answered.

Is CodeForge completely free to use?

Yes, CodeForge is entirely free. There are no subscription tiers, no premium features behind a paywall, and no credit card required. Simply open the site, create a room, and start coding. The platform is supported by advertising, which keeps it free for all users.

Do I need to create an account?

No account is required to use CodeForge. You enter a display name when creating or joining a room, and that is all the identification the platform needs. Rooms are temporary and are automatically deleted from the server once all members disconnect, so no personal data is stored between sessions.

How many people can join a single room?

There is no hard limit on the number of people who can join a CodeForge room. In practice, sessions with up to around 10–15 people work very well. For very large groups, the video feature may become resource-intensive on the client side since WebRTC creates direct peer-to-peer connections between all participants.

Is my code stored anywhere?

CodeForge stores room state (your code and session data) in server memory only for the duration of the active session. Once the last participant leaves a room, all data associated with that room is immediately deleted from memory. We do not write code to a database, log it, or retain it after a session ends.

How does the editor ownership model work?

CodeForge uses a single-active-editor model. At any given time, only one person — the current editor owner — can type in the code editor. The room host starts as the owner and can freely assign editor control to any member, reclaim it at any time, or approve/deny requests from members who want to type. This prevents conflicting edits and mirrors how real pair programming sessions are structured.

What happens if the host disconnects?

If the room host disconnects, editor ownership is automatically transferred to the next available participant so the session can continue uninterrupted. If the host reconnects, they rejoin the room as a regular participant and can reclaim editor control from their previous position. Rooms are only deleted when all participants have disconnected.

Does the video feature require any plugins?

No plugins or downloads are needed. CodeForge video is powered by WebRTC, a technology built directly into all modern browsers including Chrome, Firefox, Safari, and Edge. When you enable video in a room, your browser will ask for camera and microphone permission — that is the only step required. Video streams are peer-to-peer and do not pass through CodeForge servers.

Which browsers are supported?

CodeForge works on any modern browser that supports WebSockets and WebRTC. This includes Google Chrome (version 80+), Mozilla Firefox (version 75+), Microsoft Edge (version 80+), and Safari (version 14+). For the best experience — especially for video — we recommend using the latest version of Google Chrome or Microsoft Edge on a desktop or laptop computer.

Ready to forge
something great?

Free. No installs. No accounts.
Just you, your team, and your code.

Open the Editor