Best Onion Site Search Engine

Ahmia offers the only fully documented onion search pipeline with transparent CSAM filtering. You'll learn how discovery, crawling, and indexing work.

Published: | Updated: November 23, 2026 | By: Derek Whitman | 10 min read

How Ahmia Indexes and Filters Onion Sites

Ahmia operates through a five-stage pipeline that determines which onion sites appear in search results. The system begins with discovery, learning about hidden services from links on indexed pages, public sources, or direct operator submissions[1]. This means Ahmia doesn't automatically find every onion address that exists—it only knows about services that are linked from other pages, published in directories, or submitted by their operators.

The second stage is crawling, where Ahmia's crawler requests publicly visible pages from discovered onion addresses[1]. Only content accessible without authentication enters the index. The third stage applies filtering, enforcing policy rules before any content reaches the index[1]. The fourth stage, indexing, stores page text and metadata in an Elasticsearch database[1]. Finally, retrieval returns matching records with title, onion address, and snippet when you search[1].

Technical Architecture

Ahmia's source code divides into three components: ahmia-index (the Elasticsearch index holding searchable records), ahmia-crawler (the Onion crawler that fetches pages over Tor), and ahmia-site (the search website you interact with)[2]. This separation means the crawler and index operate independently from the front-end interface, allowing updates to filtering rules without rebuilding the entire search system.

Filtering Mechanism

Ahmia's filtering system processes up to 30,000 documents at a time, identifying banned onion domains and setting an 'is_banned' flag to True in the Elasticsearch index[3]. This batch approach allows Ahmia to apply updated blacklist rules across the entire index without manual review of each record. When a domain is flagged, its pages disappear from search results but remain in the database with the banned status recorded.

For a practical comparison of how Ahmia's approach differs from other onion search tools, see Dark Web Link Search Engines: Ahmia, Torch, and Haystak.

Ahmia's Content Filtering and Safety Features

Ahmia automatically excludes child sexual abuse material (CSAM)-related links, rejects search terms associated with such content, and may display self-help resources, research surveys, or an alternative result view instead of ordinary search results when a query matches a safety filter[1]. This filtering occurs before results reach you, meaning you won't see banned content even if it exists in the crawled data.

The system maintains a hidden service blacklist that blocks websites containing child sexual abuse material[4]. Onion addresses on this list are masked by creating an MD5 sum of the onion domain, so the actual addresses are not published[4]. If you search for a term that matches the safety filter, Ahmia may redirect you to educational resources or show a message explaining why results are restricted, rather than returning an empty page[1].

What Filtering Means for Search Completeness

This approach prioritises safety over exhaustive coverage. Ahmia deliberately excludes a category of onion sites from its index, which means you cannot use it to find every hidden service that exists on the Tor network. If a service hosts prohibited material or uses domain names flagged by the blacklist, it will not appear in your results regardless of whether the content is relevant to a legitimate query.

The filtering system processes up to 30,000 documents at a time, setting an 'is_banned' flag to True in the Elasticsearch index for domains on the blacklist[3]. This batch operation ensures consistent enforcement across the entire index. When Ahmia updates its blacklist, previously visible sites may disappear from search results without notice.

You should understand that Ahmia's index represents a filtered subset of Tor hidden services, not a complete directory. If you need to verify whether a specific onion address exists, you must visit it directly in Tor Browser—absence from Ahmia's results does not confirm a site is offline or non-existent.

Comparing Ahmia to Other Onion Search Engines

Ahmia's filtered approach distinguishes it from alternatives mentioned in community discussions, such as Torch, Haystak, and Excavator. The key difference lies in what each engine prioritises: Ahmia enforces content filtering through a documented five-stage pipeline[1], while other engines may claim larger indexes or unfiltered results. However, only Ahmia provides verifiable technical documentation in the available sources—no comparable architecture details, crawling methods, or filtering policies exist for competing engines.

Torch is frequently described as the oldest large-scale onion crawler, with community claims of a larger index than Ahmia. If you prioritise raw index size over content safety, Torch may return more results for a given query. Haystak is mentioned alongside Torch as an alternative, but without documented technical details, you cannot verify how it discovers sites, applies filtering, or updates its index. This lack of transparency means you cannot assess whether results are current, whether scam sites are removed, or whether any content moderation occurs.

Ahmia's filtering automatically excludes CSAM-related links and rejects associated search terms, sometimes showing self-help resources or alternative result views instead of ordinary results[1]. Engines that do not document filtering policies may return harmful or illegal content without warning. If your use case requires avoiding such material, Ahmia's documented safety mechanisms provide the only verifiable protection among the engines discussed here.

For a detailed comparison of how these engines differ in practice, see Dark Web Link Search Engines: Ahmia, Torch, and Haystak.

Choosing the Right Engine for Your Use Case

Ahmia is best when you need transparent filtering and documented technical operations. If a query returns no results on Ahmia, you know the service either doesn't exist in the index, hasn't been discovered through links or submissions, or has been filtered out under content policies. Other engines may return more results, but you cannot determine whether those results are current, safe, or accurate without independent verification in Tor Browser.

Onion Search Engine Comparison: Documented Features and Policies

