Skip to content
gohacks.dev
Web

Link Extractor

Extract every link, image and script or stylesheet from HTML, with relative URLs resolved, internal and external links separated and missing alt text flagged.

Free · No sign-up · Your inputs stay in your browser

Input

Extract links and images from HTML

Output

Reading...

Parsed by the browser into an inert document, so relative URLs resolve exactly as they would on the page and nothing in the HTML runs or loads. Images without an alt attribute fail WCAG 1.1.1; an empty alt is correct for decorative images. rel=sponsored and ugc tell Google how a paid or user-generated link should be treated.

Runs in this browser. Nothing you paste is sent to a server.

Audits it speeds up

Images with no alt attribute fail WCAG 1.1.1; an empty alt is correct for decorative images. External links to sponsors should carry rel="sponsored" and user-generated ones rel="ugc", as Google's outbound link guidance asks. Scripts from other origins without integrity attributes are a supply-chain risk.

Nothing is fetched

The HTML is parsed but not executed, so links are not followed and images are not loaded. To check whether links work, use a crawler or a link checker.

Share

Frequently asked questions

How do I get a page's HTML?
View the page source in the browser (view-source: before the URL) and copy it, or save the page. For pages built by JavaScript, copy the rendered HTML from DevTools' Elements panel.
Does target="_blank" still need rel="noopener"?
Current browsers imply noopener for target="_blank", so the old security issue is fixed there. rel="noopener" is still harmless to keep.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is sent to our server or stored.

Keep planning

Similar tools