Download a list of subdomains as a plain-text file
A bulk subdomain list is a file of hostnames below registrable domains, such as www.example.com or shop.example.co.uk, one per line. This guide shows what our subdomain file contains, how to try it free, how to pull the names under one domain, and what a list like this cannot tell you.
- Subdomain names
- 1,446,624,304
- Registrable domains with subdomains
- 216,448,428
- Compressed file
- 14.39 GB
- Free sample
- 1,000 names
release updated 16 November 2026
in the same file
gzip plain text, one name per line
no sign-in needed
What the file contains
The subdomains file of the release updated 16 November 2026 lists 1,446,624,304 names below 216,448,428 registrable domains in this release. It is one of two files that do not overlap: a registrable domain such as example.com is in the domains file, and names below it, such as www.example.com, are in the subdomains file. Names are split with the ICANN section of the Public Suffix List; the Public Suffix List guide explains how.
Depth counts the labels to the left of the registrable domain (a.example.co.uk is depth 1):
| Depth | Share of subdomains |
|---|---|
| 1 | 39.4% |
| 2 | 17.0% |
| 3 | 16.2% |
| 4 or more | 27.3% |
Try it free
The free subdomains sample has 1,000 names from the full file, in the same format:
curl -fsSL https://getdomainlists.com/samples/getdomainlists-subdomains-sample.txt -o subdomains-sample.txt
head -n 5 subdomains-sample.txt
wc -l subdomains-sample.txt
List the names under one domain
The full file is 14.39 GB compressed. Stream it instead of extracting a copy, and keep the names that end in the domain you want:
zgrep -E '\.example\.com$' getdomainlists-2026-11-16-subdomains.txt.gz > example-subdomains.txt
Replace example\.com with your domain, keeping the backslashes before the dots. Use this for domains you own or are authorized to test. To match a whole list of hostnames at once, see the matching guide; to query the file with SQL, see the DuckDB guide.
Common uses
- Matching your own hostnames against a large list.
- Counting names per registrable domain, label or depth; how subdomains are spread is one example.
- Preparing inputs for security testing you are authorized to do.
- Research on how names are built.
What a subdomain list cannot tell you
- Whether a name resolves, is in use or hosts content today: the names are historical observations in this release.
- Every subdomain that exists: coverage is incomplete and uneven.
- IP addresses, DNS records, owners or dates: the file holds names only.
- Typical size: a few registrable domains hold very many names, so group rows by registrable domain before reading totals.
Try the format first with the free 1,000-name samples. Both full files are $9 once, with 30 days to download.