This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Copy All Page Links

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Copy All Page Links extracts every hyperlink from the current page and presents them in an organized, copyable format. The tool shows each link's URL and text, with color-coded badges indicating whether the link is internal (same domain) or external. You can filter to show only internal or external links, remove duplicate entries, and sort alphabetically by URL or link text. The tool displays total link count with a breakdown of internal vs external links. Copy your links in three formats: plain text (URL and optional text), CSV for spreadsheet import, or Markdown for documentation. A preview panel shows the extracted links before you copy them.

WHERE IT RUNS

The extension runs entirely within your browser's local environment using the BotGentz framework. All link extraction, filtering, and formatting occur on your machine without any network requests. No page content, link data, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox.

HOW TO USE

Click the extension toolbar icon to open the Copy All Page Links panel. Click "Extract Links" to scan the current page and display all hyperlinks in the preview panel. Each link shows its URL, link text, and a badge indicating whether it's internal or external. Use the "Copy Links" button to copy all extracted links to your clipboard in the selected format. Change the output format using the dropdown (Plain Text, CSV, or Markdown). Toggle filters to show only internal links, only external links, or both. Toggle "Remove duplicates" to eliminate repeated URLs. Toggle "Sort alphabetically" to organize the list. Toggle "Include link text" to control whether link text appears in plain text output. The preview panel updates instantly when you change any setting.

THE LINK EXTRACTION AND FILTERING ENGINE — WHY IT WORKS

Most link extractors simply collect all href attributes without understanding link context or providing useful organization. This tool performs a comprehensive analysis: it queries all anchor elements using document.querySelectorAll("a[href]"), then extracts both the href URL and the element's text content (trimming whitespace and falling back to "(no text)" for empty links). The internal/external classification uses a domain comparison: it creates a temporary anchor element to parse each URL's hostname, then compares it against the current page's hostname. This approach correctly handles relative URLs and protocol-relative links. The deduplication engine uses a Set-based approach with a compound key of URL + text to catch both duplicate URLs and duplicate URL+text combinations. The sorting engine uses localeCompare for alphabetically correct ordering across different character sets. The multi-format output generates structured data suitable for different use cases: plain text for quick copying, CSV for spreadsheet analysis, and Markdown for documentation.

THE PANEL

The Copy All Page Links panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the link preview and controls adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to extract links from multiple tabs simultaneously.

PLEASE NOTE

This extension requires the free BotGentz extension framework to be installed and enabled. The tool extracts links from anchor tags only; links generated by JavaScript that are not present in the DOM may be missed. Very large pages with thousands of links may take a moment to process. All link data is extracted locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.