Skip to content
Yunedia Tools

檔案傳輸(WebRTC)

使用一次性房間代碼,透過 WebRTC 在兩個瀏覽器之間直接傳送檔案。檔案從不經過伺服器,也不會儲存在伺服器上。

Before you start
  • The file travels directly between the two browsers over an encrypted WebRTC connection. It never passes through or is stored on a server.
  • As with any peer-to-peer connection, the other party can see your IP address.
  • Anyone who has the room code can join while the host is connected. Share it only with the person you want to send to or receive from.
  • Keep both browser tabs open until the transfer finishes. The room expires after 30 minutes.
  • Files up to roughly 1 GB are a practical limit: the receiving browser assembles the file in memory.

Sending uses 64 KB chunks with backpressure, so large files do not flood the connection. Progress is counted in bytes actually handed to the connection.

使用方法

  1. The sender presses "Create a room" and gets a room code and a share link.
  2. Send the link (or the code) to the other person. Opening it connects them automatically.
  3. Once connected, either side can pick a file and send it.
  4. When the transfer finishes, the receiving side gets a download button. Keep both tabs open.

注意事項

File bytes flow directly between the two browsers over a WebRTC data channel. They never pass through or are stored on a server; the server only introduces the two devices (signaling). As with any peer-to-peer connection, the other party can see your IP address. Rooms expire after 30 minutes and end when the host disconnects. Some network combinations (for example strict corporate NATs) cannot connect directly, because this tool uses STUN only and no TURN relay.

常見問題

How large a file can I send?
There is no server-side limit, because the file never touches a server. The receiving browser assembles the file in memory, so roughly 1 GB is a practical guide.
What happens if a tab is closed mid-transfer?
The transfer stops and the partial data is discarded. There is no resume; create a new room and send the file again.
Is the transfer encrypted?
WebRTC data channels are encrypted with DTLS. There is no identity verification, though, so only give the room code to people you trust.