Send files with a code phrase
A free, open-source native SwiftUI app for iPhone, iPad and Mac.
CrocApp sends files, folders, and text between two devices anywhere in the world, end-to-end encrypted, using a short code phrase like apple-house-car. No account and no shared network needed.
It is a graphical front end for croc, the command-line file-transfer tool by Zack Scholl. CrocApp embeds croc's Go library rather than shelling out to the binary, so a code phrase from the croc CLI works in the app, and the reverse.
Note
CrocApp is unofficial and not affiliated with or endorsed by croc's author.
| Platform | Where |
|---|---|
| iPhone, iPad, Mac (App Store) | CrocApp on the App Store |
| Mac (Apple silicon only) | CrocApp-<version>-arm64.dmg from GitHub Releases |
| Mac (Homebrew cask) | Not available yet. Homebrew accepts a cask once the repo shows enough public interest: 225 stars, 90 watchers, or 90 forks. Starring the repo helps |
The disk image is Developer ID signed, notarized, and updates itself through Sparkle (Check for Updates… in the app menu). Verify it with gh attestation verify <file> --repo bakirgdev/CrocApp (SECURITY.md). Install guide: crocapp.dev/docs/getting-started/install. To check a download, see Verify a release. Or build from source.
flowchart LR
S["Sender<br/>CrocApp or croc CLI"]
R["Other device<br/>CrocApp or croc CLI"]
L(["Direct path<br/>same network"])
X(["Relay<br/>ciphertext only"])
S -- "code phrase, spoken or scanned" --> R
S -- "preferred" --> L
L --> R
S -. "fallback" .-> X
X -. "fallback" .-> R
- The sender picks files, a folder, or text.
- CrocApp shows a code phrase. Say it, message it, or show it as a QR code.
- The other device enters the phrase, previews the file list, and accepts.
Both devices run PAKE over the code phrase to derive a session key, so the phrase never crosses the network in the clear and the relay never learns the key. CrocApp tries the local network and the relay at once; on the same network the transfer goes direct.
macOS: send, with code phrase and QR |
iOS: receive, preview then accept |
macOS: settings, with exclude patterns and confirmation |
|
Transfers are end-to-end encrypted, the code phrase authenticates both devices (PAKE), and the relay only ever sees ciphertext.
Warning
Neither croc nor CrocApp has had a formal third-party security audit.
- No accounts, analytics, ads, or tracking. The privacy policy lists every server the app can contact.
- Transfer history stays on the device.
- You can use your own croc relay instead of the default public ones.
- Report vulnerabilities privately through GitHub Security Advisories, never in a public issue. See
SECURITY.md. The threat model and trust boundaries are indocs/THREAT-MODEL.md.
You need a Mac with macOS 26 or newer, Xcode and Go (exact versions).
git clone https://github.com/bakirgdev/CrocApp.git
cd CrocApp
scripts/build-xcframework.sh # builds the Go engine into CrocKit/Croc.xcframework
open app/CrocApp.xcodeproj # run the CrocApp schemeSigning, tests and the transfer harnesses: docs/BUILDING.md.
Documentation (guides and the FAQ), CONTRIBUTING.md, CHANGELOG.md, the contributor docs and the threat model. Questions and ideas go to Discussions, and everyone follows the Code of Conduct. CrocApp has no paid tier; donations through GitHub Sponsors or Buy Me a Coffee are optional, and so is starring the repo.
- croc by Zack Scholl, the transfer engine that makes this possible. MIT.
- CrocApp by Bakir Gracić. MIT.
- Projects that inspired CrocApp:
- magic-wormhole: the original code-phrase transfer, and croc's own inspiration.
- LocalSend: proof that a cross-platform transfer app can be genuinely pleasant to use.
- croc-app: the Android client, and the best mobile reference for what a croc GUI should feel like.
- crock: a desktop croc GUI, and where the QR deeplink idea comes from.
- crocgui: the long-running cross-platform croc GUI.