Export the links on a page to check for broken ones
Extract the page links with LightCube Data Extractor (Links mode, free), save as CSV, then check each URL status with a free link checker or a short script. This is a lightweight way to audit one page without running a full site crawler.
Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.
Add to Chrome, free ↗Step by step
- Run Links on the page and click CSV.
- Remove duplicates and anchor links (#section) in your spreadsheet.
- Check statuses with a script like the one below, or paste URLs into a free bulk checker.
- Fix or remove anything returning 404 or failing.
A short Python checker
import csv, urllib.request
for row in csv.DictReader(open("links.csv", encoding="utf-8")):
url = row["URL"]
try:
code = urllib.request.urlopen(urllib.request.Request(url, method="HEAD"), timeout=10).status
except Exception as e:
code = getattr(e, "code", "error")
print(code, url)
Some servers reject HEAD requests; retry those with GET before marking them broken.
Be polite
Checking dozens of links on other sites is fine; hammering one server with thousands of requests is not. Add a short delay between requests.
FAQ
- Does the extension check status codes?
- No. It exports the links; checking is a separate step.
- What column names are in the CSV?
- Text and URL.
- Can I check a whole site?
- This method works page by page. Use a crawler for full-site audits.
Related guides
Updated 2026-11-11.