Convert any HTML or URL to beautiful PDFs. Invoices, reports, tickets, receipts — whatever you need. Simple API, generous free tier, blazing fast.
50 free PDFs/month. No credit card required.
const response = await fetch(
'https://pdf.grabshot.dev/v1/pdf/html', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'pdf_your_key_here'
},
body: JSON.stringify({
html: '<h1>Invoice #1234</h1><p>Total: $99</p>',
options: { format: 'A4' }
})
});
// → Returns PDF binary
Send any HTML and get a pixel-perfect PDF back. Full CSS support, custom fonts, print stylesheets.
Pass any URL and we'll render it in a real browser and convert to PDF. JavaScript rendering included.
Page size, margins, orientation, headers, footers, viewport — customize every aspect of your PDF.
Persistent browser pool for sub-second generation. Most PDFs ready in under 2 seconds.
API key auth, rate limiting, HTTPS only. Your HTML is processed and discarded — never stored.
50 PDFs per month free. No credit card. Scale up when you're ready.
Start free, scale as you grow.