Send files between two computers over the internet
Last updated: 2026-08-05
Sending a file to another computer usually means uploading it somewhere first — a cloud drive, an email attachment, a chat app — and hoping the recipient can get it back out again. Relayium skips that storage step: browsers connect directly on the same LAN, while cross-network transfers use a TURN relay that carries only end-to-end encrypted ciphertext and keeps no server-side realtime content copy or history.
This guide covers both cases — two computers on the same network, and two computers on completely different networks (different homes, offices, countries) — and shows exactly what each side needs to do.
The direct approach: no cloud in the middle
Relayium runs entirely in the browser at relayium.com. There is nothing to install on either computer, and no third-party storage sits between you and the recipient: the file streams from one browser to the other and is never written to a server — not even when the two networks require the stream to pass through a relay, which forwards the bytes without keeping a copy or holding a key.
That matters for two reasons: speed (you are not bottlenecked by someone else's upload/download quota) and privacy (no copy of your file sits on a company's servers waiting to be requested, breached, or forgotten about).
Same network vs. across the internet
If both computers are on the same Wi-Fi or LAN, Relayium finds them automatically — open relayium.com on both, and no account is needed on either side.
If the two computers are on different networks — your desktop at home and a colleague's laptop across the country, for instance — automatic discovery cannot reach across the internet, so Relayium uses a short pairing code instead. The person sending signs in to mint that code; the person receiving never needs an account, whether they type the code in or just open the link it generates. The code is good for five minutes, so have both devices in front of you before you generate one.
Step by step: send a file across the internet
Before you start
- A signed-in account on the sending computer only. Minting a pairing code needs one; the computer that joins by code or link never signs in.
- A verified email address on that account. Relay for a cross-network session is only issued to verified accounts, and the pairing card says so plainly when it refuses.
- Both of you at your computers at the same time. A pairing code lives five minutes, and this is one live session rather than an upload someone collects later.
- A way to pass six digits or a link out of band — a phone call, a chat window, a text message.
Here is the full flow for two computers on different networks:
On the sending computer, open the realtime transfer page and sign in.
https://relayium.com/cross-networkPick the files or the folder to send — up to 1,000 files per batch — and create the pairing code. The card then shows the six digits, a copy-link button, a QR code, and a countdown.
Your pairing code — read it to the other person 483920 pairing code expires in 4:52Pass the code or the link to the other person however is convenient — read it out, text it, paste it in chat. The link carries the same code in its fragment, so sharing either one is the same act.
https://relayium.com/cross-network#c=483920On the receiving computer, open that link, or open the same page, type the six digits and press “Connect”. There is no sign-in on this side.
https://relayium.com/cross-networkThe transfer starts once the other device joins. Leave both tabs open until the file counter reaches the end: the countdown governs new joins only, so it stopping does not cut a transfer that is already running. Turning on “Advanced verification” before you start adds a verification code (SAS) to compare — a match confirms the keys were not replaced and both computers joined the same end-to-end encrypted session; it does not prove which network path carries the ciphertext.
What a working transfer looks like
The sender's “Waiting for the other device to join…” line is replaced by the connected card, and the path badge on it reads “Relayed”. That is the expected value here rather than a fault: a cross-network browser session goes over the encrypted TURN relay by design, and “LAN direct” is what you would see only if the two computers turned out to share a network after all.
The file counter then runs to the last file of the batch on both screens, and the file itself is wherever the line under the request said the receiving browser would put it.
Relayed
File 1/1When the code is refused, or the transfer stops
A cross-network transfer has more moving parts than a same-network one — a code with a life span, an account, a relay allowance — and each of them says which it is on the pairing card rather than failing silently. Read that card first.
Symptom, check, fix
- The receiving computer types the code and gets “Pairing code is invalid or expired”.
https://relayium.com/cross-network # the sender's card shows the live countdownFive minutes have passed since it was minted, or a digit was mistyped. Create a fresh code on the sending computer and have the other person enter it straight away — or send them the join link instead, which needs no typing at all.
- The card says relay is only issued to verified accounts.
https://relayium.com/cross-network # the pairing card names the reason it was refusedThe sender's email address has not been verified yet. Open the account panel, verify the address from the email Relayium sent, then create a new pairing code — the old one cannot pick up a relay it was already refused. Same-network transfers and the CLI are unaffected by this.
- The card says this month's relay traffic is used up.
https://relayium.com/me # “This month's usage” shows what is left of the relay allowanceCross-network browser sessions cannot start or continue until the allowance resets next month. To send now, upload the files as a stored download link at https://relayium.com/offline-transfer, upgrade the plan, or run your own node; same-network transfers keep working either way.
- The transfer stops part way and does not resume.
https://relayium.com/cross-network # both tabs have to still be on this pageThis is one live session, so a temporary network drop can resume where it left off, but closing the tab or reloading the page ends it and there is no server-side copy to pick up. Start again with a new code — and when the other person cannot stay online, use the async download link at https://relayium.com/offline-transfer instead.
- The transfer runs, but far slower than the same files on one network.
https://relayium.com/cross-network # the path badge on the connected card reads RelayedA relayed session is bounded by both internet connections plus the relay hop, so it is genuinely slower than a LAN transfer and there is no setting that changes it. For a very large batch, the stored download link at https://relayium.com/offline-transfer is the calmer route, because it does not need both sides online at once.
Across networks: the encrypted relay
Two browsers on the same network connect directly to each other. Across networks — where corporate firewalls and strict NATs routinely block a direct path — Relayium carries the encrypted stream over a TURN relay instead, so the transfer connects reliably.
The relay only ever sees ciphertext: the file is encrypted end-to-end (X25519 key exchange plus AES-256-GCM) before it ever leaves the sending browser, so the relay cannot read it any more than a random computer on the internet could. If the connection drops partway through, the transfer resumes instead of starting over.
How many files, and how large
You can send up to 1,000 files in one batch, folder structure included. There is no server-side size cap — the practical ceiling is set by the receiving browser.
A browser with the File System Access API — Chrome or Edge on the desktop — streams incoming data straight to disk, so multi-gigabyte files are fine. Firefox and Safari don't have that API, so a batch received there is assembled in memory instead, and Relayium warns you before you accept once it goes past roughly 256 MB: a deliberately conservative estimate rather than a measured limit, since the real ceiling depends on the machine's memory, its OS and what else is open. Each file is also checked end-to-end with a SHA-256 hash, so you know what arrives is byte-for-byte what was sent.
Frequently asked questions
Is it really peer-to-peer, or does the file pass through a server?
It is peer-to-peer in the sense that matters: the file streams browser to browser and is never stored on a server. On the same LAN the two browsers connect directly to each other. A cross-network pairing-code transfer uses TURN by design, but the relay only forwards end-to-end encrypted ciphertext in flight: it cannot read or decrypt the file and keeps no server-side realtime content copy or history.
Do both people need an account?
No. On the same network, neither side needs an account. Across different networks, the person sending signs in to create the pairing code — that's what lets Relayium mint and manage the code — but the person receiving never needs an account, whether they type in the code or just open the link.
Does it work across different networks and countries?
Yes. The pairing code exists specifically for this case: two computers that aren't on the same local network, wherever each one is in the world. That route runs over an encrypted TURN relay rather than a direct link, and it does so deliberately: Relayium takes the relay so that getting past NATs and firewalls never depends on a direct path being available.
Is there a limit on file size or how many files I can send?
You can send up to 1,000 files in a single batch. No Relayium server imposes a size cap, so the limits that remain are practical ones: Chrome or Edge on the desktop streams the batch straight to disk, and what bounds it there is the browser, the operating system, the free space on that disk and how long the live session stays up. Firefox and Safari hold the batch in memory instead, where Relayium warns you above roughly 256 MB — a cautious estimate rather than a hard ceiling; the real one depends on the machine.
Open Relayium on both computers and send your first file across the internet — no cloud upload, no install, and the recipient never needs an account.
Try Relayium now