Template-based PDF generation

Generate PDFs from Word templates in Java applications

Create dynamic PDFs by filling Word templates with JSON data. Generate invoices, reports, and business documents, with full control over content and formatting. Support for PDF/UA accessibility standards. Perfect for automated document workflows.

Contact Sales

Where is your company headquartered?

By submitting this form, you agree to Nutrient’s Privacy Policy and Terms of Service.


Enterprise-grade PDF generation for Java

Template-based generation

Design PDF layouts in Microsoft Word and populate them with data programmatically. Non-technical users can modify templates without code changes.

JSON data binding

Fill templates with JSON data structures. Support for complex data types, nested objects, loops, and conditional rendering logic.

PDF/UA output

Generate accessible PDF/UA-compliant documents from templates. Meet accessibility requirements and regulatory standards automatically.

Document automation

Automate invoice generation, business reports, contracts, and data-driven documents, with high-volume batch processing and consistent formatting.

Template-driven PDF generation methods

Word templates

Create PDFs from DOCX templates with dynamic placeholder replacement.


  • Design templates in Microsoft Word with placeholders
  • Support for text fields, tables, and formatted content
  • Template versioning and layout control

JSON data binding

Populate templates with structured JSON data from any source.


  • Bind database records, API responses, or file data
  • Support for arrays, loops, and conditional logic
  • Type-safe data mapping and validation

PDF/UA generation

Create accessible documents that comply with PDF/UA standards.


  • Automatic PDF/UA tagging from template structure
  • Screen reader compatibility and navigation
  • Section 508 and WCAG compliance

Invoice generation

Automate invoice creation with branded templates and customer data.


  • Professional invoice layouts with line items
  • Dynamic tax calculations and totals
  • Multi-currency and localization support

Report automation

Generate business reports with charts, tables, and dynamic content.


  • Data-driven reports with embedded visualizations
  • Scheduled report generation and delivery
  • Multipage reports with consistent branding

Batch processing

Generate thousands of documents efficiently with parallel processing.


  • High-volume document generation at scale
  • Parallel processing for faster throughput
  • Memory-efficient streaming and caching

Standards compliance

Convert documents to PDFs that meet industry standards for accessibility, archival, and regulatory compliance. Support for PDF/A and PDF/UA ensures your converted documents work everywhere.

Archival formats
PDF/A-1a PDF/A-1b PDF/A-2a PDF/A-2b

Accessibility
PDF/UA Tagged PDFs Section 508 WCAG 2.0

Supported formats
DOCX DOC XLSX XLS PPTX PPT


ADVANCED CAPABILITIES

Beyond basic conversion

Batch convert multiple documents, merge converted files, extract specific pages, apply watermarks, and automate complex document transformation workflows.

Batch conversion

Process multiple documents in parallel with thread-safe APIs for high-volume conversion scenarios.


Selective conversion

Convert specific pages, worksheets, or slides instead of entire documents for optimized output.


Format detection

Automatic file format detection and conversion routing for handling unknown document types.


Server-side processing

Headless conversion for automated workflows, scheduled jobs, and microservice architectures.


Frequently asked questions

What Java versions and platforms are supported?

Nutrient Java SDK supports Java 8 and later, including Java 11, 17, and 21 LTS versions. You can deploy on any platform that runs the JVM, including Linux servers, Windows Server, macOS, Docker containers, Kubernetes clusters, AWS, Azure, Google Cloud, and on-premises infrastructure. The SDK works with Spring Framework, Spring Boot, Jakarta EE, and standalone Java applications.

Do I need Microsoft Office installed to convert Office documents?

No, absolutely not. The SDK includes built-in conversion engines that process Word, Excel, and PowerPoint files directly without requiring Microsoft Office installation. This eliminates Office licensing costs, simplifies server deployment, and enables conversion on any platform, including Linux and containerized environments where Office cannot be installed.

How accurate is the conversion from Office formats to PDF?

The SDK provides high-fidelity conversion that preserves fonts, formatting, layouts, tables, images, headers, footers, and page numbering. Complex elements like embedded objects, charts, and conditional formatting are maintained. For best results, use standard Office features and avoid proprietary extensions. Conversion accuracy is production-ready for most business documents, contracts, reports, and presentations.

Can I convert PDFs back to editable Office documents?

Yes. The SDK supports bidirectional conversion. You can extract PDF content to Word documents with intelligent text reflow, convert tabular data from PDFs to Excel spreadsheets, and transform PDF pages into PowerPoint slides. The quality of reverse conversion depends on the source PDF structure. Tagged PDFs with proper semantic structure convert better than scanned or image-based PDFs.

How do I handle large documents or batch conversion?

The SDK is designed for high-volume server-side processing. Use Java’s ExecutorService to process multiple documents in parallel threads, configure memory allocation based on document sizes, and implement streaming for very large files to avoid loading entire documents into memory. The SDK is thread-safe and supports concurrent conversion operations. For distributed processing, deploy across multiple servers or containers.

Can I create accessible PDFs that meet compliance requirements?

Yes. The SDK supports generating PDF/UA (Universal Accessibility)-compliant documents that meet Section 508 and WCAG 2.0 requirements. During conversion, you can enable tagging to create semantic document structure, define reading order for screen readers, add alternative text for images, and set document metadata like language and title. The SDK provides APIs to validate accessibility compliance after conversion.

What’s the performance like for conversion operations?

Conversion performance depends on document complexity, size, and conversion direction. Typical Office documents convert to PDF in seconds. For optimization, process documents asynchronously in background threads, cache conversion results when possible, convert only required pages or worksheets, and allocate sufficient JVM heap memory. The SDK includes no per-document licensing restrictions, so you can scale horizontally across multiple servers for high-volume scenarios.

How do I handle conversion errors?

The SDK uses standard Java exception handling patterns with detailed error messages. Every conversion method returns status indicators or throws specific exceptions for different failure scenarios like unsupported formats, corrupted files, or memory limits. Implement try-catch blocks around conversion operations, log errors with document context for debugging, validate input files before conversion, and use the SDK’s format detection to handle unknown file types gracefully.

What licensing model does the Java SDK use?

The SDK uses a per-server licensing model based on the number of servers or containers running the SDK, not per document or per user. A single license allows unlimited document conversions on that server. Licensing covers development, staging, and production environments, with volume discounts for multi-server deployments. Start with a free trial that includes full functionality to evaluate the SDK in your environment.

Can I use the SDK in Docker containers and cloud environments?

Yes. The SDK is designed for containerized and cloud-native deployments. It runs in Docker containers on any orchestrator (Kubernetes, Docker Swarm, ECS), supports Linux-based containers for cost-effective cloud deployment, works on AWS Lambda with appropriate memory configuration, and runs on Azure Functions and Google Cloud Functions. The SDK has no UI dependencies and operates headless, making it ideal for microservice architectures and serverless computing.