In this tutorial, we will show you how to save an Excel file as a PDF on one page using PDF.co Web API.

  1. Open PDF.co Account
  2. Request Tester Page
  3. Run Request Result
  4. Merge PDF Output

We will use this sample PDF and Excel file in this tutorial.

Sample PDF and Excel File
Sample PDF and Excel File

Step 1: Open PDF.co Account

  • Let’s start by logging into your PDF.co account and clicking on the Request Tester menu.

Open PDF.co Account

Step 2: Request Tester Page

Let’s set up the request tester configuration.

  • In the Choose PDF.co API endpoint field, search and select /pdf/merge2 (supports zip, doc, rtf, xls, png, jpg etc). This endpoint supports non-PDF as the source files.
  • For the Input parameters field, add your source files with a link or input with files.

Request Tester Configuration

After setting up the configuration, click on the Run Request button.

Step 3: Run Request Result

  • Great! The request runs successfully. Click on the resulting URL to view the output or directly download the output file.

Run Request Result

Step 4: Merge PDF Output

  • Here’s the Merge PDF output.
Merge PDF Output
Merge PDF Output

In this tutorial, you learned how to save an Excel file as a PDF on one page using PDF.co Web API. You also learned how to use the v1/pdf/merge2 endpoint to save an Excel file as one page in a PDF.

Related Pages:

Related Samples: