Onions Site

Onions sites provide access to hidden services on the Tor network, enabling anonymous browsing and secure communication.

First published: | Revised: 2026-11-01 | Written by: Eliot Mercer

What is a .onion Site and How Onion Routing Works

A .onion site is a hidden service accessible only through the Tor network. These sites use a unique 56-character alphanumeric address, which is derived from the server's Ed25519 public key through Base32 encoding (1). Unlike conventional websites, .onion services do not require public IP exposure or traditional certificate authorities. Instead, the address itself cryptographically self-authenticates the service (3).

Onion routing is the technique that enables secure communication through the Tor network. It employs a layered encryption mechanism that directs traffic through multiple nodes, enhancing privacy and anonymity. The process involves three main types of nodes:

  1. Entry Node: The first point of contact between the user and the Tor network. It knows the user's IP address but does not know the final destination.

  2. Relay Node: These nodes pass the data packets along the route. They do not know the source or the final destination of the data.

  3. Rendezvous Point: This is where the user and the hidden service connect. Both parties communicate through this point, which keeps their identities hidden from each other.

When a user wants to access a .onion site, the Tor Browser creates a circuit that includes these three types of nodes. Each layer of encryption is removed as the data passes through the nodes, allowing the final destination to be reached securely.

To ensure operational security while hosting an onion service, consider these guidelines:

  • Disable Nginx access logs or route them to /dev/null.

  • Block all external inbound TCP ports on your VPS firewall, except for SSH (2).

By following these practices, you can enhance the security of your .onion site and protect against potential threats.

How to Access .onion Websites Securely

To access .onion websites securely, start by downloading and configuring the official Tor Browser. This browser is specifically designed to route traffic through the Tor network, ensuring anonymity and security while browsing hidden services.

  1. Download the Tor Browser: Obtain the latest version from the official Tor Project website. Ensure that you verify the download’s integrity using the provided signatures.

  2. Install the Tor Browser: Follow the installation instructions for your operating system. The browser will automatically configure itself to connect to the Tor network.

  3. Adjust Security Levels: The Tor Browser offers three security levels: Standard, Safer, and Safest.

    • Standard: Allows all features but is less secure.

    • Safer: Disables certain features like JavaScript, which can reduce the risk of fingerprinting.

    • Safest: Disables all scripts and certain types of media, providing maximum security against potential threats (1). Set this level when accessing sensitive .onion sites.

  4. Avoid Dangerous Network Configurations: Be cautious about bypassing exit nodes. Unlike typical web traffic, .onion services do not use exit nodes, which means your connection is fully encrypted and anonymous within the Tor network (3). Attempting to bypass this can expose your real IP address and compromise your security.

  5. Browser Fingerprinting Mitigation: Keep the Tor Browser window at its default size. This practice helps reduce the risk of browser fingerprinting, which can be a significant threat vector when accessing onion sites (1).

By following these steps and adhering to best practices, you can access .onion websites securely, maintaining your privacy and protecting your data.

Verified Examples of Legitimate .onion Sites

Several legitimate .onion sites demonstrate the practical applications of privacy-focused infrastructure. These services utilize the Tor network to provide secure access while protecting user anonymity.

Recognized .onion Services

  1. DuckDuckGo: A search engine known for its commitment to user privacy. The .onion version allows users to search the web without tracking their activity.

  2. ProPublica: A nonprofit newsroom that produces investigative journalism. It offers its articles through a .onion site to ensure secure access for users concerned about privacy.

  3. ProtonMail: An encrypted email service that provides a .onion address for secure communication. This service allows users to send and receive emails without compromising their privacy.

  4. SecureDrop: A platform designed for whistleblowers to securely submit documents to journalists. It operates exclusively over the Tor network, protecting the identities of both sources and recipients.

  5. CIA: The Central Intelligence Agency has a .onion site that provides information about its activities and recruitment opportunities. This service adds an additional layer of privacy for users accessing government resources.

Access and Use Cases

These services highlight the versatility of .onion sites in various sectors, including journalism, government, and internet privacy. When accessing these sites, consider the following:

  • Always use the Tor Browser to connect. This ensures that your connection is encrypted and anonymous.

  • Set the security level to “Safest” when visiting sensitive .onion sites to mitigate risks associated with browser fingerprinting (1).

  • Be cautious of any external links or advertisements on these sites, as they may compromise your security.

Utilizing these legitimate .onion services can enhance your online privacy while accessing valuable information.

