Field Guide.
Official Tor guides and working test tools.
External links go straight to the Tor Project’s own documentation and specifications. Listing a guide here makes no claim about whether any third-party onion service is online or safe.
Publish an onion service
Step-by-step Tor Project guide to running a local .onion site and mapping its port.
Understand a v3 address
How a 56-character v3 .onion address packs a 32-byte public key, version byte and SHA3-256 checksum.
Connect your two transports
Add an Onion-Location HTTP header on your HTTPS site so Tor Browser knows your .onion address.
Review onion-service security
Tor Project checklist for keeping an onion service safe from IP leaks and server fingerprinting.
Retrieve a controlled specimen
Fetch one small test document with known values over HTTPS and Tor to check your client.
Check an onion address
Verify any 56-character v3 .onion hostname and checksum offline, with zero network traffic.
Let Tor resolve the .onion hostname.
Why normal DNS fails on .onion links. Normal internet DNS servers do not know how to look up a .onion address. If your HTTP client tries to resolve the hostname itself before talking to Tor, the connection fails immediately. In curl, pass --socks5-hostname so curl hands the raw .onion name straight to your local Tor SOCKS proxy (usually port 9050).
curl --socks5-hostname 127.0.0.1:9050 \ http://pjzhmrhqlmjvhb5eeqmgnil7oztrbqkt45hay4zsvj5e6dblnfezopyd.onion/demo/api/v1/fixture
Pre-tagged as a demo. This command fetches our test document over Tor under the /demo/ path, so your test is tagged as a demo and never triggers an unsolicited research alert.
Compare one known document across HTTPS and Tor.
Check the fixed fields, ignore the notice field. When you wire up a script or AI agent to use Tor, the easiest sanity check is fetching the exact same test document over HTTPS and over .onion. This endpoint always returns the same ID (oo-retrieval-v1), keyword (moss), number (42), and multi-language string (onion · café · 東京). Check those fixed fields in your code; ignore the notice field, which changes on every fetch because it carries a fresh one-time canary token.
GET /demo/api/v1/fixture fixture_id: oo-retrieval-v1 expected.keyword: moss expected.number: 42 expected.unicode: onion · café · 東京Open the test document