Read more
href
https://example.com
rel
-
Target
_blank
HTML Tools
Extract links, anchor text, and rel metadata from HTML markup.
Quick answer
Use this HTML link extractor to pull links, anchor text, and rel metadata from any HTML snippet. It runs locally in your browser for fast, safe, client-side extraction.
EN
Extracted links
1
href
https://example.com
rel
-
Target
_blank
Paste HTML and get a structured list of links with their href, visible text, rel values, target attributes, and other useful link data. It is ideal for checking page content, auditing outbound links, or converting markup into a clean link inventory.
Paste your HTML into the input field.
The tool scans anchor tags and other link elements in the markup.
It extracts href, text, rel, target, and related metadata.
Review the output and copy the extracted results as needed.
Input: <a href="https://example.com" rel="nofollow">Visit site</a>
Output: href: https://example.com | text: Visit site | rel: nofollow
Extracts the URL, anchor text, and rel value from a single link.
Input: <p><a href="/about">About us</a> and <a href="/contact" target="_blank">Contact</a></p>
Output: 2 links found
Returns all anchor tags with their key attributes.
It scans HTML and extracts link data such as href, anchor text, rel attributes, and target values.
Yes. The tool is designed for client-side use and does not need external APIs.
Yes. It captures rel metadata, including common values like nofollow, sponsored, and ugc.
The tool is XSS-aware and intended for safe local processing of pasted HTML.