Node.js SDK to Manipulate and Translate HTML Documents

Node.js Cloud SDK to create HTML page from image via OCR to process & translate from English to German, French, Russian & Chinese.

  Start Free Trial
Aspose.HTML Cloud SDK for Node.js

Aspose.HTMLCloud SDK for Node.js


Utilize a number of features supported by the cloud HTML REST API including creation, manipulation, conversion, and rendering of HTML files in the cloud easily by using our SDK for Node.js that makes it easier to integrate your applications with our API without going into the underlying details of handling HTTP requests and responses.

Node.js SDK for HTML Cloud API 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. It 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 existing file


Get HTML fragments using XPath queries


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


API explorer based on swagger collection


APIs are secured and require authentication

Manipulate HTML Nodes

Aspose.HTML Cloud SDK for Node.js allows you to work with Aspose.HTML Cloud REST APIs in your Node.js applications quickly and easily enabling you to navigate through the HTML document either by elements, document or XPath selector queries, and insert, remove, replace HTML nodes on the go.

Extract Images from HTML Document

Aspose.HTML Cloud 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.

Rendering to Raster Image formats

Aspose.HTML Cloud 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 provides the capabilities to translate the text content of HTML document to other languages simultaneously (currently English to German, French & Russian translation is supported).

Translate HTML page - Node.js

describe('GetTranslateDocument', function() {
it('should call GetTranslateDocument successfully', function(done) {
        var name = "test_en.html";
        var srcLang = "en";
        var resLang = "de";
        var opts = {
          'folder': helper.conf['remoteFolder'],
          'storage': null

SDK Benefits

Using the SDK saves you a lot of hassle of setting up authentication and writing the code to handle HTTP requests and responses. Moreover, our supported SDKs are 100% tested and out of the box running. These SDKs are open source and have an MIT license. You can use them, and even customize them for absolutely free of charge.


Support and Learning Resources