Extract Domains from Text

Paste any text — articles, notes, chat logs, threat feeds — and pull out every domain instantly. Deduplicated, sorted, exportable.

✓ Free forever✓ No signup✓ Runs in your browser✓ 20MB / 3,000+ domains

Extract Domains Now

Step 1 — Choose input method

💡 Quick load a sample to see how it works:

📁

Click to upload or drag & drop

TXT · CSV · HTML · JSON · XML · LOG · MD (Max 20MB)

Step 2 — Configure extraction

Source Type

Domain Mode

TLD Filter

Extras

Domain Level

Step 3 — Extract

📝
Extract Domains from TextPaste any mixed text — articles, notes, chat logs, threat reports — and get a clean, de-duplicated list of every domain mentioned. Optimized for messy, human-written input.

How to Extract Domains from Text 🚀 Extract now

  1. Paste your text into the input box above (or click 📝 Mixed text for a sample).
  2. Keep Source Type on Plain text (mixed).
  3. Click 🚀 Start Calculate — the page scrolls to your results automatically.
  4. Copy, export as CSV/TXT/JSON, or run batch checks on selected domains.

What Kind of Text Works? 🚀 Extract now

📄 Documents & Articles

Word docs, PDFs (paste content), blog posts, research papers.

💬 Chat Transcripts

Slack, Teams, Discord exports — pulls linked domains automatically.

📊 Server & Access Logs

Extract every host referenced in Apache/Nginx/CloudFront logs.

📧 Email Bodies

Extract sender and referenced domains from newsletters or threat samples.

🌐 Scraped HTML

Raw page source — the tool ignores CSS selectors and JS property chains.

📝 Freeform Notes

Meeting notes, research dumps, plain-text bookmarks.

How Text-to-Domain Extraction Works 🚀 Extract now

The tool tokenises the input by regex, matching every string that looks like a hostname — with or without http(s)://, with or without www.. Each candidate is validated against the current IANA TLD list. Emails are detected separately and their domain part is extracted. Finally, results are deduplicated case-insensitively.

Examples

Input snippetExtracted domains
See our post at https://blog.example.com/2026/tipsblog.example.com
Ping me — [email protected]company.io
Try www.github.com/user/repogithub.com
CDN: cdn.jsdelivr.net/npm/vuecdn.jsdelivr.net
Free-text: "visit shop.example.co.uk today"shop.example.co.uk

Related Tools 🚀 Extract now

FAQ 🚀 Extract now

Can I extract a domain from a single string like "[email protected]"?
Yes. Paste the string, keep Source Type = Plain text (mixed), and click Extract. You'll get example.com.
How do I extract a domain from a URL inside text?
The default text mode already does this. If your input is 100% URLs, one per line, switch to URL list only or use the URL Domain Extractor for cleaner defaults.
Will it pick up bare hostnames like "api.stripe.com" without a scheme?
Yes, as long as the TLD is recognised. The regex works with or without http://.
Are false-positives (like "3.14" or "file.txt") filtered?
Yes. Every candidate must have a valid IANA TLD, so file.txt, 3.14, version.2, etc. are rejected.