Link From HTML
Link From HTML — runs in your browser. Inputs are not stored.
HTML → href / src
Enter values, then press Calculate.
Collects a[href], img/script/iframe/source/link[src|href], and similar attributes.
How to use
- Paste page source or a markup fragment into the HTML field.
- Click Extract and the result area opens with href and src counts.
- The list shows href lines first, then src lines, tab-separated.
- If there is no address at all, the list shows none.
- Copy result takes the list; Reset clears the input and hides the result area.
Key concepts
HTML link extraction collects addresses in a document by type and removes duplicates. Values of elements with an address attribute go into the href list; values of elements with a source attribute go into the src list. The same string counted twice is still counted once. Empty values are skipped. When you want a glance at broken images, external scripts, and page paths, HTML link extraction stands in for a first crawl draft. Counts are unique addresses after duplicates are removed, so several tags pointing at the same file still increment the statistic only once.
Relative paths are not turned into absolute URLs, so values that start with a slash stay as-is. Paths inside inline scripts or CSS url() functions are not collected as attributes. This HTML link extraction does not send source to a server. Used with meta extraction and heading extraction, you can split search elements and a resource list from the same source. The list is type name, tab, then address, which is easy to paste into a spreadsheet as columns; if there is no address, none is shown.
Example
Paste source with anchors, images, and script tags and extract: href totals get link addresses, src totals get image and script addresses, and the list is href tab URL, src tab URL. The same image path twice still increments the src number only once. Copy result and paste the list into a spreadsheet to filter broken paths.
Related: HTML meta extraction · HTML heading extraction · HTML editor
Frequently asked questions
Which attributes does HTML link extraction collect?
It collects address attributes and source attributes separately. Not only anchors but also stylesheet links, images, frames, and scripts are included.
What if the same URL appears several times in HTML link extraction?
It is inserted only once by string. href groups and src groups are de-duplicated separately.
What is the href and src order in the HTML link extraction list?
All address-attribute lines come first, then source-attribute lines. Each line is type name, tab, URL.
Do relative paths become absolute URLs in HTML link extraction?
No. The string written in the attribute is collected as-is, so you must attach a site origin yourself.
Is HTML link extraction source sent to a server?
No. Parsing and copying happen only in the browser, and Reset hides the result area.
What does the list show if HTML link extraction finds no addresses?
href and src counts are 0 and the list contains none. Empty attribute values are never counted, and the result area opens only after Extract.
Last reviewed: 2026-09-04