Convert PDF in another format in Java

I have my bank statement file (PDF) generated from bank app with the following structure


 I need to extract info between the horizontal bold lines(there is also sort of a table - the most important because it contains my transactions).

I have tried all sort of Java libraries (PDFBox,Aspose,iText and others) but I cannot get structured content. I need a way to convert the PDF in something parseable (XML,HTML,CSV doesn’t matter what) .

I just need an easier way to parse this PDF. Thanks!

If with the libraries you’ve tried it with it doesn’t work, it might be that the PDF is created in such a way that that data just isn’t easily extractable.

Is it a possibility for you to just scrape a web page and then parse the HTML of that page?

1 Like