Minimal P2P File Share

One-pager HTML using WebRTC data channels. No libraries, no servers (LAN only).

How to use

  1. Open this page on both machines.
  2. On one side, click Create Key then Copy My Key and share it to the other side (IM, email, whatever).
  3. On the other side, paste that into Remote Key then click Create Answer
  4. Copy copy its new Your Key back to the first side.
  5. On the first side, paste that into Remote Key and click Apply Remote Key.

Create 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

Send a file

Once connected, pick a file and hit send. Large files will stream in chunks.
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.