Allio Tools Pro — No ads · Bulk processing · Save historyUpgrade $2.99/mo →
🚀Allio Tools Pro
  • No ads
  • Bulk tools
  • History
$2.99/mo

在线免费链接提取器

即时从任意HTML或网页中提取所有链接。

🚀Allio Tools Pro
  • Zero ads everywhere
  • Bulk processing
  • Save history
Upgrade — $2.99/moNo signup required
Allio Tools Pro — No ads · Bulk processing · Save historyUpgrade $2.99/mo →

Who uses the 链接提取器?

  • 内容经理通过粘贴页面 HTML 源代码来审核外部链接概况,以识别过时或可疑的外部链接。
  • 研究人员从保存的 HTML 页面中收集参考链接,用于书目和引用管理。
  • 开发者在调试时快速从一段标记中提取每个 href/src 值。

How the 链接提取器 works

1

将 HTML 源代码粘贴到文本区域——没有实时 URL 抓取功能,因此请先查看目标页面的源代码并复制。

2

点击 Extract Links,提取标记中找到的每个 href 和 src 属性值。

3

切换“Remove duplicates”和“External only”来过滤结果。

4

从结果下方的纯文本框中复制所有提取的 URL,每行一个。

Tips & tricks

  • mailto:、tel:、javascript:、data: 和锚点(#)链接会在每次提取时自动被过滤掉——无论您的过滤器设置如何,它们都不会出现在结果中。
  • 该工具同时提取 href 属性(链接)和 src 属性(图片、脚本、iframe)——请查看每个结果旁边的小标签,了解它来自哪个属性。
  • 对于大量链接不会显示上限提示——如果页面有数百个链接,所有通过过滤器的链接都会被提取并列出。
  • 如需锚文本或失效链接检查,您需要使用其他工具——此工具只从标记中提取原始 URL 值。

Frequently Asked Questions

我可以输入网址而不是粘贴 HTML 吗?

不可以——此工具只解析您直接粘贴的 HTML。查看您页面的源代码(Ctrl+U),全选、复制,然后粘贴到文本区域。

提取器是否会提取锚文本(链接标签),而不仅仅是 URL?

不会——它只提取原始的 href/src 属性值,不提取开闭 <a> 标签之间可见的链接文字。如果您需要锚文本,需要手动对照 HTML。

该工具能否检查提取的链接是否失效(404)?

不能——没有状态检查功能。此工具只从标记中提取 URL;它不会发出网络请求来测试链接是否可解析。请使用专门的失效链接检查工具来完成此操作。

该工具是否只筛选内部链接?

不会——只有一个“External only”开关(保留以 http:// 或 https:// 开头的链接)和一个“Remove duplicates”开关。没有仅内部链接的过滤器或 URL 模式过滤器。

我可以将结果导出为 CSV 吗?

不可以——结果以页面上的编号列表形式显示,外加一个每行一个 URL、可供复制的纯文本框。没有 CSV 下载功能。

Is my data safe when using the 链接提取器?

Completely safe. The 链接提取器 processes everything locally in your browser. No input data, results, or usage information is ever transmitted to or stored on any server.

How current is the data returned by the 链接提取器?

The 链接提取器 fetches live data in real time each time you run it. Results reflect the current state of the server or domain at the moment of the request.

Why does the 链接提取器 sometimes return different results than other tools?

Results depend on the real-time state of the target server and DNS propagation, which can vary by geographic region and caching TTL. If you see inconsistencies, wait a few minutes and re-test — DNS changes can take up to 48 hours to propagate fully worldwide.

💼 Reach 100K+ developers & creators — Advertise on Allio ToolsLearn More →