Extract URLs from a PDF

Copy selectable text or link addresses from your PDF reader, paste them into URL Extractor, and copy the resulting list. The tool processes what you paste in your browser without uploading the PDF.

Open the URL extractor

What you can copy from a PDF

Start by checking how the address is presented. A printed address such as https://example.com/reports can be picked up as text if you can select and copy it. A clickable label such as “Quarterly report” may also work if your PDF reader copies the underlying web address along with the label. How the document was made and how your reader copies it determine what arrives in the editor.

A link that jumps to another page in the same document may have no web address. A link that opens a local file may also have no public URL. If your goal is to collect websites, keep those entries out of your working list and focus on complete http or https addresses.

Copy, paste, and extract in three steps

  1. Copy the relevant pages or passages. Open the PDF in your reader, switch to text selection if needed, and drag across a paragraph, table row, or references section. Start with one page containing an address you can recognize. That small sample tells you whether your reader preserves the link formatting before you copy a longer selection.
  2. Paste into the extractor. Use your usual paste shortcut so rich links are preserved when available. Check the pasted content for visible addresses or clickable labels. Choose Convert URLs to Links if the option appears for written addresses, then select GET URL to build the list.
  3. Review and copy the destinations. Compare the first results with the sample page. Confirm that the hostname and the end of any long address match what you intended. Remove entries you do not need, then select Copy All URLs to paste the addresses into a spreadsheet, notes, or another document.

For a large report, work in page ranges or sections. The tool accepts up to 50,000 characters and returns up to 100 unique URLs per run. Keep a page-range column next to each batch if you need to trace a destination back to the report. Check for duplicates again when you combine batches.

Recover the address behind a link label

If “Quarterly report” pastes as ordinary words, go back to the clickable label in the PDF. Right-click it on a desktop or touch and hold it on a mobile device. If the link menu offers Copy Link Address or a similarly named option, use it and paste the result on its own line. If your reader does not expose that action, try another reader with a link menu. For a trusted link you can also open it and copy the resulting address from the browser, taking redirects into account.

If all you have is a path such as /reports/q4, check the original link or confirm the source website before turning it into a full address. The domain could differ from the site where you downloaded the PDF. See how relative URLs and base paths work, or troubleshoot why copied text sometimes loses its hyperlink.

Handle scanned pages, broken lines, and tables

When you can select only a whole page or image, try optical character recognition (OCR) in your PDF reader to create a selectable text layer. Check the recognized address against the scan before copying it. Watch for similar-looking characters such as zero and the letter O, and for small marks such as periods or underscores. If an address exists only as pixels and OCR is unavailable, type the visible address and compare it character by character.

A long address may wrap to a new line or pick up a space when copied. Compare it with the displayed address or use the link menu to get the full destination. Keep any query string or fragment that is part of the link. For multi-column pages, try copying one column or table row at a time to avoid mixing text from separate entries.

Example: collect a report’s references

Suppose a report includes a written address on page 2 and a clickable “Supporting data” label on page 6. Copy the written address from page 2 and paste it into the editor. From page 6, copy the link address from the label’s menu and paste it on the next line. Run extraction and look for two destinations. Use a separate spreadsheet column for the page numbers or labels, since copying all URLs returns the addresses only.

If you also collect links from editable documents or spreadsheets, see the guides to extracting URLs from Word documents and extracting URLs from Google Sheets.

Frequently asked questions

Do I have to upload my PDF?

No. Open the PDF in your own reader and paste only the text or link addresses you want to process. URL Extractor has no file upload, and the pasted content stays in your browser.

Can I extract all links from an entire PDF at once?

You can paste a broad selection when your reader lets you select across pages, but the results only include addresses that reach the clipboard. If the result is incomplete or the selection exceeds 50,000 characters or 100 unique URLs, work in smaller batches.

Can I extract links from a scanned PDF?

Use an OCR feature in a PDF reader to make printed addresses selectable, then check and copy the recognized text. OCR reads the text shown in the scan. It cannot reconstruct a hidden link destination from a label alone.

Why does a clickable label disappear from the results?

Your reader may have copied the visible label without its destination. Return to the original link, copy its address if the reader offers that action, and paste the full address into the extractor.