Engine
Ahmia
Filtering Policy
Automatic CSAM exclusion, blacklist with MD5-masked addresses
Technical Documentation
Open-source: crawler, index, site components
Clearnet Accessible
Yes (ahmia.fi)
Index Discovery Method
Links, public sources, operator submissions
Engine
Torch
Filtering Policy
No confirmed data
Technical Documentation
No confirmed data
Clearnet Accessible
No confirmed data
Index Discovery Method
No confirmed data
Engine
Haystak
Filtering Policy
No confirmed data
Technical Documentation
No confirmed data
Clearnet Accessible
No confirmed data
Index Discovery Method
No confirmed data
Engine
Excavator
Filtering Policy
No confirmed data
Technical Documentation
No confirmed data
Clearnet Accessible
No confirmed data
Index Discovery Method
No confirmed data

Key Takeaways

  • Ahmia provides the only onion search engine with verifiable technical architecture—five-stage pipeline from discovery through crawling, filtering, indexing, to retrieval—and open-source components you can inspect[1][2].
  • Automatic CSAM filtering and a hidden service blacklist mean Ahmia prioritises safety over exhaustive coverage; you won't find every onion service, but you'll avoid documented illegal material[1][4].
  • Competing engines like Torch and Haystak lack published technical documentation, so you cannot verify their crawling methods, filtering policies, or whether results are current or safe.
  • Ahmia's batch filtering processes up to 30,000 documents at a time, setting banned flags in Elasticsearch; when the blacklist updates, previously visible sites may disappear without notice[3].
  • Absence from Ahmia results does not prove a service is offline—it may be undiscovered, unlinked, or filtered; always verify onion addresses directly in Tor Browser.

If you need to understand how Ahmia compares to alternatives in practical use, review Dark Web Link Search Engines: Ahmia, Torch, and Haystak to see documented differences in filtering and discovery methods.

How to Verify Whether an Onion Site Exists Outside Search Results

Search engines index only a subset of the Tor network, so when Ahmia or another engine returns no results for an onion address, you cannot conclude the service is offline or non-existent. The site may operate outside the discovery methods that populate search indexes, or it may have been filtered under content policies. To determine whether a hidden service is genuinely active, you need to test the address directly in Tor Browser and understand the technical reasons a site might remain invisible to crawlers.

Why Onion Sites May Not Appear in Search Indexes

Ahmia discovers hidden services through three channels: links from already-indexed pages, public sources such as directories, and direct operator submissions[1]. If a service launches without links from other indexed sites and the operator does not submit it, the crawler will never learn the address exists. This is common for private services, invite-only communities, or sites that deliberately avoid publicity. The service may function normally for users who know the address, but it will never appear in search results because the discovery stage of Ahmia's pipeline[1] cannot detect it.

Filtering also removes sites from results even after they have been crawled. Ahmia's blacklist blocks domains containing child sexual abuse material by creating an MD5 sum of the onion address[4], so flagged sites disappear from the index regardless of whether they remain online. The filtering system processes up to 30,000 documents at a time, setting an 'is_banned' flag to True in Elasticsearch[3]. If a domain is added to the blacklist after initial indexing, it will vanish from search results but continue to operate on the Tor network. You will not receive notification that a site has been filtered—it simply stops appearing in queries.

Testing an Onion Address Directly in Tor Browser

To verify a hidden service, open Tor Browser and paste the full .onion address into the location bar. If the service is online and your Tor circuit can reach it, the page will load. If you see a "Unable to connect" error or "Onionsite Not Found," the service may be offline, the address may be incorrect, or your Tor circuit may have routing issues. Refresh the page or request a new Tor circuit (click the onion icon in the toolbar, then "New Circuit for this Site") to rule out temporary network problems.

When a site loads successfully but does not appear in Ahmia, you have confirmed it exists outside the search index. This tells you the service either has not been discovered through links or submissions, or it has been filtered under Ahmia's content policies[1]. You cannot determine which reason applies without access to Ahmia's internal blacklist or crawl logs, but the direct test proves the address is functional.

Limitations of Direct Verification

Direct testing only confirms whether a service responds at a given moment—it does not verify the site's legitimacy, safety, or content. Scam sites, phishing pages, and malicious services can all load successfully in Tor Browser. If a site appears in no search engine and has no links from trusted directories, you should treat it with additional caution. Check for HTTPS errors (the green padlock in the address bar), compare the address against known official addresses if available, and avoid entering credentials or payment information until you have verified the service through independent channels.

Some onion sites implement access controls that block automated crawlers but allow human visitors. If a service requires a login, CAPTCHA, or JavaScript to display content, Ahmia's crawler will see only the access gate, not the pages behind it[1]. The site may host substantial content that never enters the search index because the crawler cannot authenticate. Direct testing with Tor Browser allows you to bypass these restrictions if you have valid credentials, but you will not find the content through search.

When to Rely on Search Engines and When to Use Direct Addresses

Use Ahmia or other onion search engines when you need to discover new services by topic, verify that a known service is still indexed, or explore categories of hidden services with documented filtering. Search results show you what the engine has crawled, filtered, and deemed acceptable under its policies[1], which provides a baseline level of content moderation. If you already have a specific .onion address from a trusted source—such as a verified directory, official clearnet site, or personal contact—test it directly in Tor Browser rather than relying on search results. The address may be current and functional even if no search engine lists it.

Footnotes

  1. Ahmia Search Engine: How It Works and Its Limits
  2. Documentation — Ahmia
  3. filter_onions.py
  4. Hidden Service Blacklist — Ahmia
OnionLens

Explore More Tor Guides

Discover detailed walkthroughs on setting up Tor Browser, understanding .onion domains, and navigating the network safely.

Browse All Guides