Privacy and Security

How to Co-Write a Document Without Putting It in the Cloud

Edit a document together in real time over a direct, encrypted browser-to-browser link. Learn how peer links work, what they protect and their limits.

Saizul Amin
Saizul Amin2 Nov 2026 · 3 min read
How to Co-Write a Document Without Putting It in the Cloud

How to Co-Write a Document Without Putting It in the Cloud

Shared online documents are convenient, but they come with a condition: the text lives on a provider's servers, tied to accounts. For a draft press release before an announcement, notes from a sensitive interview or a list of names, you may prefer that the words travel only between the people writing them. The free Collaborative Document via Peer Link does exactly that by connecting browsers directly to each other.

Modern browsers include WebRTC, the technology behind many video call services. Besides audio and video it offers data channels, which carry arbitrary messages between two browsers, encrypted end to end by the protocol itself. To open such a channel, the two sides must first exchange a description of how to reach each other. Video apps use a server for that exchange. This editor skips the server and lets you carry the description by hand as a short code.

Setting up a session

The host enters a name and presses Create invite code. A code appears, which the host sends to the co-author through any channel they already trust, such as a messaging app or a call chat. The guest pastes it into the Join box and presses Make answer code, then sends the answer back. The host pastes the answer and presses Connect. Within a few seconds the status shows that both are connected, and the guest receives the host's current text. For a third person, the host simply creates another invite.

The setting for a public STUN server matters if you are on different networks. STUN tells each browser the public address its router uses, which is needed to find a route through home and office routers. The STUN server learns connection details but never sees your document. Without it, connections normally succeed only on the same local network.

Typing at the same time

When two people type at once, edits must merge without anyone losing words. The editor uses a CRDT, a conflict-free replicated data type. Every character gets a permanent identity and a defined position relative to its neighbours, so both browsers apply the same edits and arrive at the same text regardless of the order in which messages arrive. Undo and redo affect only your own edits, which avoids the confusing situation of erasing a colleague's sentence by pressing Ctrl and Z.

Writing and exporting

The document uses Markdown, so a hash sign makes a heading and a dash makes a bullet point. The Split view shows the formatted result next to the source. The text is saved in each participant's browser, so a page reload does not lose it. When you finish, download Markdown, a Word document or plain text.

When a connection fails

There is no relay server in this design. Some corporate firewalls and mobile networks block direct connections between devices, and then the status never reaches connected. Try both devices on the same Wi-Fi, switch one to a different network, or turn STUN on. Remember also that the session lasts while the host keeps the page open; guests keep their copy if the host leaves but stop receiving updates.

Who this suits

Peer links work well for small groups writing together for an hour: meeting notes, a joint statement, interview transcripts or a quick outline. They are not a replacement for a document system with permanent storage, comments and access control. For privacy, the main benefit is simple: no copy of your text is kept on a server by this tool, and nobody needs an account.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages