How to convert PDF file data set into JSON file

I have to convert PDF file into JSON file so that i can read the data easily from JSON and validate with my inputed data set. But my PDF is not simple one.

let me convert my pdf into the jpg files and share with you.

how can i convert these into JSON.





There are several python packages which can read your PDF files (if they contain text) and retrieve their data.

They cannot directly convert to json, but you will be able to read the data and create your own data structures as you need them

I personally used PyMuPdf a lot

2 Likes