Process HTML Files using Cloud cURL commands

Easy cURL commands to get HTML page from storage or build via OCR to render, convert & translate to supported World languages.

  Start Free Trial
Aspose.HTML Cloud for cURL

Aspose.HTMLCloud for cURL


A comprehensive HTML processing solution

No software download or Install required. Aspose.HTML Cloud for cURL is a complete solution and provides the capabilities to perform a wide range of file processing operations including the creation, manipulation, conversion, and rendering of HTML files in the cloud.

It supports document conversion to fixed layout document formats such as PDF, XPS or to raster image formats including JPEG, PNG, BMP or TIFF. You may even choose to render a complete file or select a few pages and perform the conversion.

Aspose.HTML Cloud for cURL ensures that the converted files are produced according to the target file's standards and specifications so that the resultant file can easily be loaded within their native applications.


Advanced HTML Processing Features



Create HTML pages from scratch


Load HTML from an existing file


Render HTML to raster Images


Convert HTML to PDF or XPS & Convert HTML page to MHTML via URL


Get HTML fragments using XPath queries


Translate HTML text content & Get HTML Images


Download HTML page and its linked resources as a ZIP archive


API explorer based on the Swagger collection


APIs are secured and require authentication

HTML to Fixed-Layout Format Conversion

Aspose.HTML Cloud for cURL provides the capabilities to create or load HTML files, and render the output in PDF or XPS.

The conversion process is highly customizable and depends upon the values of URL parameters i.e. the sourceUrl and outPath. If sourceUrl parameter is specified, it can contain absolute web URL, which means an HTML page from the web, or if its a relative URL, it indicates that the cloud-stored HTML document. Else the source document is passed as the request content stream. If outPath parameter is specified, the resulting document will be saved in the cloud storage by specified path and name and if it's not specified, the result will be returned as the response content stream.

Convert HTML to PDF format - cURL

// Get App Key and App SID from
curl -v "" \
-d 'grant_type=client_credentials&client_id=0B17F60A-6D69-426B-9ABD-79F35A6E9F7B&client_secret=53b8b19adffa41a3e87dbbd8858977ae' \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"
// cURL example for HTML to PDF Conversion
curl -v "" \
-X GET \
-H "Content-Type: application/json" \
-H "Accept: multipart/form-data" \
-H "Authorization: Bearer SpH8UPprlhncOED8QfVyI9iftyeicQ8brSWt7ANVL5NGYtTV7tT5H4hLevh80V0IIMJ_C6yCgz-R0Qcyh4FV_Pg4PbCcJmnQrscCx1OTOcI3t73Lsg7LUMQgJCRcrTZ5TzXcPoV2u0lRKV55qEXUl6zssHMDzPyRmRbzlf7jfkumn1LJMj6jtarSp7yu4hN8kVlvG6K8nz8L85k3QFFCbTnePkVOg2Uiy8mT7wncoa3ynMscqBgQynwL8N9DgKg0L1Ivt-8RgGLNK1GZtDOds8wDoBm4KsxTlihYq3X_J1tB6zY_owqnNwkhXGW7uV-oNYGN4E6gU5PaPDNEg0POwOGeohpKi8SwvyHenzGVNdV-HtaWmUdtjd8rl7qhPx8i71pu-31FMrS4yhXczc7V2LzCgIcFlyP_9D38Z_UiwFPq5KWb" \
-o testpage4_embcss.pdf

Extract Images from HTML Document

Aspose.HTML Cloud for cURL enables you to Extract all images from the HTML document. They will be returned in the response content stream as a zipped package of image files.

Manipulate HTML Nodes

Aspose.HTML Cloud for cURL enables you to navigate through the HTML document either by elements, document or XPath selector queries and insert, remove, replace HTML nodes on the go.

Render to Raster Image Formats

Aspose.HTML Cloud for cURL offers high fidelity rendering engine at its core which can convert HTML pages to most commonly used raster image formats including TIFF, BMP, PNG & JPEG without requiring any additional software or tool.

Translate HTML Page

Aspose.HTML Cloud for cURL provides the capabilities to translate the text content of HTML document to other languages simultaneously (currently English to German, French & Russian translation is supported).


Support and Learning Resources