100% FREE  -  NO SIGN-UP  -  YOUR FILES NEVER LEAVE YOUR DEVICE

Link Extractor

Paste a page HTML and get every link in it as a clean table, with anchor text, internal or external labels, and rel flags. Export the list as TXT, CSV or JSON.

100% free, no premium plan No sign-up Files never leave your device
Drop your text here
or click to choose a file from your device

Your files are processed in your browser, on your own device. Nothing is uploaded to a server.

    Paste a page HTML into this link extractor and every anchor with an href is collected into a table showing the absolute URL, the anchor text, whether the link is internal or external, and its rel flags. Counts sit at the top, a filter box narrows the list, and the whole set exports to TXT, CSV, or JSON.

    How do you use this link extractor?

    • Open the page, view its source, and copy the HTML. A saved page file works too.
    • Paste the code into the box above. Links are read in your browser the moment the code lands.
    • Add the base URL, the address this HTML came from. Relative links like /about are resolved against it into full addresses, and the internal or external labels depend on it.
    • Scan the summary counts for totals, then use the filter box to match anchor text or any part of a URL.
    • Flip the duplicates toggle if you want each address once, and export the list in the format your spreadsheet or audit tool prefers.

    If you paste plain text instead of HTML, the tool switches modes on its own. Bare web addresses inside the text are found and listed, which is handy for cleaning up a link list buried in a document. Nothing is uploaded in either mode.

    What does the link extractor report for each link?

    Every row carries the resolved absolute URL, never the raw relative path from the source. The anchor text is shown as a reader sees it, and when a link wraps an image, the image alt text stands in as the anchor, since that is what a crawler reads there. A base tag inside the pasted HTML is respected when present, matching how a browser would resolve the links.

    The type column calls a link internal when it points at the same host as the base URL, and the www and bare versions of a domain count as the same site. The rel column breaks the rel attribute into plain flags: nofollow, sponsored, and ugc are each named, so paid and user submitted links stand out at a glance. The target attribute is reported as well, so links that open in a new tab are easy to spot.

    Those details are the working material of a link audit. Anchor text shows whether a page links out with real descriptions or a pile of click here. The internal list shows which pages a template pushes hardest. The sponsored and ugc flags show where disclosure duties live.

    Why is there no status column in this link extractor?

    Because a status would be a guess, and a guessed status is worse than none. Listing links is parsing work, and parsing is instant and truthful. Checking whether a link answers means sending a live request to another website and reading its response code, and browsers block exactly that for security reasons. A page of code running in your browser cannot ask a hundred outside servers how they are doing.

    Any browser tool that claims to check link health is either routing your list through its own server or making the answers up. This tool states the limit on the page instead of hiding it. You get the full list with honest labels, and the checking step belongs to a crawler or a server side tool that is built for it. A paste also cannot show an HTTP status, a redirect chain, the response headers, or the load speed of anything it lists.

    When does extracting links from a paste help most?

    Auditing a template before launch is the classic case. Extract the links from a staging page and you see every hard coded address, every leftover test domain, and every placeholder that should never ship. Content migrations are another: pull the links out of an old page, and you have the checklist for rebuilding its internal linking on the new one.

    Competitor reading works the same way. Save a rival page, extract its links, and the external list shows who they cite and lean on, while the internal list maps what they push. Links that a script adds after the page loads appear only if they are in the code you pasted, so a source saved from view source is the most faithful copy you can hand over.

    FAQs

    Why do I need to add a base URL?

    Most pages link with relative paths like /pricing. The base URL is the address those paths hang from, so the tool needs it to build full addresses and to tell internal links from external ones.

    Can this tool check whether the links are broken?

    No, and no honest browser tool can. Testing a link means requesting it from another server and reading the response, which browsers block. This tool lists and labels links. A crawler or server side checker does the testing.

    What counts as an internal link?

    Any link whose host matches the base URL host. The www version and the bare domain are treated as one site, so links between them stay internal.

    What anchor text is shown for an image link?

    The alt text of the image. When a link wraps a picture, the alt text is the anchor a crawler reads, so the report uses it in place of visible words.

    Can I extract links from plain text?

    Yes. Paste text with no HTML in it and the tool finds the bare web addresses and lists them, which is useful for rescuing links buried in documents or notes.

    Which export format should I pick?

    CSV suits spreadsheets and most audit tools. JSON suits scripts and further processing. TXT gives a plain list of addresses, one per line, for quick pasting anywhere.

    More SEO Tools

    Same rules as this one: free, in your browser, with nothing uploaded.

    Scroll to Top