URL extractor
Extract every URL from plain text, raw HTML or logs: http/https/ftp are recognised by default, trailing punctuation is trimmed, brackets are matched in pairs, identical URLs are deduplicated with a count, and scheme-less domains can be detected against a 60-entry TLD whitelist. One URL per line, fully local.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Plain text, raw HTML, Markdown or logs all work. Only URLs with a scheme are picked up by default, and trailing punctuation is trimmed.
Extracted URLs
One URL per line, ready to paste into a list or spreadsheet.
Enter text to see the extracted URLs
Matches: 0 · Output rows: 0 · Distinct hosts: 0 · https rows: 0 · Scheme-less rows: 0
What this tool does
- Pull every link out of raw HTML, Markdown or a chat log at once, deduplicated and one per line, ready to export.
- Audit outbound links, competitor pages or support threads: see how many distinct hosts appear and what share is https.
- Clean log or crawler dumps: trailing periods and unbalanced brackets are dropped while bracketed Wikipedia-style URLs stay intact.
Example
Input
访问 https://example.com/docs,也见 http://blog.example.cn/post。
Output
https://example.com/docs http://blog.example.cn/post
Only URLs with a scheme are picked up by default and identical strings are deduplicated; trailing Chinese periods and commas are trimmed.
Frequently asked questions
Which schemes are supported?
http://, https:// and ftp:// (case-insensitive). Other schemes (mailto:, tel:, file:, data:) and scheme-less host names are ignored unless you enable "Detect scheme-less domains".
How are trailing punctuation and brackets handled?
Trailing punctuation (. , ; : ! ? and the Chinese equivalents, plus quotes) is trimmed. Brackets are matched in pairs: a closing bracket is only removed when there are more closing than opening ones, so https://en.wikipedia.org/wiki/Rust_(programming_language) keeps its bracket.
What does "Detect scheme-less domains" rely on?
A whitelist of 60 common TLDs (com, cn, net, org, io, dev, app, ai …) plus a requirement that the domain is preceded by whitespace, punctuation or the start of the text. TLDs outside the list (.museum, .md) are ignored, so file names such as readme.md are not mistaken for sites.
How are duplicates and ordering handled?
Identical strings are deduplicated and counted by default; comparison is case-sensitive and www counts as part of the address (host statistics, however, are grouped by lower-cased host name). Output can be ordered by first appearance or alphabetically.
Does it visit the URLs?
No. Everything is local text matching — no requests, no DNS lookups and no reachability checks. The result mirrors exactly what the text contains.
Keywords:URL extractorextract urlslink extractor