PDFtk | View PDF field information from command line

Author - Kiran Preet
1 Comment

Solution: If you have a pdf and you do not know the names of the fields used in the pdf just follow these steps:

1.   Install pdftk (search online).
2.   Open the command prompt, run the command:

pdftk YourPdf.pdf dump_data_fields

Using Above command you will get information like:

Field type
Field name
Field flag
Field Justification
Field State Option

You will get output like this:
Also if you want to save this output in txt file then use following command:

pdftk YourPdf.pdf dump_data_fields output newFile.txt
Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

One response on “PDFtk | View PDF field information from command line

  1. […] is one of the most popular and simple pdf editing or manipulating tool. It provides us a number of features like create pdf with FDF file, extracts […]

Leave a Reply

Your email address will not be published.