HTML file generating multiple PDFs

PDF Generation SDK Effortless HTML and DOCX-to-PDF Generation

Generate custom PDFs by using HTML and CSS, or use DOCX templates with designated placeholders for populating data in Word documents, guaranteeing accurate and seamless outcomes.

How It Works

HTML to PDF

With PDF Generation, add a seamless way of generating PDF documents within your web or server apps, including generating PDF forms from HTML form layouts!

HTML, JSON, and PDF files
Create an HTML Page

Use standard HTML and CSS to create a page layout.

Describe the Page

In your app, use the JSON format to describe things like page size and page margins.

View the PDF

Send data and editing commands via JSON and view the resulting PDF in PSPDFKit for Web.

How It Works

Populate Word Templates Effortlessly

Generate Word or PDF files by automatically populating DOCX templates with data. Just upload a DOCX file containing placeholders and loops. Then input your data in JSON format, and you’ll receive a completed document.

Step 1

Create a DOCX version of a document you want to use as a template.

Step 2

Customize the document with loops and placeholders at places that you want to be populated with your custom data.

Step 3

Provide access to a JSON file you want and execute an API call to programmatically populate the data and receive a generated Word or PDF file back.

Use Cases

Made to Fit Your Needs

Achieve a high degree of customization by using HTML to create page structures and CSS to add styling information, or by using custom DOCX documents as templates.

Invoices

Create invoices by placing your logo, customer addresses, and items on the page. Use custom fonts to match your corporate design and custom page sizes for printing.

Guides

Reports and Inventories

Use HTML tables and even SVG-based graphs to create on-demand reports, inventory lists, or even data-intensive layouts.

Guides

Booklets

Automate the creation of booklets and bespoke printed products by defining custom typographic styles, adding images and graphs, and using custom page formats.

Guides

PDF Forms

Easily create PDF forms by designing the page in HTML, sending it off to Processor, and — voilà — here’s your PDF form!

Guides
Features

Generate Dynamic Documents

HTML and DOCX-Based

Create layouts with modern HTML and CSS, or design with DOCX templates. Your chosen layout will be reflected in the generated PDF or Word files.

Automated Population

Define forms in HTML or customize DOCX templates with loops and placeholders. Pair them with JSON data to produce populated PDF or Word documents effortlessly.

Modern UI

View generated documents directly in the browser — no more sifting through system folders or dealing with different file types. Access your Word and PDF files instantly!

New Feature

Header and Footer Templates

Insert dynamic headers and footers into your generated PDFs using our template API. Modify the template to show page numbers, the total number of pages, or images in the header or footer of your PDF.

More Sample Documents

Try generating PDFs with different HTML templates. Download our various sample documents and customize them to your needs.

Frequently Asked Questions

Haven’t found what you’re looking for? Try browsing our documentation, or contact us.

Documentation Learn how to easily get PDF Generation up and running in your project.
View Documentation

Related

Ready to Get Started?

Free Trial