Advertisement

Link Extractor

Extract every URL, email address or domain from a block of text or HTML.

Advertisement

How to Use This Tool

Paste your text or HTML, pick what to extract, then run it. Results are cleaned and deduplicated.

  • Good for auditing links in a page or collecting references from notes.
  • Domain mode strips protocols and paths, leaving bare hosts.

Frequently Asked Questions

What counts as a URL?

Strings with http:// or https:// schemes, and bare www. domains. Relative links need to be resolved against a base URL first.

Why is a link cut off?

Punctuation like trailing periods is excluded, which is correct. Odd endings usually mean malformed HTML in the source.

Can it follow redirects?

No — this is a text scanner only. It finds what's written, not where links ultimately point.

Is my content uploaded?

No. Everything runs locally in your browser.

Practical Example

Paste a note containing "See https://example.com/docs for details and mail support@example.com. The same page is linked again at https://example.com/docs." With Links mode and Remove duplicates on, the output is one line: https://example.com/docs. Switching to Email mode returns support@example.com, and Domain mode returns example.com.

  • Trailing punctuation like periods is excluded, so links come out clean.

What Your Results Mean

  • Links (URLs) — every http/https address and bare www. domain found in the text.
  • Emails — address matches such as name@example.com.
  • Domains — bare hostnames with the protocol and path stripped.
  • Remove duplicates — case-insensitive deduplication so each link appears once.

Trusted Sources

Advertisement