New Feature Launch: Generate PDFs with Templates + JSON Data on PageSnap.co
We’re thrilled to announce one of our most requested features is now live — HTML Template + JSON Data support is here! 🎉
Whether you’re generating invoices, reports, tickets, or dynamic documents, PageSnap.co now makes it easier than ever to create beautiful, styled PDFs using structured data.
🧩 What’s New?
With our latest update, you can:
✅ Create and store reusable HTML + CSS templates directly in your PageSnap dashboard
✅ Submit structured JSON data via our API
✅ Let PageSnap merge your data with the template and return a pixel-perfect PDF
✅ Use advanced templating logic like loops, conditionals, and nested structures
And it all runs on Handlebars.js — a powerful, logic-less templating engine developers love.
📥 How It Works
- Log in to your PageSnap.co dashboard.
- Head to the “Templates” section and create a new HTML + CSS template.
- Use Handlebars-style placeholders like
{{name}}
,{{#each items}}
,{{address.city}}
, etc. - When making a PDF generation request, just submit:
- The UUID of the saved template
- The JSON data to fill the template
Done! 🎯 Your custom-styled, data-powered PDF will be generated and returned instantly.
🧠 Why This Matters
No more rendering HTML on your side. No more messy string replacement or bloated HTML-in-code.
This new feature is built to save time, reduce errors, and streamline your workflow. Whether you’re sending one document or generating hundreds at scale — PageSnap has you covered.
📚 Learn More
Check out our updated documentation for a full walkthrough, examples, and API reference.
🙌 Try It Out Today
The templating feature is available to all users starting today. Give it a spin and let us know what you build — we can’t wait to see how you use it!
As always, if you have questions or feedback, we’re just a message away.
Happy snapping,
The PageSnap Team