← All tools

HTML Link Extractor: URLs, Anchor Text & Relation

Extract anchor links from pasted HTML with their href, text, rel, type and source line. Filter the table and export URLs or JSON locally.

html-link-extractorLOCAL WORKSPACE

Enabling local controls…

Source HTML

Accepts up to 256 KiB, 20,000 nodes, 100 levels and 2,500 anchors. Extracts HTML a[href] in source order and retains duplicates. Types follow each href’s syntax. Markup and URLs are displayed as text.

HTML anchor specification

Paste HTML and extract links.

How to use this tool

Paste HTML and extract links. Filter by type and switch between the table, URL list and JSON. Copy or download the filtered output.

When not to use it

Reads HTML a[href] in the parsed document body. Script, style, template and noscript content is skipped. Links are inert text; relative URLs remain unresolved, and the tool makes no requests to check their status.

Read the guide →