OnionShare works by starting a temporary web server on your local machine and making it accessible as a Tor hidden service (.onion address). When you want to share a file, OnionShare generates a unique .onion URL that the recipient opens in Tor Browser. The file transfers directly from your computer to theirs - no intermediary server, no cloud storage, no account required.
This architecture means the file never leaves your control until the recipient downloads it. There is no upload step, no storage on someone else's server, and no metadata logged by a third party. Once you close OnionShare, the hidden service disappears and the .onion address becomes permanently unreachable.
OnionShare supports four modes: sharing files (send), receiving files (receive), hosting a static website, and running an anonymous chat room. Each mode creates a separate .onion address with its own access controls and security settings.