URL Extractor
Pull every web link — http(s) and www. forms — out of pasted text, deduplicated and ready to copy.
Links hide in prose in two common spellings, and this extractor takes both: the full form with a scheme (https://a.com/x, with its path kept intact) and the bare-host form that starts with www. (www.b.org). From a sentence like “see https://a.com/x and www.b.org for details” it returns exactly those two, in that order. Sentence punctuation that happens to touch a link — the comma or full stop a writer puts right after it — is trimmed from the end, because it belongs to the sentence, not to the address; punctuation inside the link, where paths and query strings legitimately use it, is left alone.
Your text is processed in this browser only — it is not uploaded, not stored and never put into a link. Extracted URLs are listed as written, never visited.
Quick answers
How do I extract all URLs from a block of text?
Paste the text into an extractor that matches both link spellings — https://a.com/x and www.b.org. A sentence containing those two returns exactly 2 links, in order, with sentence punctuation trimmed from the ends.
Duplicates are removed (case-insensitively). Bare domains with no scheme and no www. prefix are not extracted, and no extracted link is ever visited or checked by the tool.
What is the difference between extracting and checking links?
Extracting copies the link-shaped strings out of your text, exactly as written. Checking would mean visiting each one over the network — this tool never does that, so a listed link may still be dead or mistyped.
Keeping extraction offline is what lets the tool run entirely in your browser with nothing uploaded.
How to use
- Paste the text into the top box — a document, a chat export, a page of notes, anything with links buried in prose.
- The extractor runs as you paste: anything starting with http://, https:// or www. is collected up to the next space.
- Read the list below, one link per line in the order they first appeared, with the unique count beside it.
- Copy the whole list with one click, or select and copy just the lines you need.
About this tool
Duplicates are removed while first-appearance order is kept, so a link pasted in every paragraph of a thread still lists once. The boundaries are plain: a bare domain with no scheme and no www. prefix (just “b.org” in running text) is not extracted, because ordinary prose is full of dotted words that are not links, and inventing the missing scheme would fabricate addresses. Extracted links are listed exactly as evidence — the tool never visits, fetches or checks them, so a listed link is a claim from your text, not a promise that the page exists. Your text is processed in this browser only — never uploaded.
Frequently asked questions
Which link forms does the extractor recognise?
Two: full URLs beginning http:// or https:// (paths and query strings included), and bare hosts beginning www. . A domain typed with neither — plain b.org in a sentence — is not picked up, because dotted words in prose are too often not links at all.
Why is the punctuation at the end of a link removed?
Because writers put sentence punctuation directly against links: “visit https://a.com/x, then…” — the comma belongs to the sentence. Trailing full stops, commas, semicolons, closing brackets and similar marks are trimmed from the end of each match; the same characters inside a path or query string are preserved.
Are duplicate links listed more than once?
No. Each unique link appears once, in the order it first occurs, and the number shown is the unique count. The comparison ignores case, since host names are case-insensitive.
Does the extractor check that the links work?
No, and deliberately so. The links are listed as written in your text; nothing is fetched, visited or pinged. That keeps the tool fully private — and means a listed link can still be dead, mistyped or moved; checking is a separate job done in a browser.
First time embedding? Read the step-by-step guide →
More free tools
Word Counter
Count words, characters, sentences and reading time as you type.
Text Case Converter
Change text to UPPERCASE, lowercase, Title Case or Sentence case in one click.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups.
Remove Duplicate Lines
Delete repeated rows and lines from pasted text, keep the first occurrence.
Sort Lines Alphabetically
Sort any list A–Z or Z–A in one click.
URL Slug Generator
Turn titles into clean URL slugs.