Local source audit
Link Extractor
Turn HTML, text, or a saved file into an inspectable link inventory. Resolve relative URLs, review anchor text and rel values, then filter, deduplicate, and export.
Processing stays in this page. No page fetching, crawling, markup execution, or destination checks. The page URL below is used only for local calculations.
1. Add your source
Ready. Add source, then select Extract links.
2. Inspect and export
Filters apply before grouping. Grouped rows show the first matching occurrence's metadata and a count. Query strings and fragments remain significant. Host matching keeps www and subdomains distinct.
Copy/TXT include only eligible HTTP(S) URLs. CSV includes all filtered rows. JSON also contains every matching occurrence. All exports include rows beyond the preview. CSV text fields have an apostrophe prefix for spreadsheet safety.
| Destination / raw target | Category / notes | Anchor / rel / target | Source / count |
|---|
How to extract links from a page
- Copy the page's HTML source or open a saved HTML file here. Copying visible text usually loses the destinations behind linked words. For links added by JavaScript, copy the inspected DOM's outer HTML after the page has finished loading.
- Choose HTML source or plain text mode. Enter the original page URL if the source includes paths such as
../guide,/contact, or#details. An allowed firstbase hrefcan change where relative links point. - Select Extract links. Review the category and notes, filter by host or rel, and export the matching inventory.
Reading the results
Each occurrence retains its raw target, source line, tag, anchor text, rel tokens, and target attribute. HTML anchor text is a source-text approximation with nested image alt text, not a rendered or accessibility-tree label. Identical serialized destinations can be grouped. A source with three copies of one URL has three occurrences and one grouped row.
Same host means an exact hostname match to the original page URL, independent of scheme and port. It does not mean same origin or common ownership. Without a page URL, web link scope is unknown. Nofollow, sponsored, and ugc are reported as supplied; this tool does not estimate ranking signals.
All destinations are non-clickable text. Empty targets, unresolved relatives, credentials, controls, malformed percent escapes, unsupported entities, and non-web schemes remain inspectable diagnostics. Only eligible HTTP(S) rows enter Copy or TXT. A syntactically valid URL is not proof that its destination is safe, public, or reachable.
Supported source and limits
HTML mode extracts a[href] and area[href]. Optional head links add link[href]; resource mode adds src from img, script, iframe, source, audio, and video. It does not parse CSS URLs, srcset, forms, event handlers, script strings, SVG/MathML, or template contents. Comments and raw-text element contents are skipped.
The bounded tokenizer accepts ordinary quoted and unquoted HTML attributes, case-insensitive tag names, and first-wins duplicate attributes. It does not reproduce a browser's HTML error recovery or DOM tree construction. Unclosed tags/comments and overly complex input can stop extraction. Malformed nesting and script escape states may differ from a rendered page. Use well-formed source for an accurate inventory.
Numeric HTML references and common named references are decoded once. Supported named references are amp, AMP, quot, QUOT, apos, lt, LT, gt, GT, nbsp, colon, sol, bsol, period, num, quest, equals, percnt, plus, commat, semi, lpar, rpar, lowbar, hyphen, ast, tilde, Tab, and NewLine. Other semicolon-terminated names in a target are flagged and kept unresolved. Unusual omitted-semicolon names can differ from browser parsing.
Plain text mode finds HTTP(S) and www-prefixed addresses, adding HTTPS to www addresses. It trims final sentence punctuation and unmatched closing brackets. Punctuation at the end of a real URL can be ambiguous; inspect the raw candidate or use HTML mode. Bare domains, email addresses, and relative text paths are not guessed.
Limits: 1 MiB UTF-8 source, 10,000 extracted occurrences, 8,192 characters per target, 32,768 per tag, 128 attributes per tag, 100,000 tokens, 128 nested excluded containers, and a 15-second processing deadline. Aggregate result text is limited to 2 MiB of UTF-8; each copy or download is limited to 4 MiB including export formatting. Long base URLs can expand short relative targets considerably. Split the source or narrow the export filters if a limit is reached. Preview pages contain 50 rows. Limits stop the whole extraction or export; no partial inventory or file is returned.
Privacy and standards
Source, files, and extracted links stay in page memory. The tool does not upload them, fetch destinations, use browser storage, or execute source markup. Clear all removes the current input and results from the page. Downloads and clipboard copies remain wherever you save them. Only one browser clipboard write may be outstanding. If it stalls, the page offers manual copying after five seconds and keeps subsequent copies manual until the browser operation settles. The surrounding site may use its shared analytics; the tool adds no tracking or source-data events.
Relative resolution uses the browser's WHATWG URL implementation. The source tokenizer follows a documented subset of the HTML parsing rules. CSV follows RFC 4180 quoting and uses text prefixes guided by OWASP CSV guidance. Keep imports as text; spreadsheet re-saving can remove protections. JSON is the best export for retaining full per-occurrence metadata.