---
title: Merge Files to PDF API
slug: convert-and-merge-files-to-pdf
url: https://apyverse.com/apyhub/service/convert-and-merge-files-to-pdf
provider: ApyHub
categories: [File Conversion, File Manipulation]
auth: api_key
---

# Merge Files to PDF API

Merge uploaded files or public file URLs into a single PDF. Returns a binary PDF download or an S3 URL for documents, images, and office files.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/files/pdf/url/download` | What it does Converts the files referenced by the provided URLs into PDF and merges them into a sin… | 150 |
| POST | `/convert/files/pdf/url/url` | What it does Converts the files referenced by publicly accessible URLs into PDF and merges them int… | 150 |
| POST | `/convert/files/pdf/file/download` | What it does Converts one or more uploaded files to PDF and merges them into a single downloadable… | 150 |
| POST | `/convert/files/pdf/file/url` | What it does Converts uploaded files into a PDF and returns the resulting PDF as an S3 URL. The req… | 150 |

## About

## What it does
File to PDF Merge converts and combines multiple files into a single PDF. Send either public file URLs or uploaded files, and get back a merged PDF for direct download or a stored S3 URL depending on the endpoint you use.

Use the URL-based endpoints when your source files are already hosted online. They accept up to 10 `file_urls` in order, and support common document, spreadsheet, presentation, text, image, HTML, Markdown, and PDF formats. Use the upload-based endpoints when your files are coming from your own request body; you can send one or more `files` and receive either the PDF as a binary response or a JSON response containing a `url`.

This is a good fit for report assembly, document bundling, and turning mixed content into a single shareable PDF. Keep source files in the order you want them merged, and use the output format that matches your workflow: immediate download for local processing, or an S3 URL for handing off to another system.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/convert-and-merge-files-to-pdf
