Here is a complete tutorial guide for OnionShare β a secure, anonymous file sharing and messaging tool built on top of the Tor network.
π§ OnionShare β Complete Tutorial Guide
π What is OnionShare?
OnionShare is a free and open-source tool that allows you to share files, host websites, and chat securely and anonymously over the Tor network without requiring any third-party server or service.
Created by: Micah Lee, and maintained by Freedom of the Press Foundation
Official site: https://onionshare.org/
π Why Use OnionShare?
Feature | Benefit |
---|---|
β File Sharing | Securely send files using a .onion URL |
β Anonymous Chat | Real-time messaging with no metadata |
β Anonymous Website Hosting | Create a temporary .onion site on your machine |
β Secure by Design | Peer-to-peer, end-to-end encrypted |
β No Cloud or Server | No third-party server, no upload to internet |
π» Supported Platforms
- Windows
- macOS
- Linux (Debian/Ubuntu/Fedora)
- Tails OS (with special configuration)
π¦ 1. How to Install OnionShare
β Method 1: From Official Site
π Download from: https://onionshare.org
β Method 2: Linux (Debian/Ubuntu)
sudo apt install onionshare
β Method 3: Using Flatpak
flatpak install flathub org.onionshare.OnionShare
π 2. How to Use OnionShare
OnionShare has four core modes: File Sharing, Receive Files, Chat, and Website Hosting.
π A. Send Files Anonymously
- Launch OnionShare
- Select “Send Files”
- Drag and drop files/folders
- Click βStart Sharingβ
- A
.onion
link will appear, e.g.:http://exampleabcd123.onion
- Share the link with the recipient
- They must open it using Tor Browser
π‘ The file is hosted directly from your computer, and shuts down automatically after the session (or if you choose to).
π₯ B. Receive Files Anonymously
- Go to Receive Files tab
- Start the server
- A secure .onion page appears where others can upload files directly to you
π¬ C. Anonymous Chat (OnionShare Chat Room)
- Choose Chat tab
- Click βStart Chat Serverβ
- Share the generated .onion link
- All participants open the link in Tor Browser
- Chat is end-to-end encrypted and hosted from your machine
β No login, no metadata, no logging β perfect for whistleblowers, activists, journalists.
π D. Host Anonymous Websites
- Go to the Website tab
- Add your HTML/CSS files (e.g., simple site or blog)
- Start server
- Share the .onion link
- People can visit your site anonymously using Tor Browser
π§ Advanced Features
- Stop sharing automatically after 1 view (for file links)
- Configure persistent Onion addresses (for advanced users)
- Use Bridges or custom Tor configs in restricted countries
π Security & Privacy Tips
Tip | Reason |
---|---|
Always use Tor Browser to test | Standard browsers cannot access .onion |
Donβt share links on public forums | Anyone with the link can access the file/chat |
Disable auto-quit only if needed | Auto-close ensures minimal trace |
Use in combination with Tails OS | For maximum anonymity |
π§ Troubleshooting
Problem | Solution |
---|---|
Tor not starting | Make sure no firewall is blocking Tor ports |
File not uploading/downloading | Keep OnionShare open during file transfer |
Recipient canβt access link | Ensure they are using Tor Browser |
Slow transfer speeds | Normal for Tor; try smaller file sizes |
π€ OnionShare vs Alternatives
Tool | Peer-to-peer | Uses Tor | Requires Account | Anonymous Chat | File Size Limit |
---|---|---|---|---|---|
OnionShare | β | β | β | β | No hard limit |
Firefox Send (defunct) | β | β | β | β | Yes |
WeTransfer | β | β | β (email needed) | β | β |
Dropbox | β | β | β | β | Depends on plan |
π Summary
Feature | OnionShare Description |
---|---|
Type | Anonymous file sharing & chat tool |
Network | Runs over Tor |
Account Needed? | β No account or login required |
Supported OS | Windows, macOS, Linux |
.onion Access Required | β Yes, via Tor Browser |
Privacy Level | Extremely high |
π Official Resources
- Download: https://onionshare.org
- Source Code: GitHub – onionshare/onionshare