✍️ Text Tools

Extract URLs & Emails

Pull URLs and email addresses out of any text. Deduplicates, shows counts, and trims trailing punctuation and closing brackets from URLs. Everything stays in your browser.

Examples (click to try)

How to Use the URL & Email Extractor

Paste body text or an email and URLs and email addresses are split into separate lists. Duplicates are collapsed and each heading shows a count. Trailing punctuation or a closing bracket stuck to a URL is removed automatically, so you can paste as-is.

Examples

  • "… https://benri.dev and http://example.com/page" → 2 URLs extracted
  • "(https://benri.dev/docs)" → trailing ) trimmed to https://benri.dev/docs
  • "…page." → sentence period dropped to …page
  • Same URL repeated → collapsed to one (case-insensitive)
  • [email protected] / [email protected] → 2 entries in the email list + count "2"

Common Use Cases

  • Extracting every link from copied article text, email threads or meeting notes.
  • Collecting email addresses from pasted contact lists before deduping them.
  • Cleaning URLs that were copied with trailing periods, parentheses or brackets.

FAQ

Is my data sent to a server?
No. Extraction runs entirely in your browser; nothing is transmitted or stored externally.
How are duplicates handled?
Identical URLs and emails are collapsed to a single entry (case-insensitive).
Are trailing punctuation and brackets trimmed from URLs?
Yes. A trailing period or a closing bracket right after a URL is removed before listing.
What separates one URL from the next?
Whitespace or a line break. A URL followed directly by punctuation or a closing bracket is still captured, with the trailing character trimmed.