Technical Risks and Threat Vectors When Browsing Onion Sites

Accessing .onion sites presents unique security challenges. Understanding these risks is crucial for maintaining anonymity and protecting sensitive data.

Malicious JavaScript Execution

JavaScript can pose significant threats on onion sites. Malicious scripts may execute without your consent, leading to potential data breaches or tracking. It is advisable to keep the Tor Browser security level set to “Safest.” This setting disables JavaScript, reducing the risks associated with malicious code execution (1).

Browser Fingerprinting

Browser fingerprinting is a technique used to track users based on their browser settings and behavior. When visiting onion sites, the risk of being fingerprinted increases. To mitigate this, maintain the Tor Browser at its default size and avoid altering the user agent string. Keeping the security level at “Safest” further protects against tracking (1).

Insecure Client-Side Rendering

Client-side rendering can expose vulnerabilities, especially if onion services utilize frameworks that rely heavily on JavaScript. If a service renders content insecurely, it may inadvertently expose user data. Always verify the integrity of the sites you visit and avoid entering sensitive information on untrusted .onion services.

Deanonymization Risks

Misconfigured applications can lead to deanonymization. For example, if a hidden service inadvertently exposes its IP address or logs user activity, the anonymity of users is compromised. Operational security guidelines suggest disabling Nginx access logs and blocking all external TCP ports except for SSH (2). Following these practices helps reduce the risk of exposure.

Recommendations for Secure Browsing

  1. Set the Tor Browser security level to “Safest.”

  2. Disable JavaScript when possible to prevent malicious execution.

  3. Keep the browser window at the default size to limit fingerprinting.

  4. Be cautious of client-side rendering issues on .onion services.

  5. Follow operational security guidelines to prevent deanonymization.

By understanding these risks and implementing best practices, you can browse onion sites more securely, maintaining your anonymity and protecting your data.

Can Search Engines Index .onion Sites?

Traditional search engines like Google cannot crawl .onion sites due to their inherent design and the nature of the Tor network. These hidden services are specifically created to maintain user anonymity and privacy, which prevents standard search engines from indexing them.

Reasons for Inaccessibility

  1. Hidden Nature: .onion sites are only accessible through the Tor network, which anonymizes user traffic. Search engines do not have the capability to access Tor, as they rely on standard internet protocols.

  2. Unique Address Structure: Modern v3 .onion addresses are 56-character alphanumeric strings derived from the server's Ed25519 cryptographic public key (1). This structure makes it impossible for conventional web crawlers to discover and index these sites.

  3. Operational Security: Onion services do not expose their IP addresses or require traditional certificate authorities. This self-authentication feature enhances security but also limits visibility to search engines (3).

Specialized Tor-Based Directories

While traditional search engines cannot index .onion sites, there are specialized directories and search engines designed for the Tor network. These directories operate under strict privacy guidelines to avoid compromising user anonymity.

  • Search Functionality: Tor-specific search engines like Ahmia and Not Evil provide indexed access to .onion sites. They maintain user anonymity by not tracking queries or user behavior.

  • Anonymity Preservation: These directories do not expose user data or search history. They are built to respect the privacy of users while allowing them to discover hidden services.

  • Limited Indexing: Unlike conventional search engines, these directories may have a limited index of .onion sites. They typically focus on well-known and verified services, which helps maintain a level of trust.

Conclusion

Accessing .onion sites requires using the Tor Browser and understanding the limitations of traditional search engines. For those looking to explore hidden services, utilizing specialized Tor-based directories is essential. These platforms enable users to navigate the .onion landscape without sacrificing their anonymity. For further exploration, consider checking out Dark Web Onion Sites.

Configuring and Hosting Your Own Onion Service

Setting up an onion service involves configuring a local web server, such as Nginx, and editing the torrc file. Here’s how to do it securely, with client authorization enabled.

Step 1: Install Required Software

  1. Install Tor: Use your package manager to install Tor. For example, on Debian-based systems, run:

    sudo apt-get install tor
    
  2. Install Nginx: Similarly, install Nginx:

    sudo apt-get install nginx
    

