The libtld is used to extract the TLD from any URI from anywhere in the world. The library recognizes all TLDs, whatever the number of levels the TLD includes (i.e. .com has one, .au has up to 4 such as .schools.nsw.edu.au) this library will be capable of extracting it. The library is for C, C++, and PHP.

Features

  • Reusable TLD extracting code in C/C++
  • Supports all known TLDs, over 2,000
  • Checked against Firefox (Mozilla Group) TLD definitions
  • Verify full URIs and email addresses
  • Convert a URI domain to lowercase

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow libtld

libtld Web Site

nel_h2
Secure User Management, Made Simple | Frontegg Icon
Secure User Management, Made Simple | Frontegg

Get 7,500 MAUs, 50 tenants, and 5 SSOs free – integrated into your app with just a few lines of code.

Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Start for Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Libtld is excellent! Thanks.
    2 users found this review helpful.
Read more reviews >

Additional Project Details

Operating Systems

Cygwin, FreeBSD, Linux, Mac, MinGW/MSYS2, NetBSD, Windows

Languages

English

Intended Audience

Information Technology

Programming Language

C, C++, PHP

Related Categories

C++ Data Formats Software, C++ Internet Software, C++ Libraries, C Data Formats Software, C Internet Software, C Libraries, PHP Data Formats Software, PHP Internet Software, PHP Libraries

Registered

2011-11-20