Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.


Docs Swagger Examples Blog Release Notes Support Dashboard

Installation

The package is available at nuget.org and it can be installed via package manager console by executing following command:

PM> NuGet\Install-Package Aspose.HTML-Cloud

Version NuGet NuGet-GroupDocsCloud


HTML Conversion .NET Cloud REST API

Aspose.HTML Cloud SDK for .NET provides a robust solution for converting HTML documents into multiple formats, including PDF, DOCX, MHTML, XPS, and various image formats such as JPEG, PNG, and TIFF. With support for cloud and local file conversion, developers can seamlessly transform web pages into editable and print-ready formats. The API also offers advanced customization options like adjusting page size, margins, and format settings, making it highly flexible for various document conversion needs. Additionally, users can extract metadata, convert EPUB to PDF, and manage MHTML, Markdown, and XHTML files efficiently. It integrates smoothly with cloud storage and supports popular SDKs for easy setup.

HTML Converter

Multi-format Conversion

Convert HTML to PDF, DOCX, MHTML, XPS, and images.

Cloud & Local Support

Convert HTML from cloud storage, local files, or URLs.

Custom Conversion Options

Define margins, page size, and output format.


Convert HTML to PDF

Precise PDF Conversion

Convert HTML to PDF with adjustable settings.

Page Layout Control

Define page size, orientation, and margins.

Web-to-PDF Support

Convert web pages to high-quality PDF format.


Convert HTML to XPS

HTML to XPS Conversion

Generate print-ready XPS documents from HTML.

Customizable XPS Output

Set page size and margins for XPS files.

Web & Cloud Support

Convert HTML from URLs or cloud storage to XPS.


Convert HTML to DOCX

HTML to DOCX Conversion

Create editable DOCX files from HTML content.

Flexible Layout Options

Adjust margins and page size for DOCX.

Cloud & Local Conversion

Convert web pages, local files, or cloud-stored HTML to DOCX.


Convert HTML to Image

HTML to Image Conversion

Generate JPEG, PNG, GIF, TIFF, or BMP from HTML.

Snapshot Support

Capture web page snapshots as images.

Custom Image Settings

Control image size and resolution during conversion.


Convert HTML to MHTML

HTML to MHTML Conversion

Archive web content in MHTML format.

Custom Conversion Options

Set specific preferences for MHTML output.

Cloud & Local Support

Convert HTML from URLs or cloud storage to MHTML.


Convert HTML to Markdown

HTML to Markdown Conversion

Simplify HTML to Markdown conversion for sharing.

Cloud Storage Support

Convert HTML from cloud storage or local files.

Efficient Conversion Process

Streamline Markdown generation from HTML.


EPUB Converter

HTML to EPUB Conversion

Transform web content into EPUB for eBooks.

Cloud-based EPUB Creation

Convert HTML stored in cloud storage to EPUB.

Multi-format Support

Create digital publications from various formats.


MHTML Converter

MHTML to Multi-format

Convert MHTML to PDF, DOCX, and images.

Flexible Storage Options

Convert MHTML from cloud or local storage.

Custom Output Control

Adjust MHTML conversion settings.


Markdown Converter

Markdown to DOCX & PDF

Convert Markdown files to formal document formats.

Cloud or Local Conversion

Convert from cloud or local storage with ease.

Lightweight to Formal

Manage Markdown files for formal documentation.


XHTML Converter

XHTML to Multi-format

Convert XHTML to PDF, DOCX, and images.

Flexible Conversion Options

Customize page size and orientation for conversions.

Cloud & Local Support

Convert XHTML from local or cloud storage.


SVG Converter

SVG to Image Conversion

Convert vector graphics to PNG, JPEG, and TIFF.

Vector to Image Control

Preserve vector quality in image conversions.

Web & Cloud Support

Convert SVG files stored locally or in cloud storage.


Image Vectorization

Raster to Vector

Convert raster images to SVG vector graphics.

Scalable Image Conversion

Create high-quality vector images from low-res sources.

Custom Vectorization

Adjust vectorization settings for precise results.


Conversion Options

Customizable Conversion Settings

Define page size, margins, and format for all conversions.

Detailed Output Control

Tailor conversion settings for HTML to PDF, DOCX, XPS, and images.

API Integration

Use flexible API options for advanced conversion customization.

Supported File Formats

FormatDescriptionLoadSaveRemarks
HTMLHTML format✔️✔️
XHTMLHTML with XML syntax✔️✔️Save option is only available when the input file is XHTML
MHTMLMHTML (Web archive) format✔️✔️Save option is only available for an MHTML document saving
EPUBE-book file format✔️
MDMarkdown Format✔️✔️Save option is only available for an HTML document saving
PDFSaves a document in PDF format✔️
XPSSaves a document in XPS (XML Paper Specification) format✔️
DOCXSaves a document in DOCX format✔️
TIFFRenders a page or pages of a document into TIFF✔️Single or multi-page TIFF file
JPEGRenders a page of a document and saves it as a JPEG file✔️
PNGRenders a page of a document and saves it as a PNG file✔️
BMPRenders a page of a document and saves it as a BMP file✔️
GIFRenders a page of a document and saves it as a GIF file✔️

Get Started with Aspose.HTML Cloud

1. Create a Free Account

  • Visit Aspose Cloud to sign up.
  • After successful signup, you’ll be redirected to the dashboard.

2. Manage Your Account

  • Access Account Settings by clicking the profile icon at the top right.
  • Update your profile, security, and billing details.
  • Save changes after editing.

3. Create a New App & Default Storage

  • Log into the Dashboard and go to the Applications page.
  • Click Create New Application, name it, and add a description.
  • For storage, click the “+” next to Default Storage, select storage type, and follow the instructions to set it up.

4. Get Your Client ID & Client Secret

  • In the Applications page, click on your newly created app (e.g., “My First App”).
  • View your Client ID and Client Secret—these are essential for API authentication.

5. Install & Use the SDK

  • You don’t need to install anything manually. Simply execute the following command in the Package Manager Console of Visual Studio to fetch and reference Aspose.HTML Cloud SDK:

    PM> Install-Package Aspose.HTML-Cloud
    
  • If you already have the SDK and want to upgrade it to the latest version, execute:

    PM> Update-Package Aspose.HTML-Cloud
    

Convert HTML to PDF using Aspose.HTML Cloud API

Convert HTML documents into high-quality PDF format effortlessly using Aspose.HTML Cloud API.

// Initialize the HTML API with Client ID and Client Secret
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");

// Convert an HTML document to PDF with default options
var result = await api.ConvertAsync("test.html", "output.pdf");

// Save the result locally or on cloud storage

Convert Web Page to MHTML

Easily convert a live webpage into MHTML format using Aspose.HTML Cloud API and save it locally.

// Initialize the HTML API with credentials
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET").ConvertApi;

// Convert webpage from URL to MHTML and save to a local file
var result = await api.ConvertUrlAsync("https://example.com", "output.mhtml");

Convert HTML to Image (JPEG)

Convert HTML files to high-quality JPEG images with customizable settings.

// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");

// Convert HTML document to JPEG format
var result = await api.ConvertAsync("test.html", "output.jpg");

// Save the resulting JPEG file

Convert HTML to DOCX using Aspose.HTML Cloud API

Seamlessly convert HTML content to DOCX, enabling users to create editable Word documents from web content.

// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");

// Convert HTML to DOCX with default settings
var result = await api.ConvertAsync("test.html", "output.docx");

// Save the DOCX document locally or in cloud storage

Convert EPUB to PDF using Aspose.HTML Cloud API

Convert EPUB eBooks to PDF format for easy reading and sharing using Aspose.HTML Cloud API.

// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");

// Convert EPUB to PDF
var result = await api.ConvertAsync("test.epub", "output.pdf");

// Save the PDF file locally or on the cloud

Extract Metadata from HTML using Cloud API

Extract metadata from HTML files and access document properties such as title, author, and description.

// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");

// Extract metadata from HTML document
var metadata = await api.GetMetadataAsync("test.html");

// Output metadata details
Console.WriteLine($"Title: {metadata.Title}, Author: {metadata.Author}");

Docs Swagger Examples Blog Release Notes Support Dashboard


 English