Get a list of URLs from a page in Chrome without DevTools
The no-code way is LightCube Data Extractor Links mode: one click lists every link URL with its text, ready to copy. The developer way is a one-line console script. Both read the same links; the extension skips the console and gives you CSV export.
Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.
Add to Chrome, free ↗No-code method
- Click the extension on the page.
- Choose Links.
- Click Copy and paste into a sheet, or CSV to download.
Console method for developers
copy([...document.querySelectorAll("a[href]")].map(a => a.href).join("\n"))
Paste this into the DevTools console (F12) and the URLs land on your clipboard. Chrome may ask you to type "allow pasting" first. It gives URLs only, without anchor text.
Which to use
For one page now and then, either works. If you need text and URL side by side, or you are not comfortable with the console, use the extension.
URLs inside plain text
Links mode reads link elements. URLs written as plain text without a link are not included; for those, copy the text and use a regex in your editor.
FAQ
- Does it include image URLs?
- It lists link targets, not image sources.
- Are duplicates removed?
- Each link on the page is listed; remove duplicates in the spreadsheet.
- Can I do this on a page that needs login?
- Yes, it reads the page as you see it while logged in.
Related guides
Updated 2026-11-11.