SEO & web / Quick tool

HTML Link Extractor

Extract, resolve and classify anchor links from pasted HTML with an optional base URL.

● Processed locally in your browser
Processed locally in your browser
Current: HTML Link Extractor · Switch to 29 other tools in this workbench
Classified link list Choose an action to process the input.
How to useHow to use HTML Link Extractor

Extract, resolve and classify anchor links from pasted HTML with an optional base URL.

  1. 1

    Paste content, enter parameters or choose the files you need in “Optional base URL and HTML source”.

  2. 2

    Choose “Extract links” for the job. Processing runs in this browser.

  3. 3

    Review the result under “Classified link list”, then copy or download it after checking the output.

Result guide

What HTML Link Extractor calculates

With a base URL, relative href values are resolved into absolute targets and classified as internal or external. Mailto, tel and fragment links remain separate, while visible labels and rel, target or hreflang attributes stay attached to each row.

Resolve relative URLs before an audit

A link such as ../pricing depends on the page it appears on. Add the page URL as base-url so the extractor can produce the actual destination and classify it against the same hostname.

Use the summary as a handoff

The first lines report total and unique targets plus category counts. Copy the rows into a broken-link checker, migration checklist or internal-link review without manually separating mail and fragment links.

What this extractor intentionally does not do

It inspects pasted anchor elements only. It does not fetch a live page, execute JavaScript, follow redirects, request every URL or claim that a destination is healthy.

Frequently asked questions

Why provide a base URL?

It lets the tool resolve relative href values and compare the resulting hostname with the source page. Without it, raw href values are listed without internal or external classification.

Does the extractor visit or validate the links?

No. All parsing stays in the current browser and no destination is requested. Use a separate HTTP checker when status codes and redirect chains matter.

Are duplicate destinations removed?

Every anchor remains in the detailed list so different labels and attributes are visible. The summary separately reports the number of unique targets.