Extract Links from HTML or Text — Free Online URL Extractor

Turn pasted HTML or plain text into a list of HTTP and HTTPS URLs. Extraction runs in your browser and keeps the pasted content on your device.

Input format
HTML options
Output options

How to extract URLs from HTML or text

Choose HTML for page source or Plain text for notes and messages. Paste the contents, choose your options, and select Extract links. Copy the results to get one URL per line.

FAQ

Which links does the extractor find? HTML mode reads links from a href and can include img src. Plain text mode finds URLs that start with http:// or https:// and trims surrounding prose punctuation at the end.

How do I extract relative links? Enter the full address of the original page as the base URL. For example, /about resolves to https://example.com/about when the base is https://example.com/page. Relative links are counted as skipped without a valid HTTP or HTTPS base.

What counts as skipped? Empty or invalid URL candidates, other schemes such as mailto:, and links outside the domain filter count as skipped. The filter matches the exact hostname, so example.com excludes www.example.com.

Open them all at once with the multi-URL opener. Copy and paste your extracted list to open it in separate tabs.

Save tab sessions automatically with TabVault.

Add to Chrome — free