tldextract

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…

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install tldextract

Dependencies

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
5.3.2 2026-08-08    
5.3.1 2025-12-28    
5.3.0 2025-04-22    
5.2.0 2025-04-07    
5.1.3 2024-11-05    
5.1.2 2024-03-19    
5.1.1 2023-11-17    
5.1.0 2023-11-06    
5.0.1 2023-10-17    
5.0.0 2023-10-11    
4.0.0 2023-10-11    
3.6.0 yanked 2023-09-19    
3.5.0 2023-09-07
3.4.4 2023-05-20
3.4.3 2023-05-18
3.4.2 2023-05-16
3.4.1 2023-04-26
3.4.0 2022-10-04
3.3.1 2022-07-08
3.3.0 2022-05-04
3.2.1 2022-04-11
3.2.0 2022-02-21
3.1.2 2021-09-01
3.1.1 2021-08-27
3.1.0 2020-11-22
3.0.2 2020-10-25
3.0.1 2020-10-22
3.0.0 2020-10-20
3.0.0rc1 pre-release 2020-10-13
2.2.3 2020-08-06
2.2.2 2019-10-16
2.2.1 2019-03-05
2.2.0 2017-10-27
2.1.0 2017-05-25
2.0.3 2017-05-20
2.0.2 2016-10-16
2.0.1 2016-04-26
2.0.0 2016-04-21
2.0rc1 pre-release 2016-04-04
1.7.5 2016-02-07
1.7.4 2015-12-27
1.7.3 2015-12-12
1.7.2 2015-11-28
1.7.1 2015-08-23
1.7 2015-08-22
1.6 2015-03-22
1.5.1 2014-10-14
1.5 2014-09-09
1.4 2014-06-01
1.3.1 2013-12-17
1.3 2013-12-09
1.2.2 2013-10-10
1.2.1 2013-10-09
1.2 2013-07-07
1.1.3 2013-01-29    
1.1.2 2012-09-17    
1.1.1 2012-07-25    
1.1 2012-03-22    
1.0 2012-02-12    
0.4 2012-01-19    
0.3.2 2012-01-07    
0.3.1 2011-07-07    
0.3 2011-06-19    
0.2 2011-03-02    
0.1.1 2011-03-01    
0.1 2011-02-28    

Issues with this package?

Page last updated 2026-09-03 07:54:03 UTC