Link (HREF) Extractor

Paste HTML source and list every link it contains.

Links (0)

No links found yet — paste some HTML above.

Key features

Lists every href with its link text
Resolves relative links to absolute URLs
Flags which links are external
Parsed as inert HTML — nothing you paste ever runs

Paste HTML source (view-source, an exported page, an email template) and this lists every <a href> link it contains, along with its visible text. Add the page’s URL to resolve relative links and see which ones are internal versus external. Parsing happens entirely in your browser using an inert, script-free HTML parser — nothing is sent anywhere, and nothing you paste ever executes.

How to use

  1. Paste HTML source

    View-source on a page, or paste an exported page or email template.

  2. Add a page URL (optional)

    If your HTML has relative links (like /about), add the page's URL to resolve them and see internal vs external.

  3. Read the list

    Every link, deduplicated, with its visible text — updates as you type.

Frequently asked questions

Is the HTML I paste executed?

No. It's parsed with the browser's built-in DOMParser into a document that's never inserted into the page — any <script> tags or event handlers inside it never run. It's purely read for its links.

Why do some links need a page URL to resolve?

Relative links like "/pricing" or "../about.html" only make sense relative to the page they came from. Without a base URL, they're shown as-is; with one, they're resolved to a full https://... address.

Is my HTML uploaded anywhere?

No — parsing and extraction happen entirely in your browser. Nothing you paste here is sent to a server.

Link copied