Conversion API – Convert files with Cloud SDKs and REST API

Convert HTML, MHTML, XHTML, Markdown, SVG, and EPUB

Aspose.HTML Cloud v4.0 provides the simplest API to convert HTML files to one of the fixed-layout document formats including PDF, XPS and DOCX; to raster image formats including JPEG, PNG, TIFF, BMP, and GIF; to MD and MHTML formats. You can convert the HTML document to any supported formats either from the storage by its name or from the web by its URL.

In this documentation chapter, also you find out in detail how to convert EPUB, XHTML, MHTML, Markdown, and SVG files to the most popular formats by calling directly the REST API by HTTP requests or using a set of SDKs. Convert HTML, XHTML, MHTML, EPUB, MD, and SVG formats with our powerful file conversion API!

The main differences from conversion API v3.0 are:

  • conversion is considered as potentially long time operation, so new API provides an asynchronous mode of conversion;
  • many options that were available in conversion API v3.0 have been reduced to only three possible REST API calls; this makes development more straightforward.

SDK vs REST API

The application developer can use Aspose.HTML Cloud v4.0 conversion functionality calling directly the REST API by HTTP requests or using a set of SDKs.

  1. SDK is a preferable choice for faster development; the SDKs provide a convenient set of methods for the most typical cases and hide many routine operations from a developer. SDKs are available in Java, Python, PHP, C++, Android, Swift, Node.js, C#, and more.
  2. REST API is a low-level interface to work directly with the Aspose.HTML Cloud product service by HTTP requests. It provides full control over the HTTP operation results, but it requires more routine work to prepare HTTP requests and handle responses.
  • You can download Aspose.HTML Cloud SDKs of your required platform from GitHub.
  • Aspose.HTML Cloud API you can call directly from your browser by accessing the API Reference.
  • Aspose.HTML offers free online Converters to convert HTML, XHTML, MHTML, EPUB, XML, or Markdown documents to PDF, XPS, DOCX, JPG, PNG, BMP, TIFF, GIFF, Markdown, and other formats. Select the file, choose the format to save, and you’re done. It’s fast and completely free!