Convert PDF Document to HTML Format

Converting PDF to HTML

Introduction

You can  convert pdf to html by using Aspose.PDF Cloud REST API. The SDKs are available in various languages such as, C#, Java, Python, Ruby, PHP, Node.js, Swift, Android and Go. This API enables you to convert PDF document to HTML format. The API returns output file in a zip format which you can later unzip to get the HTML file. Please check API Reference page for the description of API’s parameters.

We have provided a separate API for each of the following use case:

  1. Converts PDF document (located on storage) to HTML format and returns resulting file in response content
  2. Converts PDF document (located on storage) to HTML format and uploads resulting file to storage
  3. Converts PDF document (in request content) to HTML format and uploads resulting file to storage

Resource URI

Aspose.PDF Swagger UI lets you call the REST API directly from the browser.

cURL Example

Input Document: 4pages.pdf 

Output Document: result.zip 

SDK Example