PDF GENERATION

Generate PDFs in your app using any template and data source

Generate PDF documents by merging DOCX, PDF, HTML, or image templates with custom data. Run it client-side for user-triggered generation or automate it programmatically — no manual input required.

What do you want to do with documents?

Turn HTML into rich PDFs

Generate production-ready PDFs from your app’s existing HTML/CSS layouts.

Template-based DOCX generation

Merge structured data into DOCX templates and export to Word or PDF.

Automate document workflows

Trigger generation from forms, HTTP requests, or JSON data — no manual formatting.

Deploy your way

Run generation entirely in-browser, server-side, or via cloud APIs — whatever fits your app.

How we help


DOCUMENT GENERATION

Generate dynamic documents with code or templates

Create PDFs or Word files from structured data and templates using HTML or DOCX. Built for integration into your app’s frontend or backend workflows.

Signing demo interface
Code your way to PDFs

Render high-quality, paginated PDFs from HTML and CSS.

Smart templates with dynamic data

Merge structured data into DOCX templates using placeholders and loops.

Conditional logic

Add repeating sections and conditional content directly in your templates.

API-driven control

Programmatically create and manage documents without manual formatting.


FLEXIBLE DEPLOYMENT

Run generation where it fits your architecture

Deploy in-browser for privacy and speed, or on the server for scale and control — no special infrastructure required.

Client-side generation

Generate PDFs directly in the browser from DOCX or existing PDF templates — no server calls, so everything stays on-device for privacy-first and offline flows.

Server-side generation

Use our server-side Document Engine to generate pixel-perfect PDFs from HTML, DOCX, images, or JSON — then scale batch exports, scheduled reports, or personalized communication with consistent branding.

CLOUD-NATIVE GENERATION

Scale instantly with fully managed APIs

Use Document Web Services (DWS) to generate PDFs at scale without managing any infrastructure.

DWS Processor API

Turn HTML templates into high-fidelity PDFs in one call — send HTML and assets, and get a PDF instantly.

Secure and scalable

Files travel over HTTPS and are deleted after processing, and the cloud engine auto-scales for bursty, high-volume workloads.

Integrates with your stack

Call the HTTP endpoint from any frontend, backend, or no-code platform like Zapier — send multipart form data and get a PDF back.

Supported on your platform




Frequently asked questions

How does HTML-to-PDF conversion handle complex layouts and modern CSS?

Nutrient’s rendering engine supports modern HTML and CSS standards — including flexbox, grid, media queries, and custom fonts. It accurately renders multicolumn layouts, nested elements, and responsive designs, producing paginated PDFs that match your intended output.

What customization options are available for DOCX templates?

DOCX templates support dynamic placeholders, repeaters, conditional logic, and layout styling. You can define custom headers, footers, tables, and section styles and then populate them with JSON or form inputs for automated document generation.

Can I generate PDFs in-browser, or is a server required?

Both. You can generate PDFs entirely in the browser for fast setup and privacy-first workflows. For high-volume or complex needs, Nutrient also supports server-side and cloud-based generation with full parity across deployment models.

Who uses high-volume PDF generation?

Finance, healthcare, logistics, government, insurance — any sector that handles contracts, statements, or operational documents at scale. Nutrient is built for teams managing batch processing, daily exports, and automated communications.

How does Nutrient’s SDK fit into existing infrastructure?

The SDK is lightweight and framework-agnostic. It ships as platform-native binaries (like AAR or Swift PM) or JavaScript packages, so you can integrate without special servers, middleware, or rearchitecting your stack.

Is this secure enough for sensitive document generation?

Yes. Documents are processed securely in your environment — whether in-browser, server-side, or in the cloud. Nutrient gives you full control over data handling and complies with industry best practices for encryption and access control.


Insights from our team

EXPLORE BLOG

PROVEN AT SCALE

Trusted by the brands that move the world


Replaced paper and email with Nutrient Workflow to automate multilevel approvals across six Latin American offices, processing 236 asset requests.


Renders multipage PDFs and signature tags with Nutrient, keeping 200 million users in 188 countries moving at the speed of eSignature.


Empowers 34,000 pilots to view, annotate, and sign 90‑page flight releases on iPad using Nutrient iOS SDK, saving minutes — and money — on every flight.


FOR DEVELOPERS

Power your app with our SDK in minutes


Document generation tool

What is a document generation tool?

A document generation tool automates the creation of PDF, Word, and HTML documents from templates or dynamic data sources. Nutrient’s document generation SDK empowers developers to create and manage templates effortlessly, generate documents from HTML/CSS or DOCX templates, and automate form generation via HTTP requests or JSON imports.

  • Converts HTML and CSS into professional PDF documents.
  • Populates DOCX templates with dynamic data in JSON format.
  • Automates the creation of invoices, reports, and custom forms.
  • Supports batch processing and scalable document generation.
  • Integrates seamlessly into web, mobile, and server environments.
How to choose the right document generation tool?

When choosing a document generation tool, it’s essential to assess flexibility, template support, and ease of integration. Consider the following factors:

  • Template flexibility — Ensure support for both HTML-based and DOCX-based templates.
  • Data import options — Look for tools that handle JSON, XFDF, and other formats.
  • Batch processing capabilities — Evaluate how well the tool processes high volumes.
  • API flexibility — Choose an SDK that integrates easily with your application.
  • Customization support — Ensure the ability to create dynamic layouts and custom styles.
What are the best solutions to solve my document generation problem?

To automate document creation efficiently, consider solutions that balance ease of use with powerful customization options. Nutrient’s SDK stands out by offering dynamic template management and seamless document automation. It supports DOCX-, HTML-, and CSS-based templates, with robust API integration.

What are the benefits of using Nutrient’s document generation tool?

Nutrient (formerly PSPDFKit) enhances productivity by automating document creation while maintaining high levels of customization and scalability.

  • Dynamic PDF and Word creation — Generate high-quality documents by merging data from multiple sources.
  • Flexible template options — Customize documents with DOCX or HTML templates.
  • Automated form generation — Import data and populate prebuilt forms programmatically.
  • API-based scalability — Handle batch document processing efficiently.
  • Compliance and security — Ensure compliance with industry regulations while maintaining document integrity.
How does Nutrient’s SDK compare to other document generation solutions?

Nutrient’s SDK leads the market with its dynamic template support, robust APIs, and superior document processing capabilities, making it ideal for developers building scalable document automation systems.

  • Greater template flexibility — Supports a variety of template formats (HTML, DOCX).
  • Faster batch processing — Handles high-volume document generation with ease.
  • Superior customization control — Offers more flexibility in layout, design, and form creation.
  • Cross-platform compatibility — Works across web, mobile, and server platforms.
  • Developer-focused APIs — Streamlines integration with clear documentation and support.