Datatypes

Tor onion service address (.onion)

ID onion_address

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Address of a Tor onion service, reachable only through the Tor network. A version 3 address, the only kind that current Tor releases support, is 56 base32 characters followed by .onion. The characters encode the 32-byte ed25519 public key of the service, a 2-byte SHA3-256 checksum and the version byte 3, so the last character is always d. Subdomains may precede it, as in www.<address>.onion. The 16-character version 2 addresses were retired in 2021 and do not match. The regexp checks the form, not the checksum.

Categories
Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:[a-z0-9-]+\.)*[a-z2-7]{54}[aiqy]d\.onion$

Python re syntax.

Examples

ValueDescription
pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd.onionExample of the Tor onion address specification
sp3k262uwy4r2k3ycr5awluarykdpag6a7y33jxop4cs2lu5uz5sseqd.onionExample of the Tor onion address specification
www.xa4r2iadxm55fbnqgwwi5mymqdcofiu3w6rpbtqn7b2dyn7mgwj64jyd.onionAddress from the Tor specification with a www subdomain added
pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscrya.onion invalidThe last character must be d (version 3)
pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd.com invalidNot under .onion

Translations

LanguageNameDescription
RussianАдрес onion-сервиса Tor (.onion)Адрес onion-сервиса сети Tor версии 3: 56 символов base32 и суффикс .onion.

Sources

Use this record