TitleCasePro logo TitleCasePro

Extract URLs From Text

Paste any text and get a clean list of every URL and link it contains. Handles http://, https://, and bare www. domains. Runs entirely in your browser.

Input text
Extracted URLs 0 found

How to Extract URLs From Text

Paste any text block into the left panel — an article, HTML source, Markdown file, log output, or document — and every URL it contains appears in the right panel, one per line. The tool strips trailing punctuation that commonly bleeds in from prose (periods, commas, closing parentheses) so you get clean, clickable links.

Use the Remove duplicates toggle (on by default) to keep only the first occurrence of each unique URL — essential when the same link appears multiple times in a document. The Sort A → Z toggle alphabetically sorts the extracted list, making it easier to scan for patterns or group URLs by domain. Both toggles apply instantly to the current results whenever you switch them.

The header above the output panel shows an X found count that updates in real time. Use Copy list to copy all URLs as plain text (one per line), or Copy as CSV to copy them in CSV format with a url header row — ready to paste into spreadsheets or import into SEO tools. The Clear button resets both panels.

What URL Patterns Are Matched

The extractor matches three common URL forms:

  • HTTPS URLshttps://example.com/path?query=1
  • HTTP URLshttp://legacy-site.com
  • Bare www domainswww.example.com/page (without a protocol prefix)

Query strings, paths, fragments (#section), and port numbers are all preserved. Trailing punctuation that is not part of a URL — closing parentheses, periods, commas, semicolons — is stripped from the end of each match.

URL vs URI — a Quick Note

A URI (Uniform Resource Identifier) is any string that identifies a resource. A URL (Uniform Resource Locator) is a URI that also specifies how to access the resource — i.e. it includes a protocol (https://). This tool extracts URLs in the practical sense: web-accessible links starting with http/https or a www prefix.

Common Use Cases

  • Broken-link audits — Extract all links from a page or document to check them in a link checker.
  • Backlink research — Pull URLs from exported reports or CSV files from SEO tools.
  • Reference lists — Extract all sources cited in an article or research document.
  • Log analysis — Server access logs often contain request URLs that need to be isolated.
  • Content migration — Extract internal links from old content before migrating to a new domain.

Privacy: Runs Entirely in the Browser

Like all TitleCasePro tools, the URL extractor runs entirely in your browser with JavaScript. Your pasted text is never sent to any server or stored anywhere. This makes it safe for internal documents, confidential logs, and private content.

To also extract email addresses from the same text, use the email extractor. For general text cleanup before extraction, use the text cleaner. Learn more in our guide on how to extract URLs from text.

URL Extractor FAQ

Common questions about extracting URLs and links from text.

Related Tools