Export Adobe Acrobat comments of a PDF into a text file?
I have many PDFsf with 100s of annotations/comments in them, created through the free Adobe Acrobat Reader. By reading this official guide, and skimming trough related pages, I see that I can "export" the comments in FDF files or XFDF format.
However, these files can't be opened by themselves without the original, from the first link:
You cannot open and view FDF files or XFDF files on their own.
I would like to export the comments as a text file containing only the text of the comments.
This is a bit convoluted, but it works.
Follow the instructions here to export the comments and export them to an XFDF file:
-
Rename the file's extension to XML (i.e. if filename was "comments.xfdf", change its name to "comments.xml".
-
Open the XML file using google chrome.
-
Select all (Ctrl+A) and then copy (Ctrl+C).
-
Open a new Chrome window and navigate to this link (it creates a blank notepad):
data:text/html,%20<html%20contenteditable>
-
Click on the white area and paste (Ctrl+V).
-
Select all (yes, again, Ctrl+A).
-
Copy (Ctrl+C).
-
Paste in a Word document.
Note: It may work with other browsers, but at least for me, when copying/pasting from Firefox, I'd end up with all the XML code in word.