CMD + K

tldextract

Community

Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::tldextract

Try This Package Beta

Usage Tracking

5.3.2
5.3.1
5.3.0
5.2.0
5.1.3
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well.

Last Updated

Aug 9, 2026 at 05:37

License

BSD-3-Clause

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 2.1.0
win-32 Last supported version: 2.1.0
macOS-64 Last supported version: 2.1.0
win-64 Last supported version: 2.1.0