HTML โ†’ PDF.

Predictable. Fast. Reliable.


Predictable PDF rendering for modern web apps. Smart waiting, font handling, and security built in.

Get your API key โ†’

Security Built-in

SSRF protection, sandboxed execution, and SOC 2 compliant infrastructure.

Modes

๐Ÿš€

Fast

Fast sub-second renders for static HTML.

โœจ

Smart

Automatically ensures Fonts, Stylesheets and Images are loaded and animations are locked

โš™๏ธ

Custom

You declare what elements your PDF contains, thereby optimizing render time while ensuring DOM stability.

Simple API

One endpoint. Send HTML, get PDF.

curl -X POST https://api.hardpdf.com/v1/render \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"html": "<h1>Hello</h1>", "options": {"format": "A4"}}' \ -o output.pdf

Official SDKs

Drop-in libraries for Node.js and Laravel.

// npm install @hardpdf/node import { Hardpdf } from '@hardpdf/node'; const hardpdf = new Hardpdf(process.env.HARDPDF_API_KEY); const pdf = await hardpdf.render({ html: '<h1>Invoice #123</h1>', options: { format: 'A4', waiting: { selector: '#chart-loaded' } } });

Ready to get started?

Start rendering PDFs in minutes. Free tier included.

Get your API key โ†’