Preparing for system design interviews?  Try bugzed.com →

tldextract

JSON →
library 5.3.1 ·python
verified Jun 28, 2026 install

tldextract accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). It handles edge cases often missed by naive parsing methods. By default, it supports public ICANN TLDs and their exceptions, with optional support for private domains. The current version is 5.3.1, and the library maintains an active development and release cadence.

total hits 24
actors 7 distinct systems
last hit 11d ago AhrefsBot
ClaudeBot
5
GPTBot
4
Amazonbot
4
ByteDance
4
Perplexity-User
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom · VN