[Total: 1 Average: 5/5]
This tutorial explains learn how to discover damaged hyperlinks in PDF information. To do that I’ll use a free command line software program known as PDFx. Although, it’s not meant to seek out damaged hyperlinks in a PDF file, nevertheless it has a characteristic to verify hyperlinks in a PDF file. Utilizing this straightforward utility, you may listing all of the hyperlinks which are listed in a PDF file and in addition obtain them whether it is a direct hyperlink. It is going to present all of the damaged hyperlinks, alongwith web page quantity on which damaged hyperlink is current.
This PDF hyperlink checker requires Python to be put in in your PC, which could be very simple to put in. After that, it’s worthwhile to merely execute this software program from command line, present path of PDF file wherein you need to verify damaged hyperlinks, and it’ll instantly present which all hyperlinks are damaged. You possibly can even save the damaged hyperlinks report back to a textual content file.
Although there are lots of software to check broken links on websites, and even check broken links in Bookmarks, however checking damaged hyperlinks in PDF information is an entire totally different ball sport. I attempted so much on the lookout for a GUI based mostly software program that might do the identical, however discovered solely this command line software program to verify damaged hyperlinks in PDF information. Regardless of being command line software program, it’s fairly simple to make use of. Additionally, as this software program simply requires Python, so really you should utilize it not solely on Home windows, however on Mac and Linux as effectively.
How To Discover Damaged Hyperlinks In PDF Recordsdata?
PDFx was initially meant to obtain all of the references that are given in a PDF information. Aside from that, it comes with a hyperlink checker module that helps to seek out damaged hyperlinks inside a PDF file. You possibly can simply discover damaged hyperlinks in a PDF file together with the error code and web page quantity.
To make use of PDFx, you’ll need to put in Python in your PC. As soon as put in, comply with the steps beneath to seek out damaged hyperlinks in a PDF file.
Step 1: Open Home windows Command immediate and kind the next command in it. After operating that command, it’ll set up PDFx in your PC (this might be robotically put in by Python, so it is very important first set up Python). If the set up goes effectively, then it’ll present the efficiently completed putting in message ultimately.
Now, PDFx has been put in in your PC. You possibly can entry it from any location of your PC utilizing Command immediate.
Step 2: Navigate to the folder which has your PDF file wherein you need to discover damaged hyperlinks. Use Shift+right-click to open the Command prompt there.
Step 3: To verify all of the damaged hyperlinks, sort the next command within the Command window and hit Enter. After that, it’ll begin scanning the hyperlinks and listing the damaged hyperlinks with the error code (like, 404, 403, and many others.) and web page quantity. See the beneath screenshot.
pdfx [PDF_filename] -c
If you wish to retailer the outcomes of the damaged hyperlinks in a textual content file, then simply append “> filename.txt” on the finish of the command.
So, on this means you may simply discover damaged hyperlinks in PDF information utilizing PDFx. The software program does what it guarantees by itemizing all of the damaged hyperlinks together with the error code and web page quantity.
Do observe that it assessments solely net hyperlinks for damaged hyperlinks, and never hyperlinks to different information.
PDFx makes it fairly simple to seek out damaged hyperlinks in PDF information. I actually like the truth that it provides error code in addition to web page quantity additionally with every damaged hyperlink. I want the output was formatted a bit higher, in order that I might open it as Excel or CSV. Nonetheless, that is the one software program I used to be capable of finding that might even discover damaged hyperlinks in PDF information, so I’ll take what it provides. If of another software program that may discover 404 errors in PDF information, or can verify a number of PDF information for damaged hyperlinks collectively, do let me know in feedback beneath.