Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

tldextract

Parse URLs to extract subdomain, domain and TLD using the Public Suffix List.

Scraping, browsers and parsingPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/john-kurkowski/tldextract

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What tldextract does

Parse URLs to extract subdomain, domain and TLD using the Public Suffix List.

tldextract popularity

56 / 100
Gid Score, #1402 overall
10.2M
downloads a week, pypi
2,032
GitHub stars
3
agent projects use it
tldextract: downloads per weekPyPI, tldextract 10,130,177
tldextract: GitHub starsjohn-kurkowski/tldextract 2,032

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How tldextract is used

  • tldextract is a dependency in 3 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 75 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use Requests (86.7%), Pydantic (84.0%), python-dotenv (82.7%).

Often used with

In 86.7% of its projects
In 84.0% of its projects
In 82.7% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 78.7% of its projects
In 78.7% of its projects
In 77.3% of its projects

More about tldextract

Funding
  • GitHub Sponsors: https://github.com/john-kurkowski
  • 1 GitHub sponsors

See all

More in Scraping, browsers and parsing

Alternatives

tldextract This page

BSD-3-ClauseGid 5610.2M/wk

Compare tldextract with another tool

Get started

Install it.

pip install tldextract

No step-by-step start for tldextract yet: we have not written its hand-checked card.