Go Language Cloud SDK for HTML Files Manipulation

Render, process, and manipulate HTML documents via Go Cloud SDK by fetching specific fragments, all images, linked resources as ZIP.

  Start Free Trial
Aspose.HTML Cloud SDK for Go

Aspose.HTMLCloud SDK for Go


Aspose.HTML Cloud SDK for Go is developed on top of our Aspose.HTML Cloud API, offering features to Create, Manipulate, Convert HTML files, Extract CSS style Information, Navigate HTML Nodes, Perform OCR on Image and generate HTML document or even translate HTML file content to other languages including German, French & Russian. All these operations are performed in the Cloud and you can use Aspose Cloud Storage or supported third party storage's to store the input and resultant files.


Advanced HTML Processing Cloud REST API Features



Create HTML pages from scratch


Load HTML from existing file


Get HTML fragments using XPath queries


OCR Image and Generate HTML


Render HTML to raster Images


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


Translate HTML text content & Extract HTML Images


Download HTML page and its linked resources as a ZIP archive


APIs are secured and require authentication

Flexible SDK

One of the benefits of using an SDK is that it saves you a lot of hassle of setting up authentication and writing the code to handle HTTP requests and responses. Furthermore, our supported SDKs are 100% tested and can be used out of the box. The SDKs are open source and come under MIT license. Therefore, you can use them as it is, or even customize them, free of cost.

Ease of Use

Aspose.HTML Cloud SDK for Go is completely independent of operating system or database. When using the SDK, it hides the REST API calls and lets you use the features of the API in your favorite Go language. Furthermore, the HTML conversion process is highly customizable, allowing you to configure PageSetup aspects for the resultant fixed-layout formats, that is; you can specify the page numbers to be rendered, tweak the resultant page size or set the JPEG compression for the embedded images.

Generate HTML from Image OCR

Along with HTML manipulation capabilities, the SDK also provides a unique feature to recognize Text from image and generate HTML from recognized content. It offers the flexibility to recognize Text from the Image file, import it to HTML format and then Translate to Specified Language, so you can have the output in your desired language. Its one of the salient features of our SDK and can be useful in various business domains. If outPath parameter is specified, the resulting document will be saved in the cloud storage by the specified path and name and if it's not specified, the result will be returned as the response content stream.

HTML to Fixed-Layout Format Conversion

Along with HTML files creation and manipulation, SDK also provides the capabilities to render HTML to PDF or XPS format. 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 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 its not specified, the result will be returned as the response content stream.

Rendering to Raster Image formats

The SDK 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. So as per your requirements, you may choose to render a complete file or select few pages and perform the conversion. Aspose.HTML Cloud SDK for Go 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.

Translate HTML Page

Another feature of the Aspose.HTML Cloud API that you can use via the SDK is 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