Paste HTML and collect href values locally. This does not crawl a live URL by itself.
Useful before a navigation redesign or when you want a quick list of outbound links from a template you already have.
How to extract links from HTML
- View-source or copy the HTML you want to inspect.
- Paste it and run extract.
- Sort internal vs external yourself (look at the host).
- Check important URLs with the HTTP header tool if you suspect redirects.
Key Features
- Local HTML parse
- No FlashKit crawl of the live site
- Copy-ready list
- Pairs with metadata and SEO audit tools
Quoted hrefs from a small fragment
- From the fragment with href="/about", href='https://ex.com', an unquoted href=https://noquotes.example, href="", an img src="/logo.png", href="javascript:void(0)", href = "/spaced", and a second href="/about", the unique list is /about, https://ex.com, an empty line, javascript:void(0), and /spaced. The second /about is dropped. The image is dropped. The unquoted URL is dropped.
- The match is href, optional space, equals, optional space, then a single or double quote, then the value, then the same quote. href = "/spaced" is kept because the spaces around the equals sign are allowed. A value that uses one quote style inside the other can be cut short.
- The list is the raw attribute text. /about is not resolved to a host. javascript: is not filtered. mailto: is kept if it was quoted. Order is first appearance.
Links you can see that will not be in the box
- A link built by script after load is absent unless that href is already in the paste. A form action, a src, and a data-href are absent. An unquoted href, still legal in old HTML, is absent. A closing quote that is missing runs the value further than the attribute.
- The page does not fetch the URL you might have copied the HTML from. If you paste a pretty-printed browser view rather than view-source, you may be pasting text without href attributes at all.
- Duplicates are removed after the match, not lowercased. /About and /about are both kept. An empty href is a real row, so a template full of href="" inflates the count.
How to inventory the links in a template
- Use view-source or the template file, paste, extract, and delete javascript: and empty rows before you treat the list as navigation. Split relative paths from https hosts yourself. The page will not do that split.
- Check a suspicious absolute URL with the header checker if you need the status. This extract does not request it.
Frequently Asked Questions
Does this find links added by JavaScript?
Only if those hrefs are already in the HTML you pasted.
Can I extract from a live URL?
Paste the HTML, or use the metadata extractor (FlashKit’s server) / site audit (CORS proxies).