Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Extract URLs from Text

This tool pulls web addresses out of a block of text. It finds links that start with http or https, and optionally those that start with www.

How to use Extract URLs from Text online

  1. Paste the text. Type or paste text that holds links.
  2. Choose options. www links, unique and sort order.
  3. Read the list. Addresses appear one per line.
  4. Copy it. Copy or save the list.

Why use this free Extract URLs from Text

  • Finds http and https links
  • Optional www links
  • Removes repeats
  • Trailing marks trimmed
  • Sort A to Z
  • Share by link

What it finds

The tool scans your text for web addresses that start with http:// or https://, and, if you ask, for those that start with www. It takes everything up to the next space or quote mark. Trailing marks such as a full stop, comma or closing bracket that belong to the sentence rather than the address are removed.

Cleaning the list

The same link often appears more than once. The unique option lists each address once. You can sort the list A to Z. The result is one address per line, ready to paste into a spreadsheet, a checker or a document. The tool shows how many were found and how many are listed.

A worked example

The sample sentence holds 4 addresses, with one of them twice. The list shows 3: https://example.com/page?id=1, www.example.org/docs, http://test.dev. The comma, full stop and closing bracket that followed the addresses in the sentence are not part of them.

Where it helps

It is useful for pulling the links out of an email, a report, notes or the text of a page, so that you can check, share or archive them. For breaking an address into parts, such as host and query, use a URL parser. The tool does not open or test any address, and nothing is sent anywhere.

Limits

Addresses without a start such as http or www, for example example.com on its own, are not found. An address that contains a closing bracket, as in some wiki links, can lose its last bracket. A very long text is fine, but the tool does not look inside images or PDFs; paste their text.

Using the tool

As you type in the Extract URLs from Text, the result appears at once. Press Try a sample to see how it behaves.

Extract URLs from Text: frequently asked questions

How do I extract links from text?
Paste the text and the web addresses are listed one per line.
Does it find www links?
Yes, with the www option on.
Are trailing full stops removed?
Yes, marks that end the sentence are not part of the link.
Does it check that links work?
It only finds them, and does not open any.
Can I remove repeats?
Yes, with the unique option.
Is the Extract URLs from Text private?
No copy is made on a server; the Extract URLs from Text runs in your browser.
Can I chain the Extract URLs from Text with another tool?
Save the Extract URLs from Text result as a text file, or copy it from the result box.

Related searches for Extract URLs from Text

  • Extract URLs from Text online
  • free Extract URLs from Text
  • Extract URLs from Text online free
  • Extract URLs from Text for mobile
  • Extract URLs from Text without sign up
  • Extract URLs from Text – Text & Writing Tools

Extract URLs from Text is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Text & Writing Tools →

Search tools