Extract and categorize all links from HTML or any URL
Enter a base URL for internal/external classification.
The tool extracts hyperlinks (href), image sources (src), email links (mailto:), phone links (tel:).
Same-domain links are internal, different-domain links are external.
Yes, enter a URL and the tool fetches and extracts all links.
Export all links as CSV, compatible with Excel and Google Sheets.
This extracts links but doesn't validate them. Use a broken link checker for that.
Results are organized by category: internal, external, images, emails, phones.
Yes, completely free. All extraction happens in your browser.
No, only links in raw HTML are extracted.
The Link Extractor is a free online tool that scans HTML source code or any live webpage and extracts all hyperlinks, organizing them into clear categories. It is useful for SEO audits, content analysis, competitive research, and website maintenance tasks.
Paste the raw HTML source code into the input area and click "Extract Links." The tool will parse all <a href>, <img src>, mailto:, and tel: references from the code. Results are displayed in organized categories: internal links (pointing to the same domain), external links (pointing to other domains), image sources, email addresses, and phone numbers.
Enter a full URL in the input field and click "Fetch." The tool will retrieve the page's HTML source and automatically extract all links. Some websites may block cross-origin requests due to CORS (Cross-Origin Resource Sharing) policies or server-side restrictions. If a fetch fails, try copying the page source manually and using the paste method instead.
Click the "Export CSV" button to download all extracted links as a comma-separated values file. The CSV file can be opened in Excel, Google Sheets, or any spreadsheet application for further analysis. Each row includes the link URL, link text, category, and the HTML attribute it was found in (href, src, etc.).