Is there a command-line tool to extract annotations (comments added using evince) from PDF-files?

I search such a solution to send people feedback on their submitted documents. Apart from replying with the annotated PDF as attachment, I want to include a dump of my comments as substitution for a proper changelog in the email's body.

In the man pages of tools like pdftotext, pdftohtml or pdfinfo I did not find any helpful options.

  • Clarification: I am not talking about freehand (digital ink) comments.
    – fheub
    Commented Feb 13, 2012 at 9:27
  • 1
    See the python script in the answer to this question stackoverflow.com/questions/1106098/…
    – mlberlin
    Commented Oct 6, 2016 at 14:28
  • @mlberlin thank you for the helpful link! I don't see why I could not find it myself back then – but it has really been a long time ago …
    – fheub
    Commented Oct 10, 2016 at 6:26

3 Answers 3


Yes; see


and maybe


(thought we should take this question out of the unanswerd queue)

  • is textricator also able to process annotations/comments from PDF documents? The examples and README are only describing processing of "regular" content.
    – fheub
    Commented Jul 30, 2018 at 8:35

I have a similar need and wanted to use python3, so I started developing an extract-pdf-annotations.py with my other tools at https://github.com/foleyj2/teaching-tools You might find it useful.

  • Works well! And thanks for the user-friendly documentation and comments!
    – scottkosty
    Commented Jan 11, 2023 at 19:46

Have a look at https://superuser.com/questions/698811/how-to-export-comments-from-a-pdf-file where comments suggest pdfannotextractor.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .