Skip to content
TextArray
100% local

Domain extractor

Pull clean domain names out of any text full of links and e-mail addresses.

Input
Output

Domain extractor

Paste anything that contains links or e-mail addresses — a newsletter, a log file, an HTML page, a CSV export, a list of contacts — and this tool reduces it to the domains alone, one per line. From https://www.example.com/shop/cart?id=1 it keeps example.com; from [email protected] it keeps firma.sk. Everything else — protocols, paths, query strings, ports, the local part of an address — is stripped away.

The source option decides what gets scanned: URLs only, e-mail addresses only, or both at once, in the order they appear in the text. Duplicates are removed by default, so a page that links to the same site forty times yields one line; the live tally still shows how many occurrences were found and how many were unique. Strip www. normalizes www.example.com and example.com into the same entry, and sort alphabetically turns the result into a tidy, comparable list.

The TLD filter is the quickest way to slice a mixed list by market: type .sk, .cz to keep only Slovak and Czech domains, or .com to isolate the international ones. The filter accepts entries with or without the leading dot and applies after www-stripping, so it always sees the final form. Raw IP addresses are deliberately excluded — this is a domain list, not a host dump.

Typical uses: building a blocklist or allowlist, auditing where a page links out to, extracting sender domains from a mail export, or preparing a domain list for bulk WHOIS or DNS checks. Everything runs locally in your browser — logs, mailing lists and client data never leave your device.

FAQ

What exactly counts as a domain here?
The host of a URL (https://…, http://…, ftp://… or a bare www.…) and the part after @ in an e-mail address. The host must be a dotted name — raw IP addresses like 192.168.0.1 are excluded on purpose, because a domain list is usually the input for DNS, WHOIS or blocklist work.
Are internationalized domains with accents supported?
Yes. Domains written with Unicode letters, such as kaviareň.sk or łódź.pl, are extracted intact, and punycode forms (xn--…) pass through unchanged. The output preserves the spelling used in the text, lowercased.
How does the TLD filter treat subdomains?
The filter matches the end of the domain, so .com keeps blog.example.com as well as example.com. It is a suffix filter, not a registry lookup — .co.uk works exactly the same way as .com.
Why does user@ in a URL not produce an e-mail domain?
In ftp://[email protected] the user@ part is URL userinfo, not an address, so the tool extracts files.example.com once from the URL and does not double-count it as an e-mail.
Is my text uploaded anywhere?
No. The extraction runs entirely in your browser and your text never leaves your device.