Skip to content

Magic Wormhole

by Magic Wormhole open source project

Free command-line tool that sends files between two computers using a short one-time code.

  • Open source
  • Free plan

From Magic Wormhole's own website and public documents, updated 13 Nov 2026. Not a hands-on review: I add a verdict only to products I use myself.

What is Magic Wormhole?

Magic Wormhole is an open source tool for moving files, folders or short text from one computer to another. The sender gets a short code, and the receiver types it in.

The documentation says the two sides meet through a mailbox server and then try a direct connection. If both are behind routers that block it, a transit relay passes the traffic. The connection is end-to-end encrypted and limited to two peers. It uses SPAKE2, a password-based key exchange, so a short code gives a strong shared key.

Each code is single-use. With the default 16-bit code, the docs say an attacker has about a 1 in 65,536 chance per attempt, and a failed guess usually shows as an error. It is MIT-licensed and free to use.

Best forTechnical users who want a simple encrypted one-off transfer with no account

Magic Wormhole features

  • One-time codes

    Codes are single-use and do not need to be memorized.

  • End-to-end encryption

    Traffic is encrypted with keys derived from the shared code using SPAKE2 and libsodium secretbox.

  • Direct connection first

    Peers try a direct link over LAN or public IP, and use a relay only if needed.

  • Self-hostable servers

    Either side can run its own relay, but both must use the same mailbox server.

  • No account

    You install the command-line tool and send, with nothing to sign up for.

Magic Wormhole pricing

Starting price

Not stated

  • Pricing modelFree
  • Free planYes
  • Free trialNot stated

Checked 13 Nov 2026. Prices change often; the vendor's page wins.

Trust and privacy

Open source
Yes (MIT)

Independent audits

No public independent audit found.

Good to know before you buy

  • Both people must be online and run their clients at about the same time, within roughly an hour.
  • The public relays are free but may be restricted if usage grows or abuse occurs.
  • The docs say clients share IP addresses inside encrypted messages and point to a Known Vulnerabilities page for more.

Magic Wormhole alternatives

Filen

Filen Cloud Dienste UG (haftungsbeschränkt)

Zero-knowledge encrypted cloud storage from Germany with open-source apps and a network drive.

Free open-source app to send files and text between nearby devices over your local network.

Nextcloud

Nextcloud GmbH

Self-hosted open-source platform for file sync, sharing, calendar, contacts and chat.

OnionShare

Lockdown Systems

Open-source tool to share files, host sites and chat anonymously over the Tor network.

Syncthing

Syncthing Foundation

Open-source continuous file sync between your own devices with no central server.

Google's built-in way to send files nearby between Android phones and Windows PCs.

Frequently asked questions

What is Magic Wormhole?

Free command-line tool that sends files between two computers using a short one-time code.

Is there a free version of Magic Wormhole?

Yes. Magic Wormhole has a free plan or tier; check the pricing page for its limits.

What are the alternatives to Magic Wormhole?

Products in the same category include Filen, LocalSend, Nextcloud, OnionShare, Syncthing.

Have you tested Magic Wormhole?

Not yet. This page lists published facts only. When I test it, my verdict will appear at the top.

Sources (2), checked 13 Nov 2026
  1. magic-wormhole.readthedocs.io/en/latest/welcome.html
  2. github.com/magic-wormhole/magic-wormhole

Spotted something out of date? Tell me through the contact page and I will fix it.

By using this site, you agree to the Privacy Policy.