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 Support Release Notes 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 GroupDocs.Merger-Cloud

Version NuGet NuGet-GroupDocsCloud


Merge Documents & Pages .NET Cloud REST API

GroupDocs.Merger Cloud API empowers developers to integrate advanced document merging and page manipulation functionalities into their C#, ASP.NET, and other .NET applications. Supporting over 40 file formats, this REST API allows seamless merging, splitting, and reorganization of document pages, including PDFs, Word documents, Excel spreadsheets, and more. Security features include password protection for documents, while additional file and folder operations streamline cloud storage management. Whether working with cross-format documents or performing complex page manipulations, GroupDocs.Merger delivers robust tools for secure and efficient document handling across web, desktop, and mobile platforms.

Merge Documents

Merge two or more documents

Combine multiple documents into a single file.

Merge specific pages

Merge only specific pages from different documents into one.

Join page ranges

Combine selected page ranges from multiple documents into a single document.

Splitting and Page Manipulation

Split documents

Split a source document into multiple separate files.

Move pages

Move document pages within a file.

Rotate pages

Rotate document pages to adjust their orientation.

Remove pages

Remove unwanted pages from a document.

Swap pages

Swap the position of pages within a document.

Extract pages

Extract specific pages from a document into a new file.

Security and Document Protection

Set document password

Secure documents by setting a password.

Remove document password

Remove existing passwords from protected documents.

File Operations

Upload Files to Cloud

Upload files to cloud storage via the API.

Download Files from Cloud

Download files from cloud storage to local systems.

Copy Files

Copy files within the cloud storage to different locations.

Move Files

Move files between different folders or locations within the cloud storage.

Delete Files

Delete specific files from cloud storage.

Folder Operations

Create Folder

Create new folders in the cloud storage.

Copy Folder

Duplicate folders within the cloud storage.

Move Folder

Move folders between different directories in cloud storage.

Delete Folder

Remove entire folders from cloud storage.

Supported Document Formats

