Extract all URLs from text

Please log in or register to do it.

This tool extracts all URLs from your text. It provides flexible options so you can extract every URL, extract only URLs that match specified substrings, extract all except those containing specified substrings, or format the extracted URLs with a custom format. Simply enter your text and select the extraction mode that suits your needs.

Extraction Modes:


Extracts every URL found in the text.

Extracts only the URLs that contain the substrings you specify. Enter a comma‑separated list (e.g., example.com, test).

Extracts every URL except those that contain the substrings you specify. Enter a comma‑separated list (e.g., ignore.com).

Extracts URLs and formats each using a custom format. Use {url} as a placeholder for the extracted URL.

Examples:

Extract All URLs

Every URL in the text is extracted.

Before:
Check out https://example.com and http://test.com for more info.
After:
https://example.com
http://test.com

Extract Only URLs Matching Specified Substrings

Only URLs containing the specified substring (e.g., "example") are extracted.

Before:
Visit https://example.com and http://test.com for details.
After (specifying "example"):
https://example.com

Extract All Except URLs Containing Specified Substrings

Extracts every URL except those containing the specified substring (e.g., "test").

Before:
Visit https://example.com and http://test.com for details.
After (excluding "test"):
https://example.com

Extract URLs with Custom Format

Each extracted URL is formatted using a custom format (e.g., wrapping in square brackets).

Before:
Go to https://example.com now.
After (format "[{url}]"):
[https://example.com]
Extract all dates from text (YYYY-MM-DD format)
Replace '0' with '1' and vice versa

Your email address will not be published. Required fields are marked *