PDF Generator API

PDF Generation API from developers to developers

Stop wrestling with complex PDF libraries and tedious document generation. With PDF Generator API, create, manage, and deliver custom PDF documents with just a few lines of code. Focus on your application's core functionality, and let us handle the pixels securely and reliably.

PDF Generator API on Capterra
PDF Generator API on SoftwareAdvice
pdfgeneratorapi.com
PDF Generator API - Press Play to view introduction

The Engine for Your Document Workflows

Discover the building blocks for creating, managing, and delivering documents at any scale. Our service is more than just an HTML to PDF endpoint; it’s a complete document automation platform. We provide tools that cover the entire document lifecycle, from our flexible template editor and dynamic data-merging capabilities to multi-tenant workspaces and secure delivery options. Use these features to construct reliable, end-to-end document workflows that grow with your business.

Build pixel-perfect templates with our intuitive drag-and-drop editor for rapid development. For ultimate control and complex layouts, switch to the HTML/CSS editor to create templates using familiar web technologies. You can also import existing PDF documents to use as templates.

Lean more

Seamlessly merge JSON data with your templates to generate dynamic documents. Our engine supports nested data structures, loops for rendering lists or table rows, and conditional logic, allowing you to handle even the most complex data schemas with ease.

Lean more

Generate PDFs from various sources to fit your workflow. Convert a raw HTML string to a PDF, or provide a URL and let our service render the page into a high-fidelity PDF document. This is perfect for generating reports from web pages or archiving online content.

Lean more

Automate the process of filling out existing PDF forms. Programmatically populate text fields, checkboxes, and radio buttons with data from your sources. You can also flatten the form fields to make the document read-only after it is generated.

Learn more

Built for scale, our API handles everything from single document generation to large batch jobs. For time-intensive tasks, use our asynchronous endpoints to queue generation requests without blocking your application’s primary thread, ensuring a smooth user experience.

Learn more

Empowers your customers to create and manage their own templates directly within your application, reducing your team’s support load and offering a powerful layer of customisation. This is the ideal solution for SaaS platforms that require personalised document branding and layouts for each customer.

Learn more

Optionally store your generated documents in our secure, ISO 27001 certified cloud storage. Alternatively, configure your account to deliver documents directly to your own AWS S3 bucket, giving you complete ownership and control over your data.

Learn more

For organisations with stringent security, data residency, or compliance requirements, we offer a self-hosted version.  This solution is designed for enterprises in sectors such as finance, healthcare, and government that cannot utilise multi-tenant SaaS solutions.

Learn more

Choose Your Perfect Integration Path

Whether you're building a sophisticated application with custom code or automating workflows on a low-code platform, we provide a seamless integration path that fits your specific needs. We believe in meeting you where you work, so you can connect to the PDF Generator API in the way that makes the most sense for you and your project.

Explore All No-Code Integrations
java-logo
js-logo
ruby-logo
python-logo
php-logo
http
curl
java-logo
js-logo
ruby-logo
python-logo
php-logo
http
curl
logo-n8n-600×600
Make-Logo-RGB-350px-width
wix-logo
bubble-icon-logo
logo-n8n-600×600
Make-Logo-RGB-350px-width
wix-logo
bubble-icon-logo

Effortless Integration with Your Favorite Stack

Our goal is to make document generation as simple and powerful as possible, allowing you to create, manage, and deliver PDFs with just a few simple API calls. This guide will walk you through the essential steps to make your first successful request and start integrating our service into your application.

  • Generate Document
  • Fill PDF
  • Watermark
  • Create Form
curl --request POST \
--url https://us1.pdfgeneratorapi.com/api/v4/documents/generate \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"template":{"id":"REPLACE_TEMPLATE_ID","data":{"id":123,"name":"John Smith","birthdate":"2000-01-01","role":"Developer"}},"format":"pdf","output":"base64","name":"Invoice 123","testing":false}'
curl --request POST \
--url https://us1.pdfgeneratorapi.com/api/v4/pdfservices/form/fill \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"file_url":"string","data":{"firstName":"John","lastName":"Doe","email":"john.doe@example.com"},"output":"file","name":"string"}'
curl --request POST \
--url https://us1.pdfgeneratorapi.com/api/v4/pdfservices/watermark \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"file_url":"string","watermark":{"image":{"content_url":"string","position":"top-left","rotation":0,"scale":1},"text":{"content":"string","color":"#000000","size":48,"opacity":0.5,"position":"top-left","rotation":0}},"output":"file","name":"string"}'
curl --request POST \
--url https://us1.pdfgeneratorapi.com/api/v4/forms \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"template_id":123123,"name":"Certificate creator","actions":[{"store_document":true}],"fields":[{"label":"Full name","name":"name","type":"text","required":false}]}'
View Libraries and SDKs

Why did Bigbank decide to implement PDF Generator API?

“As a bank, we operate in a highly regulated environment with especially high attention to customer data protection. As an example, it was a requirement for us not to have the service process customer data outside of the European Economic Area, which the PDF Generator API was able to meet by setting up a dedicated deployment for us.”

Keit Adamson, Head of Architecture, Bigbank
How Bigbank automated their document generation ›

Bigbank-Keit-Adamson-PDF-Generator-API

Your Data, Protected and Secure

Built for Developers, Trusted by Enterprises

Our commitment to a developer-first experience extends to our robust security and compliance posture. We provide a secure and reliable platform, so you can integrate with confidence. We understand that you are trusting us with sensitive data. That's why we've built our platform on a foundation of security best practices.

  • ISO 27001 Certification: Our Information Security Management System (ISMS) is certified against this globally recognized gold standard.

  • HIPAA Compliance: We meet the stringent data privacy and security requirements of the Health Insurance Portability and Accountability Act.

  • GDPR Compliance: We are fully compliant with the EU's General Data Protection Regulation, safeguarding the data rights of users across Europe.

Why Katana decided to buy instead of build?

“On a strategic level, we have decided to utilise best-in-class solutions already available on the market and utilise our resources only to integrate them into our everyday operations. That way, we can focus on our strengths and core business, which is, after all, production. As a service provider, we can offer our clients the best possible solutions tailored to their needs. Whenever a client uses an integration we offer, they can be assured that it has undergone a rigorous validation process, and we are putting our seal of approval on it. No sub-par integration will pass through.”

Priit Kaasik, Chief Technology Officer, Katana
How Katana is Scaling Business with Best-in-Class PDF Generator

Priit-Kaasik-KatanaRMP-PDF-Generator-API

The Strategic Decision

Should You Build or Buy Your PDF Generation Solution?

For many development teams, the initial impulse is to build. It seems straightforward enough: install a library, write some code, and generate a PDF. However, creating a truly robust, scalable, and secure document generation service is a project in itself, fraught with hidden complexities and long-term costs that can divert significant resources from your core business objectives. Before your team commits to building a solution from the ground up, it's crucial to look beyond the initial lines of code and consider the total cost of ownership (TCO) and the strategic implications of that choice.

  • Infrastructure & Scalability: The Performance Bottleneck

  • Ongoing Maintenance: The Never-Ending Task

  • Security & Compliance: The Non-Negotiable Requirement

Let's set you up

Create your Sandbox Account

You can use the free Sandbox Account for 30 days to evaluate and integrate the API. The Sandbox Account allows you to make 2500 merges per month.

Create Free Account

We are here to help you automate your Document Generation

Meet Michal Líška. He is our pre-sales engineer and knows our service inside out. He can answer any questions that you might have about implementing PDF Generator API or document automation in general.
Michal Liska