Public APIs
Convert Images to PDF API favicon

Convert Images to PDF API

Photography

Convert any image to a PDF without losing quality with one API call.

Convert Images to PDF API's website screenshot

About Convert Images to PDF API

Image to PDF is a hosted API from ApyHub that converts image files, base64-encoded image data, or remote image URLs into PDF output. It exposes six POST endpoints covering three input methods (file upload, base64 string, remote URL) and two output modes (binary PDF download or a JSON response containing a signed link to the generated PDF). File- and URL-based conversions support an optional landscape parameter to control page orientation.

The upload path accepts PNG, JPEG, GIF, SVG, TIFF, and BMP formats, with a 100MB limit per request across combined files. Larger inputs are directed to the URL-based endpoint instead.

The service is intended for applications that need to produce PDFs from images without building a rendering pipeline themselves, such as assembling image-based reports, archiving receipts, or packaging visual assets for sharing and storage. It suits apps that already store images in object storage or receive them via client upload and need to convert those images to PDF as part of a document workflow.

Key features

  • Convert uploaded image files, base64-encoded images, or remote image URLs into PDF
  • Returns either a downloadable PDF binary or a signed PDF link depending on endpoint
  • Supports PNG, JPEG, GIF, SVG, TIFF, and BMP image formats on the upload path
  • Optional landscape orientation setting for file- and URL-based conversions
  • Optional output filename parameter for downloaded PDFs

Frequently asked questions

What image formats does the API accept?

It accepts PNG, JPEG, JPG, GIF, SVG, TIFF, and BMP files on the upload path, plus base64-encoded images or remote image URLs.

What's the maximum file size for uploads?

Uploads are capped at 100MB total per request; for larger files, the URL-based endpoint is recommended instead.

Can I get the PDF as a link instead of a direct download?

Yes, separate link endpoints return a JSON object with a data field containing a signed URI to the generated PDF, instead of returning binary PDF data.

How do I authenticate requests?

Requests are authenticated using an apy-token header sent with each API call.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product