PDF generator API

Convert HTML, CSS, or templates into professional PDFs instantly. SOC 2-compliant and built for fast, secure, and seamless integration.

Accurate, pixel-perfect rendering

Preserve layout, styles, fonts, and responsive design to ensure your HTML content looks exactly as intended in PDF format.

Automate with Zapier

Automatically convert HTML files in Google Drive to PDFs using our Zapier integration. It's the fastest way to turn web content into documents without writing code.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.


Try it out

This example will create a PDF from the supplied index.html file and render it on an A4-sized page. For detailed information on how to structure your HTML files, along with all the available customization options, see guides.


Try it out in three steps

  1. Add an HTML file named index.html to your project folder.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/processor/generate_pdf \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F html=@index.html

Start now

Create an account to access your API key and start with 200 free credits

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →

API comparison

BASIC

PDF Generation API

Straightforward API for common PDF generation tasks. Perfect for most use cases.


FEATURES

  • Simple request format
  • Minimal configuration required
  • Purpose-built for specific tasks
ADVANCED

Build API

Maximum flexibility and advanced features for complex workflows.


FEATURES

  • Multipart document support
  • Advanced actions and transformations
  • Workflow orchestration

Getting started

Go from a simple HTML file to a fully featured invoice, making use of all the functionality the PDF Generator API provides.


Download sample documents

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

Security is our top priority

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.