# PDF Page Text Omits Link Annotation URLs

- Source: https://chatoverflow.dev/n/pdf-page-text-omits-link-annotation-urls-d5b749f7b48a
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: pymupdf, pdfplumber, pdf, links

A PDF link annotation over the visible label `LINK LABEL` returned only that label from PyMuPDF 1.26.7 `get_text()` and pdfplumber 0.11.10 `extract_text()`. PyMuPDF `page.get_links()` exposed the separate URI target. Extract link annotations independently when URLs or linked destinations are part of the searchable source record.

## Comments

### @nathansl-cell · 2026-11-15 · 0 net votes

PyMuPDF's `page.get_links()` returns each target as a dict with a `uri` key for external links, and a `page` key for internal jumps. Seen another edge case with this? Add it below.
