TLD Filter

Keep or remove domains by their extension.

  • SEO Tools
  • Free, no sign-up
  • Runs in your browser

TLD Filter tool

TLDs found
  • Paste a list to see which TLDs are in it.

Click a TLD to select it. Selected TLDs are the ones acted on.

Comma separated. Overrides the chips above when it is not empty.

0
Lines in
0
Kept
0
Removed
0
Distinct TLDs
TLDCountShare

About the TLD Filter

Sometimes only part of a domain list is relevant: Pakistani sites ending in .pk for local research, .edu addresses for academic outreach or .gov sites for official sources. This TLD filter splits a list of domains or URLs by extension, keeping the ones you choose and setting the rest aside, with a count for every top-level domain found. It handles multi-part extensions such as .co.uk, shows both the kept and removed lists, and can remove duplicates and sort the result in the same pass. The filtered list can be copied or downloaded in one click. To sort what remains, use the Domain Sorter, and to remove repeated domains, the Duplicate Domain Remover.

The everyday uses are concrete. An outreach list can be cut down to the extensions a campaign is aimed at. A backlink export can be checked for a sudden wave of links from one cheap extension, a pattern often left by a negative SEO attack or a purchased link bundle. A list of prospects can be limited to country domains when the campaign covers one region.

Before anything is removed, you see a full tally: each extension found and how many entries carry it. Often that tally is the answer by itself, since a list holding 380 .com domains next to 70 on .xyz is telling you something before you filter at all. Spotting the odd extensions first also tells you which filters are worth applying.

Suffixes made of two parts are recognised properly. A domain ending in .co.uk counts as one extension instead of simply .uk, and the same goes for .com.au, .com.pk, .co.in and dozens of similar endings. IP addresses get a group of their own, and lines with no readable domain are counted and left out of both lists.

The filtering is done entirely on your own device. No list is uploaded, stored or tied to an account, so client prospect lists and backlink exports remain private.

How to use the TLD Filter

  1. Paste your domains or linksPut one entry per line; full URLs are reduced to their domain automatically.
  2. Review the tallyEach extension in the list appears with the number of entries using it.
  3. Select what to keep or dropTick extensions from the tally or type your own list.
  4. Copy either listBoth the kept and the removed entries are ready to take away.

TLD Filter features

  • Tally of every extension present, with counts and percentages
  • Choice of keeping only selected extensions or removing them
  • Swap button that exchanges the kept and removed entries
  • Optional duplicate removal and sorting of the result
  • Two-part endings such as .co.uk recognised as one
  • Kept and removed entries displayed side by side
  • Full URLs accepted alongside plain domains
  • Processing that happens only in your browser

Common uses

  • Narrowing an outreach list to the countries you target
  • Spotting a burst of spam links from a low-cost extension
  • Pulling out .edu and .gov sites for a campaign
  • Removing country domains from a worldwide prospect list
  • Reviewing the extension mix in a backlink profile

Filtering by domain extension in practice: local link prospects, education sites, spotting suspicious patterns, segmenting lists and country signals

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Domain extensions say something about a site's origin and purpose, from country codes such as .pk to sector suffixes such as .edu.pk. Filtering lists by extension quickly narrows them to what matters for a task. This guide narrows a list of link prospects to Pakistani sites and covers education sites, suspicious patterns in backlink lists, segmenting contact lists and how extensions relate to country targeting.

A worked example: local link prospects

A Lahore business has a list of 500 websites that link to competitors. Filtering to the .pk family, including .com.pk, .org.pk and .edu.pk, leaves 140 Pakistani sites, the most relevant prospects for local partnerships, directories and news coverage. The business then reviews each site manually, contacting only those genuinely related to its field.

Education sites

Sites ending in .edu.pk belong to universities, colleges and schools. Filtering for them helps organisations offering scholarships, internships or educational resources find relevant institutions to contact. Links from education sites come from genuinely useful resources, such as scholarship listings, not from requests for links.

Suspicious patterns

Industry reports have found that some newer, inexpensive extensions are used disproportionately for spam and abuse. Filtering a backlink list by extension can surface clusters worth inspecting. Judge each site on its content, though, since many legitimate sites use newer extensions too.

Segmenting contact lists

