Extract Links from HTML

Extract all link URLs from href attributes in HTML markup. Useful for collecting links from page source code.

Example

Input

<a href="https://example.com">Link</a> and <a href="/about">About</a>

Output

https://example.com
/about

How Extract Links from HTML Works

Extract all link URLs from href attributes in HTML markup. Useful for collecting links from page source code.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Extract Links from HTML, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.