We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem while converting pdf to xls

I am trying to convert PDF to excel file(xls/ xlsx) but file is getting corrupted excel file(output file ) .

i am using below code

Document doc = new Document(“C:\Users\hp\Desktop\pdf\bck ppr.pdf”);
com.aspose.pdf.ExcelSaveOptions excelsave = new com.aspose.pdf.ExcelSaveOptions();
doc.save(“C:\Users\hp\Desktop\pdf\out.xlsx”, excelsave);

File not open in excel and ian using aspose pdf 21.5.0
i am attaching screen shot Screenshot (64).png (110.4 KB)
Screenshot (65).png (108.3 KB)


Can you please share the source PDF file so that we may try to reproduce the same on our end.

here is source pdf -bck ppr.pdf (2.6 MB)
code and output screenshot uploaded earlier .


I have been able to reproduce the issue on our end. A ticket with ID PDFJAVA-40532 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

hello @mudassir.fayyaz
can i know status of this issue ? and how much time to fix this issue ,Actually I need solution as soon as possible because this issue from client side so please fix ASAP.


Please note that it was recently logged in free support model and will be investigated and resolved on a first come first serve basis. We will surely inform you as soon as we make some definite progress towards its resolution. Please be patient and spare us some time.