Minimal P2P File Share
One-pager HTML using WebRTC data channels. No libraries, no servers (LAN only).
How to use
Open this page on both machines.
On one side, click
Create Key
then
Copy My Key
and share it to the other side (IM, email, whatever).
On the other side, paste that into
Remote Key
then click
Create Answer
Copy copy its new
Your Key
back to the first side.
On the first side, paste that into
Remote Key
and click
Apply Remote Key
.
Create your Key
Create Key
Copy My Key
Reset
Your Key
This key is a Base64-encoded SDP. It's safe to share; it contains no IPs beyond what WebRTC gathers for connectivity.
Pair with Remote
Create Answer
Apply Remote Key
Remote Key
Send a file
Once connected, pick a file and hit send. Large files will stream in chunks.
Send
disconnected
Upload progress
Download progress
Notes / Troubleshooting
Uses STUN only (no TURN). If both peers are behind strict NATs, it may fail. Try different networks if pairing stalls.
The key is just a Base64 of the session description (SDP). It expires when you reload/reset.
Transfers are P2P over a reliable, ordered DataChannel. There is no server relay here.
Browsers may cap in-memory blob sizes. If you hit limits, try sending smaller files or use a modern desktop browser.
Keep this tab in the foreground for best results on mobile.