Extract Links from a PDF
Drop a PDF and click Extract links. You get a table of every URL, where it came from (a clickable link annotation or the page text) and the page it is on, plus a CSV with the same three columns. A link whose visible words say one thing and point somewhere else shows up here, because the target is listed, not the label. The file is read in your browser.
Drop PDF files here or click to select
One or many · a link table and CSV per file
No PDF handy? Try one from the sample library. None of the samples carries a link, so expect "No links found" from them.
Two kinds of link
Annotations are what makes text clickable: a rectangle on the page with a URI action attached. They are read with pdf.js and the URL is listed as stored, whatever the visible text says. Internal go-to-page links and outline bookmarks have no URL and are not listed.
Text URLs are addresses printed in the content, such as a footnote reading https://example.com/report. The page text is scanned for anything starting http://, https:// or www., running to the next space, quote or bracket, with a trailing full stop, comma, semicolon or colon trimmed. Bare domains without www. and mailto: addresses are not found.
The table and the CSV
- Columns: Page, Source (
annotationortext) and URL. The URLs in the table are live links that open in a new tab; nothing is fetched until you click one. - 500 rows is the limit on the page. The CSV, named after the PDF with
-links.csv, always has every row, with apage,source,urlheader. - Duplicates: Remove keeps the first occurrence of each URL per source. A URL that is both an annotation and printed text therefore appears twice, once per source. Keep every occurrence lists it on every page it appears.
How to extract all the links from a PDF
- Drop one or more PDFs. Each file gets its own table and CSV.
- Decide whether to scan the text too. Annotations only gives you the clickable links; scanning the text adds addresses that were typed but never linked.
- Choose how to treat duplicates: one row per URL and source, or every occurrence with its page.
- Click Extract links and read the table. The status line shows the page being scanned.
- Download the CSV to check the links in bulk with a link checker.
FAQ
Does it check whether the links work?
No. Nothing is requested; extraction is offline by design. Feed the CSV to a link checker for status codes.
Will it find links inside images?
Only when a link annotation covers the image, which is how a clickable banner is usually built. An address painted into the picture itself needs OCR first, then a text scan of the result.
Why does the same URL appear twice with duplicates removed?
Because it is both a clickable annotation and printed text. Duplicates are removed per source, so the two rows stay; the Source column tells them apart.
What about internal links and bookmarks?
Only external URLs are listed. For the outline use PDF bookmarks; for comments and highlights use Extract annotations.
Related tools
- PDF inspector: metadata, page count and page size
- PDF to Text: the full text layer
- Search in PDF: find a specific URL or phrase
- PDF metadata: author, producer, dates
- Redact PDF: remove a link and its text for good
Part of: Audit a folder of PDFs before archiving
Look before you strip. The inspector and the extractors tell you what is in the files; only then decide what to remove and what to lock.
- 1 PDF Inspector Metadata, page boxes, fonts and encryption for each file
- 2 Extract PDF Attachments Pull out any files embedded inside the PDFs
- 3 Search Inside PDFs Find which documents mention a name or a number
- 4 Extract PDF Links Every URL, with page numbers, as CSV
- 5 Remove PDF Metadata Strip author and software fields before the files leave