# Subfinder

> Fast ProjectDiscovery CLI that finds subdomains from passive online sources.

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

- **Inputs:** Domain
- **Category:** Infrastructure and domains
- **Pricing:** Open source (Free and open source; some sources need their own API keys)
- **Footprint:** depends on the modules you run
- **Account required:** no
- **API:** no public API
- **Platforms:** Go CLI
- **Website:** https://github.com/projectdiscovery/subfinder
- **Docs:** https://docs.projectdiscovery.io/tools/subfinder/overview
- **GitHub:** projectdiscovery/subfinder, 14,854 stars · Go · MIT · last commit 2026-11-23
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

Subfinder collects subdomains for a domain from passive sources such as certificate logs, search engines and DNS datasets. It is built for speed and clean output, and fits into pipelines with other ProjectDiscovery tools like dnsx and httpx.

Investigators use it for quick, low-noise subdomain discovery. By default it only queries third-party sources; optional flags resolve the results, which sends DNS queries for the target's names.

Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.

## Features

- Passive subdomain enumeration
- Many configurable sources
- Optional DNS resolution of results
- JSON and plain output
- Pipeline-friendly

## Pros

- Very fast and easy to run
- Passive by default
- Works well in scripted pipelines

## Cons

- Best results need API keys for several sources
- Only finds names present in its sources; no brute forcing

## When to use it

- Use it when you want a quick passive list of subdomains.
- Use it when feeding subdomains into other tools in a script.

## Quick start

Install with Go, then run against a domain:

```
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
subfinder -d example.com
```

## Alternatives

- [DNSDumpster](https://osinttools.io/tools/dnsdumpster/): Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map. (Freemium · Domain · passive)
- [Fast Google Dorks Scan](https://osinttools.io/tools/fast-google-dorks-scan/): Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths. (Open source · Domain · passive · 1,744 GitHub stars)
- [Findomain](https://osinttools.io/tools/findomain/): Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts. (Open source · Domain · depends · 3,838 GitHub stars)
- [OWASP Amass](https://osinttools.io/tools/amass/): OWASP command-line tool for subdomain enumeration and attack surface mapping using passive sources and DNS. (Open source · Domain · depends · 15,554 GitHub stars)
- [OneForAll](https://osinttools.io/tools/oneforall/): Python subdomain collector that combines certificate logs, DNS datasets, search engines, brute force and takeover checks. (Open source · Domain · depends · 10,160 GitHub stars)
- [ParamSpider](https://osinttools.io/tools/paramspider/): Fetches a domain's archived URLs from the Wayback Machine and filters them down to ones with parameters. (Open source · Domain · passive · 3,214 GitHub stars)

All alternatives to Subfinder in one table: https://osinttools.io/tools/subfinder/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/
