URL Extractor

Automatically extract every URL from pasted text, logs, or documents. Deduplicate, sort, and export the list as .txt or .csv, entirely in your browser.

runs locally on your browser. Your data never leaves your device.
Output

Extracted URLs will appear here.

Common Use Cases

Pull a clean, deduplicated list of links out of a chat export or research document
Extract every citation link from a saved article or scraped web page before archiving it
Check how many links in a document use https versus plain http before sharing it
Recover URLs from a messy log file, CSV export, or plain-text email thread

About URL Extractor

Links end up scattered inside all kinds of text: a saved email thread, a chat export, an HTML page, a CSV column, a scraped article, a document full of citations. Manually scanning for every http://, https://, or bare www. mention to build a clean list is slow, and it's easy to miss one buried in a long paragraph or accidentally include a stray period or closing parenthesis that was never part of the link.

This tool scans any pasted text and pulls out every URL in one pass, live as you type or paste. It recognizes both fully-qualified links (https://example.com/page) and bare www. mentions that are missing a scheme, and it's careful about trailing punctuation: a link at the end of a sentence like "see https://example.com." has the period stripped, while a link that genuinely ends in a closing parenthesis (like a Wikipedia article with a parenthetical in its title) is left intact, by checking whether the parentheses in the match are actually balanced.

Duplicates are removed automatically, the list can be sorted alphabetically or left in the order it was found, and a quick breakdown shows how many links use https, how many use plain http, and how many domains are represented, useful for spotting that a "reference list" leans entirely on one insecure or unfamiliar source before you click through any of them.

Once extracted, the list can be copied in full, copied one link at a time, or downloaded as a plain .txt file (one URL per line) or a .csv file (with a URL/domain/protocol column set) ready to drop into a spreadsheet.

Everything runs as plain JavaScript directly in your browser. No text you paste, and no URL extracted from it, is ever uploaded, logged, followed, or transmitted anywhere; the tool never fetches or visits any of the links it finds, it only reads the text you gave it.

Frequently Asked Questions

What counts as a URL for extraction?
Any text starting with http:// or https:// followed by non-whitespace characters, plus (optionally, if the toggle is enabled) bare www. mentions that don't have a scheme in front of them, like www.example.com. Trailing punctuation that's clearly sentence punctuation rather than part of the link (a period, comma, closing quote, or an unbalanced closing parenthesis/bracket) is automatically trimmed off the end of each match.
Will it break a URL that legitimately ends in a closing parenthesis?
No. Before trimming a trailing closing parenthesis, bracket, or brace, the tool checks whether that character is actually unbalanced within the match: a link like https://en.wikipedia.org/wiki/Example_(disambiguation) has one opening and one closing parenthesis, so nothing is trimmed. Only an unmatched closing character (one with no corresponding opener earlier in the same match) is treated as surrounding punctuation and removed.
Does this tool visit or check whether the links actually work?
No. It only reads the plain text you paste and pattern-matches it; it never fetches, requests, or follows any of the URLs it finds, so it won't tell you if a link is broken, redirects somewhere else, or is still live. It's purely a text-extraction tool, not a link checker.
Can I export the extracted list to use elsewhere?
Yes. Use 'Copy all' to copy every URL to your clipboard as a newline-separated list, or download it as a .txt file (one URL per line) or a .csv file (URL, domain, and protocol columns) that opens directly in Excel, Google Sheets, or any spreadsheet tool.
Is the text I paste in sent to a server?
No. All scanning happens locally in your browser using JavaScript's built-in pattern matching. Nothing you paste, and none of the URLs found in it, is ever uploaded, logged, or transmitted anywhere; the tool keeps working even if your internet connection drops after the page has loaded.