All Over Tools logo
Tool Combiner
Analyze Tools Clean Tools Compare Tools Convert Tools Data Validation Extract Tools Format Tools Generate Tools Organize Tools Transform Tools
Audio Tools Font Tools Image Tools Subtitle Tools Video Tools
Archive Tools Document Tools Ebook Tools File Management Tools PDF Tools Presentation Tools
Config Tools Database Tools Dataset Tools JSON Tools Parser Tools Spreadsheet Tools XML Tools
Business Calculators Construction Calculators Date And Time Calculators Education Calculators Financial Calculators Food Calculators Health Calculators Math Calculators Science Calculators Sports Calculators Statistics Calculators
Blog About Us Contact Us

Extract URLs from Text

Paste any text and instantly extract all URLs and links - one per line, ready to copy or download.

Extract URLs from text

Paste prose, logs, Markdown, or HTML source into the input field. Extract URLs from Text finds absolute URLs that begin with http, https, or ftp, then writes the matches one per line in Output text. The two checkboxes control repeated matches and punctuation at the end of a match.

How to extract URLs from text

  1. Paste text into the input field, or select Upload and choose a .txt, .csv, .log, .md, or plain-text file.
  2. Leave Unique only checked to keep the first occurrence of each exact URL.
  3. Leave Strip trailing punctuation checked when a URL touches sentence marks.
  4. Review the line-separated matches in Output text, then select Copy or Download.

Remove duplicate URLs and trailing punctuation

Both options start checked. Unique only keeps the first occurrence of an exact URL and removes later matches. Strip trailing punctuation removes one or more of these characters from the end of each match: ], ), }, >, ., ,, ;, :, !, and ?. The remaining URLs keep their original spelling and order.

Input: Visit https://example.com, then visit https://example.com.
Output text:
https://example.com

Turn off Unique only to keep repeated occurrences. Turn off Strip trailing punctuation when a final bracket or mark belongs to the URL value you want to retain.

Extract links from HTML or Markdown text

The extractor scans the text for URLs beginning with http://, https://, or ftp://. A URL inside an HTML attribute or Markdown link is still text for the extractor, so it can be found. Relative links such as /docs and plain hostnames such as example.com do not match this pattern.

The page does not open each match or check that its destination is available. When the input contains no matching URL, Output text remains empty and the status says that no URLs were found.

Where this comes up

A content editor can paste a draft containing reference links, remove repeated entries, and download the resulting list for review.

A developer can paste a log or HTML source, copy the extracted destinations, and inspect them separately from the surrounding text.

A researcher can upload a Markdown or CSV text file, keep the first occurrence of each full URL, and pass the line-separated result to another step.

Choose the right text extractor

This page is in Text Parsing & Data Extraction. Use Extract URLs from Text for complete URL strings in mixed text and a line-separated result.

Choose Extract Domain Names for hostnames instead of full URLs, with case normalization, optional www removal, or subdomain handling. Choose Extract Markdown Links for link labels and destinations from inline, reference, shortcut-reference, or image links.

Use Extract Emails from Text when the input contains email addresses and you need domain filtering, lowercase conversion, or email-specific output.

Frequently asked questions

How do I extract URLs from text?

Paste the text into the input field, then read the line-separated matches in Output text. Select Copy or Download after reviewing the list.

Can I extract links from HTML source?

Yes. Paste the HTML source into the input field. The extractor finds supported absolute URLs inside the text, including URLs in attributes.

How do I keep duplicate URLs in the output?

Turn off Unique only before reviewing Output text. Repeated matches remain in their original order.

Does Extract URLs from Text remove punctuation?

Yes. When Strip trailing punctuation is checked, it removes configured closing brackets and punctuation marks from the end of each match.

Does the extractor send my text to a server?

The extraction runs in your browser. This page code does not send the input through fetch, XMLHttpRequest, sendBeacon, or a form submission.

Related Tools

76 views