Fast Document Conversion API

Convert HTML to PDF & Imageswith a Simple API

PDFfactory is a developer-first API for generating pixel-perfect PDFs and screenshots from HTML. Full control over page layout, watermarks, headers, footers, CSS injection, and more.

No credit card required · 50 free credits/month

10M+
Conversions
<2s
Avg Response
99.9%
Uptime
4
Formats

Everything you need for document conversion

From simple PDFs to complex reports with watermarks, headers, and encryption. PDFfactory handles it all.

PDF Generation
Convert HTML to pixel-perfect PDFs with full control over page size, margins, headers, footers, and watermarks.
Image Conversion
Capture screenshots as PNG, JPEG, or WEBP with transparency, clipping, DPI scaling, and full-page support.
Fast & Scalable
High-performance conversion engine with auto-recycling ensures fast conversions under load.
HIPAA & GDPR Ready
Compliance modes that disable storage and webhooks for sensitive documents. Your data stays private.
CSS & JS Injection
Inject custom CSS or JavaScript before conversion. Perfect for styling overrides and dynamic content.
Secure Cloud Storage
Automatic upload to secure cloud storage with temporary URLs, or push directly to your own S3-compatible bucket with s3_destination.
Webhook Delivery
Async conversions with reliable webhook delivery, retries, exponential backoff, and custom headers.
Templates System
Store HTML templates and generate documents on demand with parameter overrides via simple API calls.
PDF Protection
128-bit encryption with user/owner passwords, plus print, copy, and modify permission controls.

Get started in minutes

Simple REST API with official SDKs for Node.js, Python, PHP, Ruby, Go, Java, and C#.

Node.js
import { PDFFactory } from '@pdffactory/node';

const client = new PDFFactory('sk_your_api_key');

const pdf = await client.convert({
  source: 'https://example.com',
  format: 'A4',
  landscape: false,
  margin: '10px',
});

fs.writeFileSync('output.pdf', pdf);

Simple, transparent pricing

Start free, upgrade when you need more. No hidden fees.

Free
Perfect for trying things out
$0/month
  • 50 credits/month
  • Watermark on PDFs
  • 2 MB file size limit
  • 30 second timeout
  • 10 conversions/day
  • Community support
Get Started
Startup
For small projects and side hustles
$9/month
  • 5,000 credits/month
  • No watermark
  • 5 MB file size limit
  • 60 second timeout
  • Overage billing at $0.02/credit
  • Email support
Get Started
Most Popular
Boost
For growing businesses
$24/month
  • 15,000 credits/month
  • No watermark
  • 7.5 MB file size limit
  • 80 second timeout
  • Overage billing at $0.02/credit
  • Priority email support
Get Started
Growth
For scaling applications
$39/month
  • 30,000 credits/month
  • No watermark
  • 10 MB file size limit
  • 90 second timeout
  • Overage billing at $0.02/credit
  • Priority support
Get Started
Business
For high-volume production
$99/month
  • 50,000 credits/month
  • No watermark
  • Unlimited file size
  • 100 second timeout
  • Overage billing at $0.02/credit
  • Dedicated support
Get Started

Frequently asked questions

Everything you need to know about PDFfactory.

One credit covers up to 5 MB of generated output. A 2 MB PDF costs 1 credit, a 9 MB PDF costs 2 credits, and a 14 MB PDF costs 3 credits. Image conversions (PNG, JPEG, WEBP) use the same size-based rule.

Ready to start converting?

Sign up for free and get 50 credits per month. No credit card required.