# TorBot

> Python crawler for .onion and regular sites that maps links, checks if pages are live and saves the link tree.

Source: https://osinttools.io/tools/torbot/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** URL
- **Category:** Dark web and breaches
- **Pricing:** Open source (Free and open source.)
- **Footprint:** active (contacts the target or the services it checks)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI
- **Website:** https://github.com/DedSecInside/TorBot
- **GitHub:** DedSecInside/TorBot, 5,227 stars · Python · last commit 2026-11-12
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

TorBot is an open-source crawler built for the Tor network. Given a starting URL it follows links to a set depth through a local Tor SOCKS proxy, records page titles and descriptions, checks which links are live and can save the link tree as JSON or display it as a table or tree.

Researchers use it to map the structure of a hidden service and its outbound links. Newer versions can save a versioned crawl result and produce a cited analysis bundle using a local LLM by default.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is no public API.

## Features

- Onion and clearnet crawling
- Depth-limited link discovery
- Live link checking
- JSON link tree export
- Tree and table visualisation
- Optional local LLM analysis of crawl results

## Pros

- Purpose-built for Tor hidden services
- Simple CLI with depth control
- Can run without Tor for clearnet sites
- Actively maintained

## Cons

- Crawling contacts every site it visits; dark web content can be illegal or harmful to view
- Some listed features, such as saving links to a database, are marked as not done
- Requires a working local Tor setup for onion sites

## When to use it

- Use it when you need to map the link structure around a known onion service.
- Use it when you want a saved, repeatable record of what a hidden service linked to on a given date.

## Quick start

Terminal · Python 3.10+:

```
python -m pip install -r requirements.txt
python -m pip install -e .
python main.py -u https://example.com --depth 2 --visualize table
```

## Alternatives

- [TorCrawl.py](https://osinttools.io/tools/torcrawl/): Python crawler that fetches and extracts regular or .onion web pages through the Tor network. (Open source · URL · active · 551 GitHub stars)
- [Ahmia](https://osinttools.io/tools/ahmia/): Search engine for Tor onion services that filters out known abuse material. (Free · Name, URL · passive)
- [Intelligence X](https://osinttools.io/tools/intelligence-x/): Search engine and archive covering leaks, darknet sites, pastes, documents and historical web data. (Freemium · Email, Domain, IP address, URL, Crypto wallet, Phone number · passive)
- [Hakrawler](https://osinttools.io/tools/hakrawler/): Fast Go web crawler that lists URLs and JavaScript file locations found on a website. (Open source · URL · active · 5,174 GitHub stars)
- [Hunchly](https://osinttools.io/tools/hunchly/): Browser extension and desktop app that automatically captures and hashes every page you visit during an online investigation. (Paid · URL · active)
- [LinkedInDumper](https://osinttools.io/tools/linkedindumper/): Python script that lists a company's employees, titles and locations from LinkedIn using your own session cookie. (Open source · URL · active · 624 GitHub stars)

All alternatives to TorBot in one table: https://osinttools.io/tools/torbot/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
