Export links from a page to Google Sheets
Run Links mode in LightCube Data Extractor and click Copy, then paste into cell A1 in Google Sheets: you get a Text column and a URL column. Or download CSV and use File > Import. Then filter, dedupe or split domains with simple formulas.
Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.
Add to Chrome, free ↗Step by step
- Open the page and choose Extract Links.
- Click Copy.
- In Sheets, select A1 and paste.
- Optional: Data > Data cleanup > Remove duplicates.
Handy formulas
| Goal | Formula (URL in B2) |
|---|---|
| Domain | =REGEXEXTRACT(B2, "https?://([^/]+)") |
| Is PDF | =REGEXMATCH(B2, "\.pdf$") |
| Path only | =REGEXREPLACE(B2, "https?://[^/]+", "") |
IMPORTXML alternative
=IMPORTXML(url, "//a/@href") fetches links from public pages without login, but it often misses links added by JavaScript and returns no anchor text in the same call.
Keep a dated tab
Paste each export into a new tab named by date to compare later. A VLOOKUP or XLOOKUP from the newer tab to the older one on the URL column shows which links were added or removed between the two dates, which is handy after a site redesign or a content update.
FAQ
- Does Copy include headers?
- Yes, Text and URL.
- Can it run on pages behind login?
- Yes, it reads your open tab.
- Is it free?
- Yes, with no daily cap.
Related guides
Updated 2026-11-11.