freedrop

freedrop vs croc

Pick croc when you need folders, a short code you can read out loud, or a transfer that has to get through even when both ends sit behind strict NAT — its relays make sure it does. Pick freedrop when you want no relay anywhere in the data path, including when one side is a browser, and a transfer that resumes from the same command or link.

At a glance

Whatfreedropcroc
Where the data goesDirect, peer to peer over WebRTC; never through a relay unless you add your own TURN serverDirect when NAT traversal succeeds between two current CLIs; otherwise — and always with a browser peer — through a relay
Servers it relies onPublic MQTT brokers, for a few KB of encrypted handshakePublic relays on getcroc.com hostnames, plus public DERP servers while it sets up the direct path
The codeA 256-bit key of about 43 characters: copy it, open the link or scan the QR codeA short word-based phrase protected by a PAKE; custom codes of 6+ characters allowed
In a browserfreedrop.dev sends and receives, directly to a CLI or another browsergetcroc.com sends and receives, compatible with the CLI, through the relay
FoldersNot yet — tar them firstYes, several files and folders in one go
ResumeYes — re-run the command or reopen the linkYes
VerificationSHA-256 over every 4 MiB block, before a file appears under its nameHashes files; the algorithm is set with --hash
Recipient offlineNot possible — both ends are online togetherOpt-in stored mode keeps an encrypted copy for a limited time
Installnpx freedrop with Node.js 22+, or nothing in a browserOne binary: install script, Homebrew, Scoop, apt and more — or nothing in a browser

Where your bytes go

freedrop has exactly one data path: a WebRTC connection straight from one device to the other, DTLS-encrypted end to end. The public MQTT brokers carry only the introduction — a few kilobytes of AES-256-GCM ciphertext — and then drop out. There is deliberately no relay fallback, which is why freedrop has no traffic bill and why no server ever holds your data.

croc (v11) tries harder to connect and accepts a relay to do it. Between two current CLIs it starts over DERP and promotes the connection to a direct UDP path when NAT traversal succeeds. When that fails, or when the other side is a browser or an older client, the data goes through croc's relays. croc encrypts end to end with a key from its PAKE handshake, so the relay forwards data it shouldn't be able to read — but it is in the path.

The trade-off is real: croc gets through where freedrop can't on its own. When both ends are behind symmetric NAT or carrier-grade NAT, freedrop needs a TURN relay you name with --turn (Cloudflare's free tier, or your own coturn).

croc's code is a short phrase of words, made safe by a PAKE: easy to read out over the phone or type on another machine. croc send --qr prints a QR code that opens https://getcroc.com/?code=… — the code rides in the query string, which browsers send to the server they load the page from.

freedrop's code is the key itself: 256 random bits, too long to read aloud. You copy it, send the link or scan the QR code. In a link the key sits after the #, and browsers never send that part to any server — including freedrop.dev, which serves the page.

When croc is the better choice

  • Both machines are behind symmetric NAT or CGNAT and you don't want to set up a TURN server.
  • You're sending a folder, or many files with --exclude rules.
  • The code has to travel by voice, or be typed by hand.
  • The recipient can't be online at the same time: croc's opt-in stored mode keeps an encrypted copy for a limited time (by default one day and one download).
  • You want to send a line of text with croc send --text.

When freedrop is the better choice

  • You want no relay in the data path, ever — including browser to terminal and browser to browser.
  • The receiver is on a phone or someone else's computer: they open a link in any browser, and an interrupted transfer resumes when they reopen it.
  • Files must arrive exactly as sent: each is checked with SHA-256 before it appears under its real name, and a source that changed mid-transfer fails loudly.
  • A script or an AI agent runs the transfer: --json events and documented exit codes, see freedrop for agents.
  • You already have Node.js: npx freedrop is the whole install.

Command equivalents

crocfreedrop
croc send report.pdfnpx freedrop report.pdf
croc send photos/tar czf photos.tgz photos && npx freedrop photos.tgz
croc <code> (Windows), CROC_SECRET=<code> croc (Linux, macOS)npx freedrop <code> — or the link
croc send --qr report.pdfnpx freedrop report.pdf — prints a QR code in a terminal
croc --relay host:9009 send report.pdfnpx freedrop --turn turn:host:3478 --turn-auth user:pass report.pdf
croc relayany TURN server, such as coturn
croc send --text "hi"no equivalent — put it in a file

How the handshake, encryption and verification work in detail: How freedrop works. Every option: the CLI guide.

This page in Markdown

Send something now

No sign-up, and nothing to install on the other side.

Open freedrop npx freedrop <file>