1

I've got a PDF made with Jotform which has fillable fields. Is there some easy way to extract just the data from those fields? I've looked around github but I haven't found a tool that can do that that is specifically for form data.

Do fillable PDF files have some easily extractable format that gives a key and a value for the form?

As a bonus, I'd like to also be able to write to that form as well.

My use case is going through a lot of fillable pdf's which are the same PDF but different values filled into the forms. I want to build a tool to display a single field value from all of the forms combined and then I can edit those form fields.

3
  • Duplicate: Extract PDF Form Data Using JavaScript and write to CSV File Commented Jan 12, 2021 at 0:57
  • PDF ISO format defines XFDF, which is XML format that stores the key/value pairs you want. You could then use whatever pattern you like to convert from XML to JSON. Commented Jan 13, 2021 at 0:40
  • @Ouroborus that post doesn't answer my question. I don't want to have the pdf run any JavaScript inside of it. I want to get node to extract the data. Commented Jan 13, 2021 at 1:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.