What Is Tor? Onion Routing Explained
Tor (short for "The Onion Router") is a free, open-source network that anonymizes your internet traffic by routing it through a series of volunteer-run relays, wrapping it in layers of encryption like the layers of an onion. Because each relay only knows the previous and next hop — never the full path — no single point can link who you are to what you are doing.
Tor is used every day by ordinary people who want privacy, by journalists and their sources, by activists and citizens under censorship, by security researchers, and by anyone who would rather not have their browsing tied to their identity and location. It is operated by the non-profit Tor Project and maintained by a global community of volunteers.
How onion routing works
When you use Tor, your client picks a path (a "circuit") through usually three relays: a guard (entry) relay, a middle relay, and an exit relay. Your data is encrypted in nested layers — one for each relay. As the data passes through each relay, that relay peels off (decrypts) exactly one layer, revealing only where to send the data next, and forwards it on.
- The guard relay sees your real IP address but not your destination or content.
- The middle relay sees neither your identity nor the final destination — only two other relays.
- The exit relay sees the destination and (if not otherwise encrypted) the content, but not your IP address.
No single relay ever knows both who you are and what you are doing. That separation is the entire point.
Onion services (.onion)
Tor also enables onion services — servers reachable only through the Tor network at special .onion addresses. Here both the user and the service stay anonymous, and traffic never leaves the Tor network, so there is no exit relay exposure at all. Many messengers and news organizations run onion services so that people can reach them without revealing their network location.
Why Tor matters
Standard encryption hides what you say; Tor hides who is talking to whom at the network level — a form of metadata protection that encryption alone cannot provide. By concealing your IP address and location, Tor lets people bypass censorship, research sensitive topics safely, and communicate without their internet provider or a surveillance system mapping their every connection. For at-risk users, this network-layer anonymity can be as important as content encryption.
Common misconceptions
- "Tor is illegal or only for criminals." Tor is a legal privacy tool used by journalists, activists, businesses, and everyday users; like any technology it can be misused, but that is not its purpose.
- "Tor makes me completely anonymous." It anonymizes network routing, but you can still deanonymize yourself by logging into identifying accounts, leaking data through a browser, or running malicious software.
- "The exit node can read everything." An exit relay can see traffic that is not otherwise encrypted, which is exactly why you should still use end-to-end encryption on top of Tor.
Bridges and pluggable transports
Some governments and networks try to block Tor outright by filtering the known public relay addresses. Tor answers this with bridges — unlisted entry relays that are not published in the main directory, so they are much harder to enumerate and block. On top of bridges, pluggable transports disguise the very shape of Tor traffic: tools like obfs4 scramble the connection so it does not look like Tor to an automated censor, and others make it resemble ordinary encrypted web traffic or a video call. This cat-and-mouse layer is what lets Tor keep working in heavily censored environments where a naive connection would be detected and dropped. It illustrates a general principle of anonymity systems: hiding who is talking to whom sometimes also requires hiding the fact that you are using the privacy tool at all — a goal shared with steganography.
How OSHI uses Tor
OSHI can route its traffic through Tor to hide your network location and IP address, adding metadata protection on top of its end-to-end encryption. This helps OSHI reach people in censored or heavily monitored environments and supports genuinely anonymous messaging — no phone number, encrypted content, and a concealed network path. OSHI is open source under the MIT license.
Related guides & features
Anonymous messaging What is metadata End-to-end encryption What is IPFS Mesh networking All OSHI features Compare OSHIFrequently Asked Questions
What is Tor?
Tor is a free, open-source network that anonymizes internet traffic by routing it through several volunteer-run relays, each wrapped in a layer of encryption, so no single point can link who you are to what you are doing.
How does onion routing work?
Your data is encrypted in nested layers and sent through a guard, a middle, and an exit relay. Each relay peels off one layer to learn only the next hop, so no relay knows both your identity and your destination.
Is Tor legal?
Yes, in most countries Tor is a legal privacy tool used by journalists, activists, researchers, and everyday users. Some governments restrict or block it, but using Tor is not inherently illegal.
Does Tor make me completely anonymous?
Tor anonymizes your network routing and hides your IP address, but you can still deanonymize yourself by logging into identifying accounts or leaking data, so it should be combined with careful practices and end-to-end encryption.
Does OSHI use Tor?
Yes. OSHI can route its traffic through Tor to hide your IP address and network location, adding metadata protection on top of its end-to-end encryption for more anonymous messaging.
Private messaging, by design
OSHI is a free, open-source, Swiss encrypted messenger. No phone number, no ads, no tracking.