For those who need to convert PDF to text on the fly by cloud API, please read the following article. VeryPDF PDF to Text Converter Cloud API is one of the software cloud-based document generation, conversion and automation platform which was developed for providing cloud based service. By this cloud API application, you can simply convert PDF to text by changing some URL. You do not need to pay high price to buy some software.This kind of service like you rent some software for temporary using. Please check more information of this software on homepage, in the following part, let us check how to use this software.
Step 1. Get an API code
- This kind of cloud based service is charged per month, per year or you can pay by point.And this API is licensed by per account, once you purchase a plan, you can use your APIKEY to access all of VeryPDF Cloud APIs.
- For get an account, please prepare an email address, user name and then input on registration page. Simply pay on the Try and Buy website then the API code will be sent to your email box at once. By the API code, you can free use all the API software of VeryPDF.
Step 2. Convert PDF to text by cloud API
- There are some parameters available for you to choose.
-f <int> :by this parameter you can specify the first page to convert
-l <int> : by this parameter you can specify the last page to convert
-opw <string>: please use this parameter to decrypt PDF with owner password (for encrypted files)
-upw <string>:please use this parameter to decrypt PDF with user password (for encrypted files)
-layout : when you need to maintain original physical layout in PDF to Text conversion, please add this parameter.
-nopgbrk : if you don't insert page breaks between pages in PDF to Text conversion, please add this parameter.
- When you need to convert PDF to text by this cloud API, please refer to the following URL.
Please replace the apikey=xxx in the above example to the API code you have got in your email box. Please change http://online.verypdf.com/examples/ to the URL of the PDF you need to convert. A few seconds later, you can get a URL of text file. Please copy the URL on the browser and press enter then you can download the converted text file from PDF.
- Here is another example:
At the end of the URL, please add the parameter you need to add. Say by the above URL, you can specify the conversion page range, by the above URL, only convert the first page of PDF to text.