URL Extractor

Find HTTP and HTTPS links in pasted text, one per line, without opening them.

Free to use in your browser.

Up to 256 KiB UTF-8 and 1,000 valid URL occurrences before duplicate removal. Larger batches are rejected, not truncated. URLs must begin with http:// or https://.

Extraction runs locally and does not open or retrieve URLs. Avoid pasting live credentials or sensitive links. This website also uses analytics; see the privacy policy.

How to extract URLs from text

When a document, message, or set of notes contains several web addresses, extracting them into a one-per-line list makes them easier to review. This tool searches the text you provide for literal HTTP and HTTPS addresses. It does not crawl a page, follow a link, expand a short link, or retrieve a document from the internet.

  1. Copy the relevant text from your source and paste it into the input. On a phone, tap and hold in the input if the Paste button cannot access your clipboard.
  2. Leave duplicates in place if you need to see every occurrence, or select Remove exact duplicates to keep only the first identical spelling.
  3. Select Extract URLs. Review the number of valid occurrences, any invalid candidates skipped, and the list below the button.
  4. Compare the beginning and end of important addresses with the source, then choose Copy URLs. The clipboard receives one address per line. Clear the fields when you are finished.

The example button replaces the current input with fictional sample text. Changing the input or duplicate option clears the old result; run extraction again for the updated list. For a long document, work in manageable sections and keep the original text until you have checked the combined output.

Which addresses are found?

An address must have an explicit http:// or https:// prefix, in any letter case, followed by a nonempty authority and a hostname that the browser can parse. For instance, HTTPS://EXAMPLE.COM:443/a is returned exactly as written, even though a browser may normalize it internally when validating it. Local hostnames, IP addresses, bracketed IPv6 hosts, and internationalized domain names can be accepted if the browser considers the structure valid. Validation does not establish ownership, reachability, or trustworthiness.

Bare domains such as example.com, protocol-relative addresses such as //example.com/path, and relative paths are not guessed. Schemes such as ftp:, mailto:, and javascript: are not supported. An HTTP-looking substring immediately following another scheme or a word is not treated as a separate address. A candidate with an invalid host or port, a missing authority, or a backslash is skipped rather than repaired; the results report how many candidates failed validation.

Place whitespace between separate addresses. This is a text scanner, not a grammar for every possible document: two links joined without a clear separator may be read as one candidate or missed. If a URL is missing, put it on a line of its own, check that its scheme and host are present, and extract again. The browser does not test whether it actually leads to a working page.

Boundaries, punctuation, and Markdown

The extractor starts at a recognized boundary such as whitespace, an opening bracket, a quote, an equals sign, or a Markdown emphasis marker. It stops a candidate at whitespace, angle brackets, double or curly quotes, backticks, and control characters. A straight single quote also stops a candidate when the address started immediately after one. This lets ordinary quoted text and Markdown links such as [guide](https://example.com/guide) work without including the closing parenthesis.

After scanning, the tool removes trailing periods, commas, semicolons, colons, and exclamation marks, including their common full-width equivalents. Unmatched closing parentheses, square brackets, and braces at the end are removed as well. Balanced pairs stay: https://example.com/wiki/Topic_(example) keeps its final parenthesis, while the extra closing parenthesis in (https://example.com/wiki/Topic_(example)) is excluded. Simple matching Markdown emphasis such as **https://example.com** is removed from around the address. Bracket handling is a practical counting rule, not a complete Markdown parser.

Some punctuation is genuinely ambiguous. A final period or exclamation mark might belong to an address rather than the sentence; the rule above removes it either way. Conversely, a final question mark or hash is kept because it can be an empty query or fragment. A question mark used as sentence punctuation may therefore appear in the result. Percent-encoded punctuation, such as %29, is not decoded or trimmed. If an exact boundary matters, compare with an authoritative source or put the complete address on a separate line and check its final characters manually. No heuristic can reliably infer every author's intention.

Pasted markup and hidden links

Ordinary Markdown destinations are literal text, so a destination written inside [label](https://example.com/) can be found. An angle-bracket autolink such as <https://example.com/> can also be found. A link attached to selected text by an email or word processor may not be included in a plain-text paste at all. In that case, use the source application's own link-editing or export function to reveal the address before pasting it.

For pasted HTML-like text, recognized tags and comments are skipped, including URL text in attributes such as href. The bodies of script, style, and template blocks are skipped, as are elements explicitly marked with a hidden attribute, aria-hidden="true", or a simple inline display:none or visibility:hidden declaration. Text between other tags is treated as pasted text. The tool does not render HTML or evaluate external styles and JavaScript, so it cannot identify all hidden content. It is not an HTML visibility filter or a way to enumerate a page's link targets. A malformed tag or an unclosed skipped block can cause surrounding text to be skipped.

Duplicates, queries, and exact spelling

By default, every valid occurrence appears in the order it was found. With duplicate removal enabled, comparison is exact and case-sensitive: two identical strings become one, but https://example.com/a and https://example.com/a#section remain separate. Differences in host capitalization, a default port, a trailing slash, or percent-escape spelling are also kept. The extractor does not try to decide whether different spellings resolve to the same resource.

Within the detected boundaries, the result is the original text, not the browser's normalized serialization. Query parameters, repeated names, their order, plus signs, fragments, and percent escapes are not decoded, sorted, cleaned, or rebuilt. That matters for campaign attribution and for signed download links, where changing even a single character can make an address behave differently. Boundary punctuation rules can still remove meaningful characters, so verify a sensitive or signed address against the original before relying on the result. Malformed escapes in a path or query may still pass structural browser validation; this tool is not a signature checker or decoder.

Extracting is different from cleaning. If you later use the URL Cleaner, it may remove recognized parameters and affect attribution or a destination's behavior. The URL Parser can inspect one address separately. Explore the tools directory for other tasks. Preserve an untouched copy before making changes, especially when a link contains a token.

Limits, privacy, and safe use

The input limit is 256 KiB measured in UTF-8 bytes, not characters: an accented character or emoji can use more than one byte. A batch can contain at most 1,000 valid URL occurrences, counted before duplicate removal. If either limit is exceeded, the tool returns an explicit error and no partial list; split the original into smaller batches and combine the checked results yourself. Isolated, incomplete Unicode surrogate characters are rejected as well. Pasted line endings may be normalized by the browser's text box, so this is not a byte-preserving document extraction tool.

Extraction runs locally in your browser; the tool does not send the pasted text or results for processing and does not open or fetch the destinations. The website also uses analytics independently of the tool; see the privacy policy. Avoid active passwords and private access links where possible. Addresses can contain user names, passwords, session identifiers, and other secrets in their path, query, or fragment, and those characters are included in the output. Your clipboard and any application receiving the copied list may expose them to others.

Clipboard access can depend on the browser, its permissions, and a secure page context. If a clipboard button fails, use your device's normal paste gesture or select the output and copy it manually. The output is plain text rather than a set of links to prevent accidental navigation. A recognizable or valid-looking URL is not necessarily safe: inspect unfamiliar hosts, watch for lookalike characters, and use your organization's security procedures before opening or sharing an address.