Removing Hyperlinks from a PDF and Feature/Gotcha
Occasionally, I receive a question like this one:
Is it possible to make a document searchable but remove the hyperlinks? Even if I remove the hyperlinks from the document, [Adobe] Reader users can still click the links which open URLs in their web browser.
Legal Professionals sometimes want to remove hyperlinks from documents in discovery production. Since a link to a website is valuable, why make it easy to check out the destination? Or, perhaps your source documents have a link to a destination which is out of date. It might be easier to remove these links rather than correct them.
In this article, I’ll discuss how to remove links and a “feature/gotcha” that limits what you are able to do.
For you diehards, I also provide a workaround.
How do links get into PDFs anyway?
Hyperlinks are authored three different ways:
- Inserted by an authoring application such as Microsoft Word and preserved when using the PDF Maker integration provided by Acrobat
- Created in Acrobat
- Automatically created by the viewer (Reader or Acrobat)
Some Links are Automatically Generated
Consider the following four examples I created in a Microsoft Word file and then converted to PDF:
Acrobat and Reader treat these links in different ways:
Type
Link will be . . .
Can link be deleted?
A
Full Qualified URL
Dynamically generated at view time
No
B
Partially Qualified URL
Dynamically generated at view time
No
C
Unqualified URL
Ignored
N/A
D
Embedded Link
Active (this link is present in the PDF)
Yes
Automatic Links . . . Gotcha!
A and B above are dynamically generated when the page is opened in Reader or Acrobat. They don’t actually ever exist as link overlays in the PDF. For this reason, it isn’t possible to delete them.
So, there’s your gotcha!
You could re-scan the document, but if you OCR it Acrobat and Reader will still find the links.
Maybe that doesn’t seem fair, but this feature is extremely useful. Most folks outside the legal field don’t want to have to retype links into their web browser. It’s a feature, not a bug.
Removing Links
You can remove embedded links (inserted by authoring applications or by Acrobat). Here’s how to do so in Acrobat X or XI:
Choose Tools > Document Processing > Remove All Links
A Sneaky Workaround
Embedded links always take precedence over dynamically generated links. With this in mind, it is possible to generate embedded links in the document, then simply send the viewer to a null destination. If you have a long document, this could be a lot of work and you will need to be careful not to delete links you want to retain.
Still, for those of you preparing documents for attorneys who won’t take no for an answer . . .here’s how to go about this below.
I suggest working on a copy of the document.
- Open the PDF you want to work on
- Choose Tools > Document Processing > Create Links from URLs
This will create embedded links from the URLs found in the PDF. - Choose Tools> Interactive Objects> Select Object
- All of the link rectangles will be visible on the page:
- Select the links you want to change. You can shift-click or CTRL-click to select multiple ones. Or, on a page by page basis, you can type CTRL-A to select all of the links on the page.
- Once selected, the links will be highlighted:
- Without deselecting the links, right-click and choose Properties. The Link Properties Window opens.
- Click the Actions Tab:
- In the Actions tab:
A) Select the Open a web link action
B) Click the Delete button
C) Click OK
False Security
Unfortunately, unless you encrypt the document, the process is completely reversible by a knowledgeable Acrobat user, but Reader users will be out of luck.
You better hope the other side doesn’t read my blog . . .