3

Are there any Open Source Tools to Remove PDF links in Ubuntu. I use PDFtk and i am not able to find any internal links in it. Due to the Internal links my python script that uses PyPdf to merge the PDF files into one file fails.

1

A simple step to remove all the hyper links from a PDF is by printing, that is by choosing print to file option. but this process doesn't remove the highlight of the hyper link. hope this helps

  • Helps, but bookmarks can get lost by doing that. A solution for that issue is using the program jpdfbookmarks. – Til Hund May 17 '14 at 21:20
0

When I extract the pages from a PDF with pdftk and assemble them again afterwards the links are gone. Example:

mkdir temp
cd temp
pdftk ../FileWithLinks.pdf burst
pdftk *.pdf cat output ../FileWithLinksRemoved.pdf
  • 1
    That did not work for me. I was using pdftk 2.02 – CodeMedic Dec 28 '18 at 14:57
  • Neither for me pdftk 2.02 – Tom Jan 17 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.