croc

croc

Alternative to WeTransfer

Easily and securely send things from one computer to another :crocodile: :package:

41k 1.6k
MIT
last commit 2026-07-12
Website Source
Share:

About

Easily and securely send things from one computer to another :crocodile: :package:

croc website preview

Languages

Contributors30

Tired of insecure file transfers, firewall headaches, and complex setups? What if sending files was as simple as sharing a code?

“croc: Effortless, Secure, and Cross-Platform File Transfer via Command Line. Send Anything, Anywhere, Anytime with a Simple Code – No Firewall Hassles.”

The Essence

croc is a robust, free, and open-source command-line utility for securely transferring files and folders between two computers. Written in Go, it leverages a P2P architecture with a relay server to facilitate connections, even when devices are behind NATs or firewalls. It uses a passphrase-based key exchange for end-to-end encryption, ensuring data privacy. This design makes it a versatile tool for quick and secure peer-to-peer data exchange.

Capabilities

croc simplifies the process of sending data by allowing users to initiate a transfer with a single command and receive it using a unique, temporary code. It automatically handles network complexities like port forwarding, making it accessible for users without advanced network configuration skills. This tool empowers developers and everyday users to share sensitive information efficiently and without relying on potentially insecure third-party cloud services.

Replaces

croc acts as a modern, secure, and more convenient replacement for traditional file transfer methods such as SCP, FTP, and even `netcat` for ad-hoc transfers. While SCP requires SSH access and careful configuration, and FTP often lacks inherent encryption, croc provides secure, out-of-the-box encrypted transfers. It also mitigates the privacy concerns and upload overhead associated with using cloud storage services like Google Drive or Dropbox for direct machine-to-machine transfers, offering a direct and ephemeral solution.

Editor's Highlights

  • Secure end-to-end encrypted transfers
  • Cross-platform compatibility (Windows, macOS, Linux)
  • No port-forwarding required via relay
  • Resumable transfers for interrupted sessions
  • Easily send entire folders recursively

How It Compares

AlternativeMain StrengthMain Weakness
SCPWidely available on Linux/macOS, reliable for SSH-based transfers.Requires SSH access and port forwarding, can be complex for firewalls/NAT.
Google Drive/DropboxCloud-based, accessible from anywhere, good for large files.Requires uploading to a third-party server, potential privacy concerns, dependent on internet connection.
Netcat (nc)Simple for quick, direct transfers on LAN.Lacks encryption, requires manual setup for each transfer, no built-in relay for NAT traversal.
Bottom Line:“croc stands out as an indispensable tool for secure, straightforward, and cross-platform file transfers. Its encryption and NAT traversal capabilities make it a superior choice for developers and users prioritizing ease and privacy.”
Comments Theme
Platforms
Hosting
Self-hosted
Install
Docker
Go
slug: croc