FormatDescriptionJoinSplitTrimMove PageRemove PagesSwap PagesChange Page OrientationRotate PagesCross-format merge to PDF/XPSCross-format merge to DOC/DOCX
DOCMicrosoft Word Document✔️✔️✔️✔️✔️✔️✔️✔️
DOCXMicrosoft Word Open XML Document✔️✔️✔️✔️✔️✔️✔️✔️
DOCMWord Open XML Macro-Enabled Document✔️✔️✔️✔️✔️✔️✔️✔️
DOTWord Document Template✔️✔️✔️✔️✔️✔️✔️✔️
DOTXWord Open XML Document Template✔️✔️✔️✔️✔️✔️✔️✔️
DOTMWord Open XML Macro-Enabled Document Template✔️✔️✔️✔️✔️✔️✔️✔️
RTFRich Text Format File✔️✔️✔️✔️✔️✔️✔️✔️
ODTOpenDocument Text Document✔️✔️✔️✔️✔️✔️✔️✔️
OTTOpenDocument Document Template✔️✔️✔️✔️✔️✔️✔️✔️
HTMLHypertext Markup Language File✔️✔️✔️✔️✔️✔️✔️✔️
MHTMHTML Web Archive✔️✔️✔️✔️✔️✔️✔️
MHTMLMIME HTML✔️✔️✔️✔️✔️✔️✔️
PDFPortable Document Format File✔️✔️✔️✔️✔️✔️✔️✔️✔️
XPSXML Paper Specification File✔️✔️✔️✔️✔️✔️✔️✔️✔️
TEXLaTeX Source Document✔️✔️✔️✔️✔️✔️✔️✔️✔️
EPUBOpen eBook File✔️✔️✔️✔️✔️✔️✔️✔️✔️
PPTMicrosoft PowerPoint 97-2003 Presentation✔️✔️✔️✔️✔️✔️✔️✔️
PPTXMicrosoft PowerPoint Presentation✔️✔️✔️✔️✔️✔️✔️✔️
PPSMicrosoft PowerPoint 97-2003 Slide Show✔️✔️✔️✔️✔️✔️✔️✔️
PPSXMicrosoft PowerPoint Slide Show✔️✔️✔️✔️✔️✔️✔️✔️
ODPOpenDocument Presentation✔️✔️✔️✔️✔️✔️✔️✔️
OTPOpenDocument Presentation Template✔️✔️✔️✔️✔️✔️✔️✔️
XLSMicrosoft Excel 97-2003 Worksheet✔️✔️✔️✔️✔️✔️✔️✔️
XLSXMicrosoft Excel Worksheet✔️✔️✔️✔️✔️✔️✔️✔️
XLSBMicrosoft Excel Binary Worksheet✔️✔️✔️✔️✔️✔️✔️✔️
XLSMMicrosoft Excel Macro-Enabled Worksheet✔️✔️✔️✔️✔️✔️✔️✔️
XLTMicrosoft Excel Template File✔️✔️✔️✔️✔️✔️✔️✔️
XLTXExcel Open XML Spreadsheet Template✔️✔️✔️✔️✔️✔️✔️✔️
XLTMExcel Open XML Macro-Enabled Spreadsheet Template✔️✔️✔️✔️✔️✔️✔️✔️
ODSOpenDocument Spreadsheet✔️✔️✔️✔️✔️✔️✔️✔️
VSDXMicrosoft Visio Drawing✔️✔️✔️✔️✔️✔️✔️
VSDMMicrosoft Visio Macro-Enabled Drawing✔️✔️✔️✔️✔️✔️✔️
VSSXMicrosoft Visio Stencil✔️✔️✔️✔️✔️✔️✔️
VSSMMicrosoft Visio Macro-Enabled Stencil✔️✔️✔️✔️✔️✔️✔️
VSTXMicrosoft Visio Template✔️✔️✔️✔️✔️✔️✔️
VSTMMicrosoft Visio Macro-Enabled Template✔️✔️✔️✔️✔️✔️✔️
VDXMicrosoft Visio 2003-2010 XML Drawing✔️✔️✔️✔️✔️✔️✔️
VSXMicrosoft Visio 2003-2010 XML Stencil✔️✔️✔️✔️✔️✔️✔️
VTXMicrosoft Visio 2003-2010 XML Template✔️✔️✔️✔️✔️✔️✔️
ONEMicrosoft OneNote✔️✔️✔️✔️✔️✔️✔️
TXTPlain Text File✔️✔️
ERRError Log File✔️✔️
CSVComma Separated Values File✔️✔️
TSVTab Separated Values File✔️✔️

Quick Start

1. Create an Account

Sign up for a free account at GroupDocs Cloud Dashboard.

2. Get API Credentials

Create or use an existing API client app to get your Client ID and Client Secret from the Dashboard.

3. Install the SDK

Install the SDK for your platform to streamline development. Run the following command in Visual Studio:

  • To install the SDK:
    Install-Package GroupDocs.Merger-Cloud
  • To upgrade the SDK:
    Update-Package GroupDocs.Merger-Cloud

4. Make an API Request

Use your Client ID and Client Secret to interact with GroupDocs.Merger Cloud. Below is an example demonstrating how to get a list of supported file formats:

var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new InfoApi(configuration);
var response = apiInstance.GetSupportedFileFormats();

Merge Multiple Word Documents into One Using Cloud API

Learn how to merge multiple Word documents (DOCX, DOC) into a single document using GroupDocs.Merger Cloud API in C#. This example demonstrates merging different Word files seamlessly with a few lines of code.

// Initialize GroupDocs.Merger Cloud API
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;

namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
    // Merge Multiple Word Documents
    class Merge_Word_Documents
    {
        public static void Run()
        {
            // Create configuration with your Client ID and Client Secret
            var configuration = new Configuration("YourClientID", "YourClientSecret");

            // Initialize the Merger API instance
            var apiInstance = new MergerApi(configuration);

            // Create a new merge request for two DOCX files
            var request = new JoinRequest(new JoinOptions()
            {
                FileInfo = new FileInfo() { FilePath = "Word/document1.docx" }, // First file
                JoinItems = new List<JoinItem>() {
                    new JoinItem() { FileInfo = new FileInfo() { FilePath = "Word/document2.docx" } }, // Second file
                },
                OutputPath = "MergedOutput/output.docx" // Output path
            });

            // Call the API to merge the documents
            apiInstance.Join(request);
            Console.WriteLine("Documents merged successfully.");
        }
    }
}

Merge Specific Pages from PDF Documents

This example demonstrates how to merge specific pages from multiple PDF documents into a single PDF file using GroupDocs.Merger Cloud API in C#. Customize the pages to be merged for more flexible document processing.

// Initialize GroupDocs.Merger Cloud API for PDF merging
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;

namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
    // Merge Specific Pages from PDF Documents
    class Merge_PDF_Pages
    {
        public static void Run()
        {
            // Create configuration with your Client ID and Client Secret
            var configuration = new Configuration("YourClientID", "YourClientSecret");

            // Initialize the Merger API instance
            var apiInstance = new MergerApi(configuration);

            // Create a new merge request for specific pages from two PDF files
            var request = new JoinRequest(new JoinOptions()
            {
                FileInfo = new FileInfo() { FilePath = "PDF/document1.pdf" }, // First file
                JoinItems = new List<JoinItem>() {
                    new JoinItem() { FileInfo = new FileInfo() { FilePath = "PDF/document2.pdf" }, Pages = new List<int> { 1, 3, 5 } }, // Select specific pages
                },
                OutputPath = "MergedOutput/merged.pdf" // Output path
            });

            // Call the API to merge the selected pages
            apiInstance.Join(request);
            Console.WriteLine("Specific pages merged successfully.");
        }
    }
}

Merge Documents Across Formats (DOCX, PDF) into PDF

Learn how to merge documents of different formats (e.g., Word DOCX and PDF) into a single PDF document using GroupDocs.Merger Cloud API in C#. This process supports cross-format document merging.

// Initialize GroupDocs.Merger Cloud API for merging across formats
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;

namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
    // Merge Different Formats (DOCX, PDF) into PDF
    class Merge_Cross_Format_Documents
    {
        public static void Run()
        {
            // Create configuration with your Client ID and Client Secret
            var configuration = new Configuration("YourClientID", "YourClientSecret");

            // Initialize the Merger API instance
            var apiInstance = new MergerApi(configuration);

            // Create a new merge request for a DOCX and PDF file
            var request = new JoinRequest(new JoinOptions()
            {
                FileInfo = new FileInfo() { FilePath = "Word/document1.docx" }, // First file
                JoinItems = new List<JoinItem>() {
                    new JoinItem() { FileInfo = new FileInfo() { FilePath = "PDF/document2.pdf" } }, // Second file
                },
                OutputPath = "MergedOutput/merged_output.pdf" // Output path
            });

            // Call the API to merge the documents into a PDF
            apiInstance.Join(request);
            Console.WriteLine("Documents merged into PDF successfully.");
        }
    }
}

Product Docs Swagger Examples Blog Support Dashboard


Tags

Document Merging API | .NET Cloud API | GroupDocs.Merger Cloud | REST API | Page Manipulation | Document Security | Password Protection | Cloud Storage Integration | File Operations | Folder Operations | Document Splitting | PDF Merging | Cross-format Merging | Word Document Merging | Excel File Merging | Presentation Merging | Document Reorganization | API Explorer | Comprehensive Documentation | Multi-Platform Support | Secure API Access | GitHub Repository | Data Encryption | Client ID and Secret | Scalable Infrastructure | Fast Processing | Document Joining | Content Management | Customizable Document Processing | Document Manipulation API | Real-time API Integration | Merge Multiple Formats | Portable Document Format | OpenDocument Formats | Cross-platform API


 English