How to Export Hyperlinks from a Google Doc to a Spreadsheet

How to Export Hyperlinks from a Google Doc to a Spreadsheet

A handbook tells guests to “check the ferry timetable.” An editor copying the handbook into a spreadsheet gets those words, but also needs the address behind them. To collect those destinations, open the document in Chrome, export its link results as a CSV, then import the file into Google Sheets.

  1. Open the Google Doc under an account that can read it. Keep the document open.
  2. Open Broken Link Checker for Chrome and let it finish reading the links and checking their destinations.
  3. Use the download control on the Total card. This exports the full set of links found. The download on Broken gives you just the failures, which is useful for a repair list but leaves working references out of an inventory.

Google Doc with linked guest resources and the extension's link counts

The export includes HTTP and HTTPS destinations. Email links, telephone links, and bookmarks that jump to a heading inside the same document are skipped. If the scan finds fewer links than you expect, click a known label in the Doc and check that it actually opens a hyperlink. The owner's download restrictions can also prevent the extension from reading the file. Our document checking guide covers permissions and includes an Apps Script method for text hyperlinks.

Import the CSV into Sheets

Open a blank Google spreadsheet. Choose File → Import → Upload, select the downloaded CSV, and choose Insert new sheet(s) if you're working in an existing workbook. Use a comma as the separator if Sheets puts the entire row in one cell. Turn off automatic conversion to numbers, dates, and formulas if you want to preserve text exactly as exported.

In the imported sheet, URL is the address behind the link and Anchor Text is the label the reader saw. Status Code records the response from the check. For a redirected link, compare URL with Final URL before deciding which address to keep.

For example, an editor reviewing a guest handbook might see these three columns:

Anchor TextURLStatus Code
Ferry timetablehttps://ferry.example/timetable200
Parking maphttps://harbor.example/old-map.pdf404

Hand the sheet to the editor

Keep the exported URL in place and add a Replacement URL column. For the parking map above, find the current map, paste its address in the new column, then update the “Parking map” hyperlink in the original Doc. For the ferry timetable, open the page and check that it covers this season. A 200 response tells you the page loaded; it cannot tell you whether the schedule is current.

If the spreadsheet itself becomes your team's reference list, use the Google Sheets link-checking guide to check its destinations again before the next handoff.

Pavel Molyanov

Pavel Molyanov

Creator of Broken Link Checker

Content marketer with 10+ years of experience. Founder of a content marketing agency. Writing about SEO, content workflows, and website maintenance.

Broken Link Checker

Check Your Links in One Click

Broken Link Checker finds broken links and redirects on any page or across your whole website, and works in Google Docs and Sheets. Try 3 checks free, with no signup or card required.

More on broken links, SEO, and web maintenance.