Comparison
An Anvil alternative for HTML-first PDF generation
Anvil is a document automation platform built around PDF form filling, e-signatures, and workflow orchestration. If you need to fill existing PDF templates with data and collect signatures, it is a strong fit. If you need to generate new PDFs from scratch using HTML and CSS, invoices, reports, certificates, or contracts with fully custom layouts, PDFPipe is the better tool.
How they compare
| PDFPipe | Anvil | |
|---|---|---|
| Primary use case | Generate PDFs from HTML and CSS | Fill PDF forms, collect e-signatures |
| Input method | Raw HTML string or any URL | Existing PDF template with form fields |
| E-signatures | Not included | First-class (Etch e-sign product) |
| Custom HTML/CSS layouts | Full control, any layout | Limited to existing template structure |
| Pricing model | Flat per-document rate | Per workflow and per signature |
| Free tier | 500 documents a month | Limited free tier |
| Batch generation | Batch endpoint included | Workflow-based, not bulk-generation focused |
| AI agent tools | First-class MCP server | None |
Generate a PDF from HTML
PDFPipe takes an HTML string or a URL and returns a PDF. No template upload, no form field mapping. Design your layout in HTML and CSS, then call the API.
import PDFPipe from "@pdfpipe/sdk";
const client = new PDFPipe({ apiKey: process.env.PDFPIPE_API_KEY });
const pdf = await client.generate({
html: `
<style>
body { font-family: sans-serif; padding: 40px; }
.total { font-size: 1.5rem; font-weight: bold; }
</style>
<h1>Invoice #1042</h1>
<p>Due: 2026-07-01</p>
<p class="total">Total: $4,200.00</p>
`,
options: { format: "A4" },
});
await fs.writeFile("invoice.pdf", pdf);Pricing
| Plan | Documents / month | Price |
|---|---|---|
| Free | 500 | $0 |
| Starter | 5,000 | $19 |
| Growth | 25,000 | $79 |
| Scale | 100,000 | $249 |
One document is one document regardless of page count or file size. No credits, no per-signature fees.
When Anvil is the right choice
Anvil is well-suited for two specific scenarios. First, you have existing PDF forms with named fields (government forms, contracts, tax documents) and need to fill them programmatically with data. Anvil handles field mapping cleanly without you having to rebuild the document in HTML. Second, you need embedded e-signature collection as part of the document workflow. Anvil's Etch product handles signature routing, audit trails, and completion tracking out of the box. PDFPipe does not offer e-signatures.
If your use case is generating new documents from scratch, where you control the layout and style, PDFPipe is the more direct tool.
Try PDFPipe on the live playground with no signup, then read the docs.
See pricing →