← All text tools

HTML Link Extractor

List all links in pasted HTML with their anchor text, rel attributes and whether each one is internal or external to your own domain.

  • Free
  • No sign-up
  • Works on any device

About HTML Link Extractor

Paste any HTML and this tool lists every link in it as a table: number, anchor text, full URL, rel and target values, and a type. A link is internal when its host matches the site address you enter, ignoring a leading www, and external otherwise; mailto, tel, javascript and in-page anchors are grouped as other. Relative links are resolved against your site address. Image-only links show their alt text. A summary counts each type and one box gives the URLs ready to copy. Use it to audit navigation, find missing nofollow values or prepare a link check.

How to use HTML Link Extractor

  1. Paste the HTML and type your site address.
  2. Read the table and the counts of internal and external links.
  3. Copy the URL list to a link checker or a spreadsheet.

Why use this tool?

Also known as

Frequently asked questions

How are relative links handled?

They are resolved against the site address you give, so /pricing becomes a full URL and counts as internal. Without an address they cannot be resolved.

Does the tool test whether links work?

No. It only reads the HTML you paste. Testing links needs requests to other sites, which a page in your browser cannot make freely.

Why are some links marked other?

Links that open an email program, dial a phone, run JavaScript or jump within the page are not web page links, so they are kept apart.

Is HTML Link Extractor free?

Yes. HTML Link Extractor on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put HTML Link Extractor on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools