HTML Converter - Convert HTML with Cloud SDKs and REST API

Summary

File conversion capabilities are a required tool for modern communication, education, business, etc. Aspose.HTML Cloud SDK for .NET offers secure APIs to convert HTML into popular file formats including PDF, XPS, DOCX, DOC, PNG, JPEG, BMP, TIFF, GIF, MHTML, and MD.

In this documentation chapter, you find out how to convert HTML files to the most popular formats such as PDF, XPS, DOCX, DOC, PNG, JPG, BMP, TIFF, GIF, MHTML, and Markdown using Aspose.HTML Cloud SDKs and REST API calls.

  • Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.HTML SDKs along with working examples to get you started in no time. Please check the Available SDKs article to learn how to add an SDK to your project. SDKs are available in Python, PHP, Perl, Ruby, Swift, C#, Java, Android, Node.js, and more.

  • Aspose.HTML Cloud SDK family allows to convert HTML files to a variety of popular formats using default or custom conversion options. Conversion Options usage enables you to customize the rendering process; you can specify the page size, margins, resolution, compression level, etc. To learn more about Conversion Options, please read the SDK Conversion Options article.

  • The Aspose.HTML Cloud API is a REST-based API for wide usability on the web across platforms. The REST API uses existing HTTP methods, such as GET, POST and DELETE. This chapter demonstrates how to convert an HTML file to other formats by direct REST API calls. Here you find cURL examples that explain how to use conversion API.

Conversion examples

A widespread use case for Aspose.HTML Cloud SDK functions is file processing and converting. To view code examples that illustrate various cases of client SDKs usage for the format conversions, follow the links:

These documentation articles explain in detail how to convert HTML files to the most popular formats:

  • HTML to PDF - you will learn in detail how to convert HTML to PDF using the Aspose.HTML Cloud SDKs and by direct REST API calls.
  • HTML to XPS - provides a general description of how to convert HTML to XPS formats using Cloud SDKs and by direct REST API calls.
  • HTML to DOCX - the article provides information on a description of supported conversion scenarios for HTML to DOCX conversion using various SDKs or REST API requests.
  • HTML to MHTML - you find out how to convert HTML to MHTML using the Aspose.HTML Cloud SDKs and REST API.
  • HTML to Markdown - you will learn how to convert HTML to Markdown using the Aspose.HTML Cloud SDKs and by direct REST API calls.
  • HTML to Image - this article provides information about the Aspose.HTML Cloud API conversion functions and a list of supported scenarios for converting HTML to Images.