# 📄 HTML to PDF from any template! (Tutorial)

**URL:** https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251
**Category:** Community Resources
**Created:** [February 4, 2026, 7:00pm UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251 "2026-02-04T19:00:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [February 4, 2026, 7:00pm UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/1 "2026-02-04T19:00:06Z")

</div>

# 👋 Hey fellow Gliders!

One of the most tedious things to do in Glide is build out PDF generation functionality.

Glide does provide a couple integrations like PDF Monkey (can’t add dynamic line items) and Docs Automator (more on the expensive side), but I wanted to share with you a method that I’ve used several times using [PDF.co](https://app.pdf.co/?via=robert) — in less than hour!

It’s relatively inexpensive (~1800 pages for $10/mo) and has a fast, easy API to work with.

Check out the video tutorial below where I cover:

- Converting an existing template (PDF/image/text) into HTML/JSON
- Creating a [PDF.co](http://PDF.co) template with the HTML/JSON
- Creating the corresponding JSON data in Glide
- Generating the PDF [url] via [PDF.co](http://PDF.co) API and storing it as a Glide URL
- Displaying, opening, and sharing the PDF within Glide

The video below uses the context of an invoicing app, but you can create any type of PDF with this method (contracts, reports, proposals, rosters, inventory, logs, etc.)

### 🍿 Enjoy!

> **[Generate Custom PDFs in Glide from ANY TEMPLATE (Full Tutorial)](https://www.youtube.com/watch?v=2m-GckyQdak%2F)**
>
> 👔 Your business deserves more than spreadsheets. Schedule a kickoff call to see how I can save you 5-10 hours per week ⏵ https://join.glideapps.com/glideexp...

---

<div class="post-metadata">

### Author: ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)
#### Post date: [February 4, 2026, 11:54pm UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/2 "2026-02-04T23:54:37Z")

</div>

> [@Robert\_Petitto](#):
>
> PDF Monkey (can’t add dynamic line items)

You actually can, using for loop.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 5, 2026, 12:14am UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/3 "2026-02-05T00:14:23Z")

</div>

I think he meant using the integration (it can’t parse the JSON correctly and sending it over as text).

In those cases, you can use this:

```auto
{% assign parsed_data = data | parse_json %}

```

With data being the JSON data you send over using the integration.

parsed\_data will be your JSON object to work with.

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [February 5, 2026, 2:08am UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/4 "2026-02-05T02:08:35Z")

</div>

Correct— I meant the integration.

Believe it or not, I recorded two hours worth of video content on how to do this exact same thing using PDF monkey instead of [pdf.co](http://pdf.co),

I had to scrap it because it got way too complicated at the end when I realized that PDF monkey returns a preview URL and not the actual URL to the PDF which required a separate Webhook listener.

---

<div class="post-metadata">

### Author: ![Rupert](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rupert/32/44178_2.png) [@Rupert](https://community.glideapps.com/u/Rupert)
#### Post date: [February 10, 2026, 11:31pm UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/5 "2026-02-10T23:31:52Z")

</div>

Thanks for sharing,@Robert_Petitto !

If anyone is interested in a no-HTML, powerful document automation solution based on Google Docs (and very soon PDF templates), please check out [DocsAutomator](https://www.docsautomator.co/) (there’s a native integration). You would join 100s of companies on Glide who generate mission-critical docs with it every day.

I’m the founder and always happy to help settings things up 🙂

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [February 11, 2026, 2:34pm UTC](https://community.glideapps.com/t/html-to-pdf-from-any-template-tutorial/86251/6 "2026-02-11T14:34:37Z")

</div>

I’m a huge fan of DocsAutomator — already have a video in the pipeline!
