PDF Generator API is a very powerful tool that can generate PDF files from HTML, CSS templates, PDF templates, links, and raw HTML code. You can also use spreadsheets, Docx, EML, MSG, XLS, CSV, TXT, RTF, PNG, and JPG files as input.
The PDF Generator API encompasses several PDF.co API endpoints for specific modules listed below.
All files are processed securely. To learn more, please check out this page https://pdf.co/security
If you are not a developer, you can also easily automate your PDF operations via popular business automation platforms: Zapier, Make, Airtable, Salesforce, Google Apps Script, and 300+ more.
PDF Generator API Supports Multiple Languages
PDF Generator API Benefits
Large File Support
The API supports documents with over 100MB file size. We recommend using the Asynchronous Mode when working with large files to avoid timeouts.
Customizable PDF Documents
With PDF.co API you can set output PDF document customizations such as margins, default and custom paper sizes, page orientation, custom headers and footers, and more. These customizations apply to the generated PDF.
Input File Formats For Input Templates
You can generate PDF from scratch or use input documents as a template:
- PNG, JPG, TIFF images;
- PDF templates and fillable PDF forms;
- Input webpage link.
You can use the API as a PDF report generator for automated PDF creation.
On-Premise API Server
PDF.co runs in the cloud but also provides the on-premise version called API Server. The On-prem version is designed for enterprises that require full control and hosting of the PDF.co REST API on their own servers. Please reach out to our support team to get access to a trial version.
PDF Generator API Input Sources
HTML or URL to PDF
The PDF Generator API can generate PDF files from raw HTML codes and website URLs. The generated PDFs are customizable. They can have custom margins, paper size, orientation, header, and footer.
HTML template to PDF
Images to PDF
The PDF Generator API can generate PDFs for images in JPG, PNG, and TIFF format. The API supports multiple images as sources in one request or call. Each image will be generated on individual PDF pages.
Documents to PDF
Replacing existing documents with PDFs is necessary for portability, archival, and safekeeping. The PDF Generator API can generate PDFs from any type of document. The supported document formats are DOC, DOCX, RTF, TXT, and XPS.
Excel to PDF
The PDF Generator API can generate PDF from XLS, XLSX, or CSV spreadsheet format. The API generates PDF by worksheet. It supports the worksheet selector feature for spreadsheets with multiple worksheets.
Email to PDF
The PDF Generator API can generate PDFs from emails. This can range from the body of the email including the sender and recipient information to the email attachments. The email and its attachments will be generated into a single PDF document with multiple pages.
Merge to PDF
The PDF Generator API is a very powerful tool. It can generate PDF documents for files with the same file formats and a mixture of files with different formats. All of the mentioned input sources above can all be combined into a single PDF using this API. Another supported format is a Zip file. Everything inside the Zip can be generated into 1 PDF document.
Form to PDF
Form to PDF Generator API is an important solution to transform your application into a PDF form filler or automate pre-filling PDF forms. It supports field name mapping for interactive PDF forms and text or image coordinates for regular PDFs. The PDF form fields can be flattened or they can remain editable for further processing.