Node.js Cloud SDK for Document Conversion

Enhance your tools & applications with document and image conversion features using REST API and Node.js Cloud SDK.

  • GroupDocs.Conversion Cloud SDK for cURL
  • GroupDocs.Conversion Cloud SDK for .NET
  • GroupDocs.Conversion Cloud SDK for Java
  • GroupDocs.Conversion Cloud SDK for PHP
  • GroupDocs.Conversion Cloud SDK for Python
  • GroupDocs.Conversion Cloud SDK for Ruby
  • GroupDocs.Conversion Cloud SDK for Android
  • GroupDocs.Conversion Cloud SDK for Go
Start Free Trial

The GroupDocs.Conversion Cloud SDK for Node.js has been developed to help you get started with our document conversion REST API, which lets you seamlessly convert your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, HTML, CAD, raster images and many more.

How to convert a file on Node.js

  • import or require GroupDocs.Conversion Cloud SDK for Node.js groupdocs-conversion-cloud.
  • From the SDK use function ConvertApi.fromKeys with AppSID and AppKey.
  • Create an instance of ConvertSettings.
  • Set input file using ConvertSettings.filePath property.
  • Set desired output format using ConvertSettings.format property.
  • Set output directory using ConvertSettings.outputPath property.
  • Call the async function convertDocument using instances of ConvertDocumentRequest and ConvertSettings as arguments.

Frequently Asked Questions

I want to create my own Node.js app to convert documents?

Check out GroupDocs.Conversion Cloud SDK for Node.js at GitHub if you are looking for the source code to convert file in the Cloud.

Can I try GroupDocs.Conversion REST APIs on Node.js for free?

You can try GroupDocs.Conversion Low-Code Node.js APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Conversion Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Conversion High-code APIs which currently drive our REST APIs.

Advanced Document Conversion API Features

Convert across all common formats

Convert page by page or custom range of pages

Watermark pages

Get high quality output files

Password protect output document

APIs are secured and require authentication

Convert a Multitude of Document Formats

GroupDocs.Conversion REST API has the capability to perform conversion on a number of document formats. All the file formats supported by the API can be obtained using the code mentioned below:

Get a list of supported document formats - Node.js

// Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).

// Load module and set credentials
var GroupDocs = require('groupdocs-conversion-cloud');
var appSid = "XXXXXXXX";
var appKey = "XXXXXXXX";

// Retrieve all the supported file formats
// construct ConversionApi
var conversionApi = GroupDocs.ConversionApi.fromKeys(appSid, appKey);
var request = new GroupDocs.GetSupportedConversionTypesRequest();
conversionApi.getSupportedConversionTypes(request)
    .then(function (response) {
        console.log("== Supported File Formats ==");
        response.forEach(function (format) {
            console.log(format.sourceFormat + " - to - " + format.targetFormats + "\n");
        });
    })
    .catch(function (error) {
        console.log("Error: " + error.message);
    });

Get Started in No Time

GroupDocs.Conversion Cloud API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the REST API calls and lets you use GroupDocs.Conversion Cloud API features in a native way for your preferred language.

Security and Authentication

The GroupDocs.Conversion Cloud API is secured and requires authentication. Users need to register at GroupDocs Cloud and get their app access key ID (appSID) and app secret access key. Authenticated requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.

Easy Customization

GroupDocs.Conversion Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.

Convert Documents using GroupDocs.Conversion

PDF to WMF PS to EPUB STL to MD MPP to MPX DWFX to RTF EPS to DICOM SVG to PDF 7Z to PSD PST to PPSM MOBI to PPS PPSX to MHTML TIFF to EMF TSV to ODT PNG to JPEG DICOM to TXT DICOM to PDF CSV to PNG HTML to JPEG PDF to TGA DOCX to HTM DWG to PPSM CHM to TXT XML to XLTM BMP to WEBP DJVU to DICOM DWG to MHTML EPS to Word CGM to HTML VCF to JPG GIF to ICO XML to ODP DWF to JPG EMF to PPT GZ to XLS JPG to SVG MPP to PDF TXT to JPG PS to HTML DWF to TIFF PSD to PPTX JPEG to DICOM CDR to EMF HTML to JP2 SXC to MHTML ZIP to XLT VSSX to VDX EMZ to PPSX GZIP to MHTML RAR to WMF EMF to Excel XML to JPG SVG to PSB CHM to TIF JPG to HTML PPS to PPSX ODG to JP2 DWG to PDF BMP to RTF TIFF to SVG SVG to WMF PDF to TEX MHTML to TGA JPF to ODP CGM to ICO PLT to DICOM MHT to JPEG ODP to XPS JPX to PDF DICOM to XLTX EPS to FODP IFC to SVGZ CMX to SVG ODP to DICOM TXT to ODP PLT to Word DWG to DOC 7Z to JP2 OTG to OTP OTS to POTX JPG to TSV IGS to DXF STL to EMZ RAR to XLS MOBI to Word BMP to WMF CSV to MHTML SVGZ to EPUB RAR to JPG XER to Project DICOM to ODP RAR to TEX VSSM to HTM ODS to RTF TAR to JPG EMLX to DCM PDF to PNG JP2 to GIF TIFF to PNG ZIP to ODS PS to Excel MHTML to PSB TIFF to JPG PDF to ODP XLSX to XLS ICO to DCM JPC to PSD TXT to EMF LOG to MD TIF to XLS PDF to TIF SXC to XLT IFC to MHTML Excel to TEX J2C to XLSX Excel to PSD VSTM to ICO 7Z to ODS OXPS to Excel MSG to DOCM JSON to PNG ODT to PDF BZ2 to ODP 7Z to SVG PLT to PowerPoint NUMBERS to DICOM DICOM to BMP CF2 to DICOM MSG to DICOM WEBP to WMF EPUB to PNG JPG to XLS IFC to WMF JPEG to PPTX ODT to PNG WMF to MD RAR to DOC MD to EMF WMF to ICO PSD to PSB PNG to ODT EML to DOCX WEBP to PDF JPG to DCM PCL to MHTML DWG to FBX PST to XLT PNG to ODS JPC to ODP DNG to ODT RTF to HTML

Support and Learning Resources

GroupDocs.Conversion Cloud also offers individual document rendering SDKs for other popular languages as listed below:

  English
9a86c5d56