The fastest PDF engine.
The best DX.
Write beautiful PDFs with markup you already know.
Zig-powered. Zero dependencies.
No headless browsers, no runtime overhead. Faster than jsPDF — with a full layout engine.
6,800
PDFs per second
0.15 ms
per render
378x
faster than Puppeteer
HTML-like syntax. Tailwind classes.
Write templates the same way you write frontend code. Flexbox, padding, colors — it just works.
Dynamic data binding.
Pass JSON, get a PDF. Loop over arrays, conditionals, variables — all built in.
AI that builds templates for you.
Describe what you want. The AI writes the markup, shows the diff, and lets you approve.
One API call to render.
curl, fetch, or any HTTP client. Send a template and data, get a PDF back.
curl -X POST https://api.slothpdf.com/v1/render \
-H "Authorization: Bearer $KEY" \
-d '{"template": "invoice", "data": {"customer": "Acme"}}' \
-o invoice.pdf