This step by step tutorial elaborates how to convert PDF to XLS with Java REST API in the cloud. In order to export PDF to XLS format, we’re using Aspose.PDF for Java Cloud SDK. If you need PDF to XLS Conversion in Java Low Code API then the same can be carried out with the help of the following steps and code snippet.
Prerequisite
- Create account and get API credentials
- Download Aspose.PDF Cloud SDK for Java
- Setup Java project with the above SDK
Steps to Convert PDF to XLS in Java REST API
- Set Client ID and Client Secret for the API
- Create an object of pdfApi class with client credentials
- Specify input and output files
- Read input PDF file and upload to cloud storage
- Create an object of pdfApi with input and output file formats
- Call putPdfInStorageToXls method to Convert PDF to XLS using REST API
- Save the output XLS file on local disk
Code for PDF to XLS Conversion in Java Low Code API
The code shown above assists you to convert PDF to XLS with Java REST API. You simply need to upload PDF file with the help of the Aspose.PDF REST API SDK for Java and download output XLS file to save it locally by using Aspose conversion API online.
The above PDF to XLS Conversion can be put to use with any no code or low code apps on any platform.
Another relevant feature can be found at the following URL: How to Convert PDF to DOCX with Java REST API