HTML Link Extractor

Collect href values from anchor tags in HTML.

HTML Link Extractor scans markup for <a href> values and lists them so you can audit, migrate, or check URLs quickly.

Input
Output

When to use HTML Link Extractor

  • Auditing links in a pasted page fragment
  • Building a URL checklist from HTML
  • Finding relative vs absolute href patterns

Example

Input

<a href=/tools/>Tools</a><a href="/search?q=a&amp;b=2">Search</a>

Output

/tools/
/search?q=a&b=2

How to use

  1. Paste HTML with links. Include anchors you want inspected.
  2. Extract hrefs. Run to list each href on its own line.
  3. Review URLs. Scan for broken patterns, typos, or unexpected domains.

Processing and limitations

Lists anchor href attributes in source order, including duplicates, relative links and unquoted attributes. It does not crawl URLs, check HTTP status or resolve relative paths against a website.

Reference

Benefits

  • Free to use—no account required
  • Runs in your browser
  • Instant results with no software install
  • Basic processing does not upload your content to a server
  • Only href attributes on anchor tags are collected. Other URL sources (src, srcset) are out of scope here.

Not the same as

This is not a crawler. It only reads the HTML you paste.

Related tools