Tor infrastructure

What Is an Onion Address?

An onion address is a special address ending in `.onion` that identifies a service on the Tor network. Unlike an ordinary domain such as `example.com`, a modern onion address is derived from cryptographic information associated with the onion service rather than being purchased from a conventional domain registrar.

An onion address is a Tor-only service address. Modern v3 addresses encode information derived from the onion service identity, including an Ed25519 public key plus checksum and version data, so Tor clients can verify the service without conventional DNS.

Current v3 onion addresses contain 56 characters before the `.onion` suffix and are designed so Tor clients can cryptographically validate important information about the service they are connecting to.

You normally open an onion address through Tor-aware software such as Tor Browser. Ordinary DNS does not resolve `.onion` addresses.

Abstract technical illustration of a long onion address and cryptographic key
Current format56 characters plus .onion
Naming systemCryptographic, not registrar-based
DNSNot used for .onion resolution
Current versionv3 onion services

TL;DR

Quick answer

An onion address is a Tor-only service address. Modern v3 addresses encode information derived from the onion service identity, including an Ed25519 public key plus checksum and version data, so Tor clients can verify the service without conventional DNS.

Last reviewed2026-08-31
Reading time7 min read
DifficultyIntermediate
EvidenceStrong

Definition

Anatomy of a Modern .onion Address

A v3 onion hostname is a 56-character base32 string followed by `.onion`. Tor Project documentation describes v3 addresses as containing a full Ed25519 public key, with checksum and version information included in the encoded address.

That does not mean the address is a simple copy of a key. Tor uses defined encoding and validation rules, and later connection steps use Tor's onion service directory architecture to find descriptors and introduction points.

Onion Address vs Ordinary Domain

Normal domainOnion address
RegistrationBought or assigned through a registrar and registry.Generated from onion service cryptographic identity.
DNSUses the Domain Name System.Ordinary DNS does not resolve .onion names.
ResolutionDomain resolves toward IP addressing through DNS.Tor looks up onion service descriptors inside Tor's distributed architecture.
Address generationChosen by registrant if available.Derived from cryptographic material; vanity prefixes require computation.
Normal-browser accessibilityUsually yes.No, unless the browser is Tor-aware or configured for Tor.
Location exposureDNS and hosting may reveal infrastructure.Designed to hide service location from clients.
Cryptographic propertiesTLS can authenticate a registered domain separately.The address itself is tied to onion service identity.

How an Onion Address Works

The service has cryptographic keys

An onion service generates or uses keys that identify the service.

The address derives from the service identity

The visible v3 hostname is produced from the service's public-key material plus validation information.

Descriptors are published inside Tor

The service makes connection information available through Tor's distributed onion service directory design.

The client asks Tor, not DNS

Tor Browser uses the onion address to locate the relevant descriptor and connection points.

The connection stays within Tor

The client and service connect through Tor circuits without a conventional DNS lookup for the onion name.

Why Are Onion Addresses So Long?

The length is a security tradeoff. V3 addresses are longer than older v2 names because they carry stronger identity information, including a full Ed25519 public key rather than only a shorter hash-based identifier.

Shorter, human-friendly names are easier to read but provide less room for the cryptographic identity and validation properties Tor wanted in the modern format.

V2 vs V3 Onion Addresses

Older v2 onion addresses were 16 characters long. Tor deprecated v2 onion services because the older design was no longer considered safe enough and was no longer being developed.

Tor's v2 deprecation timeline said Tor Browser stable would make v2 onion addresses completely unreachable in October 2021. Modern onion services should use v3 addresses.

Can Someone Create a Lookalike Onion Address?

An attacker cannot simply register a confusingly similar onion address the way they might register a typo domain. But that does not eliminate impersonation risk.

Vanity onion address generators can search for addresses with chosen prefixes, and phishing pages can rely on users checking only the first few characters, following bad links or trusting copied directories. Onion addresses reduce some naming attacks; they do not make users immune to lookalikes.

Can Google Index Onion Sites?

Google does not resolve .onion addresses through ordinary DNS, so direct crawling of onion services is not like crawling public HTTPS pages. That does not mean onion addresses are invisible everywhere.

References to onion addresses can appear on normal web pages and be indexed there. Specialized onion search engines and directories can also catalog some onion services if those services are discoverable. Discoverability is therefore separate from ordinary technical access.

Legitimate Uses of Onion Services

The Tor Project documents onion services as a way to provide location-hidden services through Tor. Established organizations have used them for censorship-resistant or privacy-preserving access.

Examples have included news organizations and whistleblower systems that publish official onion addresses through their normal public websites. The legitimacy comes from the use case and operator, not from the .onion suffix alone.

Questions people ask

Safety note

Educational, not operational

This guide is educational. It does not provide instructions for illegal activity, evading law enforcement, buying prohibited goods, or attacking systems. Laws and risks vary by country, so stay within your local rules and avoid interacting with unknown services.

Sources

Further reading

Continue learning

Next useful step

Keep going

The next door is usually the interesting one

The answer you came for touches a few neighboring questions. These are the ones most likely to make the picture click.

What you should remember

The useful version

  • An onion address is a Tor-only service address. Modern v3 addresses encode information derived from the onion service identity, including an Ed25519 public key plus checksum and version data, so Tor clients can verify the service without conventional DNS.

A few useful next steps

Where this question wanders next

The dark web is less a single tunnel than a set of side passages. These are the useful ones from here.

If this made you wonder

dark web collection

Build the basics

1

What Are the Uses of Hidden Services on the Tor Network?

What Are the Uses of Hidden Services on the Tor Network points to a real part of the privacy and dark web story, but the useful answer is smaller and more practical than the myth. It is technology, people, incentives, and risk stacked together.

2

What Happens If You Accidentally Click a Dark Web Link?

A .onion link shows up somewhere unexpected, and the instinctive fear is that clicking it triggers something irreversible. The actual mechanics tell a much calmer story.

3

What Is the Dark Web, and How Do You Access It?

Somewhere between a rumor and a research paper, the actual dark web is smaller, more accessible, and considerably less mysterious than its reputation suggests — here's the whole picture, definition and access instructions together.

4

What Is 'Tor Browser Dark Web'?

It's a search term that mashes two different things together — a piece of software, and a category of website it happens to let you reach. Untangling them clears up almost every follow-up question.

5

Deep Web vs Dark Web: What Is the Difference?

The deep web is everything online that search engines do not index, such as private email, online banking pages, subscription databases and account dashboards. The dark web is a much smaller part of the internet that is intentionally hidden and normally requires specialized software such as Tor to access.

Questions people ask first

Choose by the time in your pocket