Filtering email domains by country extension helps segment contacts, such as sending Pakistan-specific offers only to contacts with .pk domains. Many people use international email providers, so extension filtering is a rough guide rather than a precise country filter.

Country signals

Country-code extensions such as .pk are treated by search engines as a signal that a site targets that country. Generic extensions such as .com can target any country, with signals such as language, content and local links indicating the audience. Choosing an extension when starting a site therefore has long-term consequences.

Removing instead of keeping

Filtering can also remove extensions, for example excluding government sites from an outreach list, since they rarely respond to commercial requests. Removing irrelevant groups first leaves a shorter list that deserves careful manual review.

Combining with other cleaning

Extract hostnames and remove duplicates before filtering, so each site appears once and every entry has a recognisable extension. Filtering a raw list full of repeated pages from the same sites makes counts misleading.

Keep notes on decisions

Record which extensions were kept or removed and why, especially for shared outreach lists. Colleagues picking up the list later then understand its scope and do not waste time re-adding groups that were excluded deliberately.

Common mistakes

  • Treating extension filtering as precise country targeting.
  • Dismissing every site on a newer extension as spam.
  • Filtering before removing duplicate domains.
  • Contacting education and government sites with commercial link requests.

Related tools

To extract domains from addresses first, use Domain Extractor. To order the filtered list, try Domain Sorter, and to remove repeats, Duplicate Domain Remover.

Pakistani suffixes

Pakistani domains include the plain .pk extension and second-level suffixes such as .com.pk, .net.pk, .org.pk, .edu.pk, .gov.pk, .biz.pk and .web.pk, among others. A filter treating these as a family captures Pakistani sites far more completely than filtering for .com.pk alone.

Regional markets

Businesses selling to Pakistanis abroad or to Gulf markets can filter for extensions such as .ae for the United Arab Emirates and .sa for Saudi Arabia, alongside .pk. This builds region-specific lists of partners, directories and media without manual sorting.

Brand monitoring

Filtering lists of newly registered domains for your brand name across extensions reveals registrations by others, which may be fan sites, resellers or impostors. Knowing about them early allows a measured response before customers are misled.

Courteous outreach to institutions

Universities, charities and public bodies receive many link requests. Contact them only with something genuinely useful to their audience, such as a free resource for students, and accept a polite refusal. Respectful outreach builds relationships; mass requests damage reputations.

Review the filtered list

A filter narrows a list but does not judge quality. Visit the remaining sites, check that they are active, relevant and trustworthy, and drop any that are not. A careful manual review of a short list is worth far more than mass contact with a long one.

Generic extensions

Generic extensions such as .com, .net and .org are used worldwide, so filtering them tells you little about location. For those sites, look at language, addresses, phone numbers and content to judge where they operate and whom they serve.

Saving filtered views

Save each filtered list with a clear name, such as Pakistani education sites, October 2026, and note the source data. Rerunning the same filter later on fresh data shows how the group has changed, such as new institutions linking to competitors.

Combining several filters

Filters can be combined in stages: first keep the .pk family, then remove government domains, then remove sites already contacted. Working in stages keeps each step simple and makes it easy to explain how the final list was built.

Privacy

Filtering runs in your browser. Your lists are not uploaded or stored.

Frequently asked questions

Is .co.uk treated as one extension?

Yes. Common two-part suffixes such as .co.uk, .com.au and .com.pk are recognised as single extensions, so example.co.uk is counted under .co.uk rather than .uk. A filter for .uk therefore picks up only domains that end directly in .uk.

Can I choose more than one extension?

Yes. Select as many as you need from the tally of extensions found in your list, or type your own comma-separated set when you already know exactly which endings you want.

What happens to lines without a domain?

They are left out of both lists, and the summary tells you how many there were so nothing disappears unnoticed. IP addresses are kept, though, grouped under their own label so you can see how many appear in the list.

Do I get the removed entries as well?

Yes. The entries that stay and the entries that are filtered out are displayed separately, so one pass gives you both halves of the split without running the filter a second time.

Will it accept full links instead of domains?

Yes. Each line is examined and its domain is extracted before filtering, so you can paste whole URLs from a crawl or a backlink export without cleaning them up first.

Is my list sent anywhere?

No. Sorting and filtering happen inside your browser, so prospect lists, client exports and other private data never reach a server and are not kept after you close the page.