Step 2: Configure Nginx

  1. Create a Configuration File: In /etc/nginx/sites-available/, create a new file for your onion service, e.g., onion_service.conf. Use the following template:

    server {
        listen 80;
        server_name your_onion_address.onion;
    
        location / {
            proxy_pass http://localhost:8080;  # Adjust this to your backend service
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
    }
    

    Replace your_onion_address.onion with your actual onion address.

  2. Enable the Configuration: Link your file to sites-enabled:

    sudo ln -s /etc/nginx/sites-available/onion_service.conf /etc/nginx/sites-enabled/
    
  3. Test and Restart Nginx: Run:

    sudo nginx -t
    sudo systemctl restart nginx
    

Step 3: Configure Tor

  1. Edit the torrc File: Open /etc/tor/torrc and add the following lines:

    HiddenServiceDir /var/lib/tor/hidden_service/
    HiddenServicePort 80 127.0.0.1:80
    

    This configuration points Tor to forward traffic to your local Nginx server.

  2. Enable Client Authorization: To set up client authorization, add:

    HiddenServiceAuthorizeClient stealth <client_name>
    

    Replace <client_name> with your desired identifier.

  3. Restart Tor: Apply your changes by restarting Tor:

    sudo systemctl restart tor
    

Step 4: Retrieve Your Onion Address

After restarting Tor, find your onion address in the hostname file located in /var/lib/tor/hidden_service/. It will look like a 56-character string (1).

Step 5: Security Best Practices

  • Disable Nginx Access Logs: To enhance privacy, either disable access logs or route them to /dev/null (2).

  • Firewall Configuration: Block all external TCP ports on your VPS firewall except for SSH. This setup minimizes potential attack vectors.

Step 6: Test Your Setup

Access your onion service using the Tor Browser. Ensure that client authorization works by attempting to connect with an authorized client.

By following these steps, you can securely host your own v3 onion service with client authorization enabled. For more information on best practices, check out resources on Exploring Dark Web Servers: How They Function.

Onion Service Configuration Guide

StepActionCommand/ConfigurationNotes
1Install Torsudo apt-get install torUse package manager.
2Install Nginxsudo apt-get install nginxRequired for hosting.
3Create Nginx Config/etc/nginx/sites-available/onion_service.confReplace with your onion address.
4Enable Nginx Configsudo ln -s /etc/nginx/sites-available/onion_service.conf /etc/nginx/sites-enabled/Link to sites-enabled.
5Edit torrc/etc/tor/torrcAdd HiddenServiceDir and HiddenServicePort.
6Enable Client AuthHiddenServiceAuthorizeClient stealth <client_name>Replace <client_name> with identifier.
7Restart Servicessudo systemctl restart nginx and torApply changes.
8Retrieve Onion AddressCheck /var/lib/tor/hidden_service/hostnameIt’s a 56-character string.
9Security Best PracticesDisable Nginx access logsRoute to /dev/null.

Final Thoughts

  • Always keep your Tor Browser security level set to “Safest” to block malicious JavaScript execution and prevent tracking (1).

  • Maintain the browser window at its default size to minimize the risk of browser fingerprinting.

  • Disable Nginx access logs and restrict firewall ports to protect hosted services from deanonymization (2).

  • Verify all v3 onion addresses, which consist of 56-character alphanumeric strings derived from cryptographic keys (1).

Review the Dark Web Onion Sites guide to deepen your understanding of secure navigation.

Still wondering?

How do I access a .onion website?

You can access a .onion website by using the Tor Browser. This specialized browser routes your traffic through the Tor network to reach hidden services securely. Modern v3 addresses consist of a 56-character alphanumeric string derived from the server's Ed25519 cryptographic public key (1).

Is .onion a dark web site?

Yes, .onion sites belong to the dark web because they are hosted as hidden services within the Tor network. Unlike conventional websites, they do not require public IP exposure or traditional certificate authorities because the address cryptographically self-authenticates the service (3).

Can Google access .onion sites?

No, conventional search engines like Google cannot access or index .onion sites. These services do not expose public IP addresses, and their addresses are cryptographically derived from public keys rather than standard domain name systems (1), (3).

Is it safe to visit onion sites?

Visiting onion sites presents unique security challenges like browser fingerprinting and malicious JavaScript execution. You can mitigate these threats by setting your Tor Browser security level to “Safest” and keeping the window at its default size (1).

How do .onion addresses work?

Modern v3 .onion addresses work by using a 56-character alphanumeric string derived directly from the server's Ed25519 cryptographic public key via Base32 encoding (1). This mechanism allows the address to cryptographically self-authenticate the service without needing traditional certificate authorities (3).

Sources consulted

[1] Dexpose

[2] AnubizHost

[3] Anoni

Explore More on Onion Sites

Discover additional resources and insights on .onion sites.

Browse More Articles