The Tor dataset tracks the IP addresses participating in the Tor network, with a flag distinguishing exit nodes, whose addresses actually originate user traffic, from middle relays that never do.
It is rebuilt continuously from the Tor consensus so new relays appear and retired ones disappear within a day.
The data
Inside the file
One record per row, a commented header line first. This is what ipregistry-tor.csv looks like:
# ip_start,ip_end,is_exit_node2001:67c:e60:c0c:192:42:116:142,2001:67c:e60:c0c:192:42:116:142,false172.245.9.61,172.245.9.61,false141.144.245.205,141.144.245.205,false2a01:e0a:ac9:fc01:0:0:0:16,2a01:e0a:ac9:fc01:0:0:0:16,false2a02:168:2000:c:0:0:0:425,2a02:168:2000:c:0:0:0:425,false The rows above come from the free sample. Every build ships with MD5, SHA-1, SHA-256 and SHA-512 checksums so you can verify downloads.
| Column | Description |
|---|---|
ip_start | First IP address of the range, IPv4 or IPv6. |
ip_end | Last IP address of the range, inclusive. |
is_exit_node | Whether the range operates as a Tor exit node (true) or a relay only (false). |
The MMDB variant carries the same data in a memory-mapped binary tree, compatible with the standard MMDB reader libraries available for every major programming language.
Downloads
Available formats
| Format | Description | Size |
|---|---|---|
| CSV | Plain text, one range per line. Import into any database or data warehouse. | 461 KB |
| CSV (zipped) | Same file compressed for faster downloads and cheaper storage. | 95.4 KB |
| MMDB | Binary format for instant lookups with standard MMDB readers. | 2.1 MB |
Use cases
What you can build
- Challenge or sandbox Tor exit traffic on sensitive actions
- Distinguish exit nodes from harmless middle relays in threat feeds
- Measure Tor usage across your audience
- Comply with policies that require flagging anonymized access
Related use case: Cyber security
Datasets are available with an Ipregistry subscription and download from your dashboard, or over a stable URL for automated syncs. Prefer live data? The same intelligence is served by the Ipregistry API.