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

GZIP to PSB GZIP to DICOM OXPS to HTML NSF to XLSM JP2 to TXT MSG to PPT DICOM to DIF DNG to MHTML POTM to MD PCL to ODS ODT to PNG PSD to ODP CF2 to DICOM CGM to WMF XPS to DOC Project to WEBP RAR to DOT PSB to JPG Outlook to GIF Project to ODS SVG to WEBP CGM to ODT MHTML to ICO JPEG to WMF VDW to PPSX TAR to DICOM CGM to JPG ODP to ODT HTM to DOCM PPSX to MHTML OTG to TIFF XLTX to ODP MHTML to RTF HTML to JP2 SQL to HTML DICOM to TEX DWG to FBX PPS to DOT Excel to PSB JSON to WEBP TIFF to JP2 HTML to DOC ZIP to XLSX JSON to DOC CMX to Word RAR to XPS ODG to TIFF HTML to DOCX MPT to GIF PLT to ODP JSON to PSD MD to TEX AI to FODP TIFF to DICOM SXC to HTM SVGZ to EPUB GIF to PPS ZIP to FODS ODP to TXT TEX to EPUB BMP to HTML CMX to PPTX PNG to PPTX XML to ODS DICOM to XPS ODP to CSV MHTML to HTM JSON to DICOM PS to WMF BMP to GIF MSG to DICOM TIFF to JPEG AI to ODT DOC to PPT JP2 to TIF XML to DOCX MSG to WMF XLSM to TSV STL to WMF MPX to XPS EPUB to PDF DWFX to Excel EML to SVG SVG to PNG VSD to PDF JPC to POTM PSD to WMF WEBP to DCM EPS to ODP DOC to ODT IFC to PSB GIF to TSV OTP to ICO MHTML to EPUB Outlook to TGA GZ to XLS DWT to JPG STL to PSD ZIP to PDF PS to ODT JP2 to JPG RAR to SXC PDF to EPUB DOT to ODT DOC to DOT TIFF to TXT DWF to HTML ZIP to PPSX DNG to ODS TXT to CSV VCF to WMF CDR to DICOM MBOX to Word ODG to PNG ODT to PSD ODG to PSB OGG to M4A SVG to PPT PowerPoint to Excel PNG to JPEG DGN to DWF VCF to ODP EPUB to PNG PPSX to HTML JPC to TGA ZIP to JPG J2K to JPG ZIP to MD MD to SVG EPS to PPTX PNG to PSD PPTM to PDF NUMBERS to JPG ODS to PSD TIFF to TSV VCF to SVG HTML to WEBP PNG to CSV HTML to PNG DCM to PPS PPSM to EMF PLT to Excel JPF to GIF PPSX to DOC WEBP to ODP Project to DICOM WMF to PNG TAR to PowerPoint TAR to DOCX DWG to TIFF

Support and Learning Resources

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

  English
9a86c5d56