URL Extractor

Extract all URLs (links) from a block of text.

About URL Extractor

Log files, chat exports, emails, PDFs copied as text and Markdown notes are full of URLs scattered among other words. This tool scans any text for addresses that start with http:// or https://, removes duplicates and lists them one per line so you can copy them or download the list as TXT or CSV.

Paste the text, click Extract and take the list. Matching uses a regular expression in your browser, so the text is never uploaded.

How to use URL Extractor step by step

  1. Paste the text that contains the links into the box.
  2. Click "Extract URLs". The list of unique URLs appears with a count.
  3. Use "Copy list" for the clipboard, "Download TXT" for one URL per line, or "Download CSV" for a file with a url column.

Input and output example

Input

Read the docs at https://docs.example.com/start and the API at https://api.example.com/v1. See also https://docs.example.com/start again.

Output

https://docs.example.com/start
https://api.example.com/v1.

Why use our URL Extractor?

Common use cases

Limits and tips

Frequently asked questions

Which URLs are detected?

Any sequence of characters that starts with http:// or https:// and continues until a space, tab or line break. This catches web links, API endpoints and links to files, but not mailto:, ftp:// or addresses written without the scheme.

Why does a URL end with a period or a bracket?

Because the matcher stops only at whitespace, punctuation glued to the link is included. It is a trade-off: stopping at punctuation would cut URLs that legitimately contain it. Remove trailing characters in your editor or spreadsheet.

What is the difference between URL Extractor and HTML Links to CSV?

URL Extractor works on plain text and finds absolute URLs anywhere. HTML Links to CSV parses HTML and returns every anchor with its text and href, including relative links that do not start with http. Use the HTML tool for pages and the URL tool for everything else.

Does it validate that the links work?

No. It only finds strings that look like URLs; it does not request them. Use a link checker on the exported list to verify status codes.

Is the text uploaded?

No. The regular expression runs in your browser and the results stay on the page until you copy or download them.

Related tools

Other free utilities you may find useful

Available languages