# What's the best plugin for generating beautiful custom pdf?

**URL:** <https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312>\
**Category:** Plugins\
**Created:** [January 13, 2021, 9:23am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312 "2021-01-13T09:23:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![PierreAlex](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@PierreAlex](https://forum.bubble.io/u/PierreAlex)\
**Post date:** [January 13, 2021, 9:23am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/1 "2021-01-13T09:23:13Z")

</div>

Hello there,

One of the main feature of the app we want to create is to **be able to generate beautiful custom PDFs** and I am struggling with all the different plugins that exist. I wanted the result of my benchmark on pdf plugins and get advice on which option to choose.

Here is the page that contains the preview of the pdf we would like to generate:

 ![Screenshot 2021-01-13 at 09.56.00](https://us1.discourse-cdn.com/bubble/original/3X/e/7/e76942dcdcf2d00fae1ed2f27aba4f2aca5b7521.png)

From what I saw, there are 4 main options for generating pdf :

1. PDF conjurer plugin. This option seems really powerful but seems to have strong limitations: it’s really hard to create the layout we want using workflow and therefore not very flexible if we want to change it, we can’t choose the font.
2. HTML to PDF ([this plugin]([HTML to PDF Plugin | Bubble](https://bubble.io/plugin/html-to-pdf-1539064502334x134915894182150140), [and this one](https://bubble.io/plugin/gerador-pdf-1609610170529x975611749163860000)). This option seems to be the most interesting to me be those plugins do not seem very well documented and I was not able to have images in the document.
3. Using paid subscription API (docspring, html2pdf rocket, selectpdf) : is probably a good solution but those providers are really expensive.
4. Using plugins that seem to convert a bubble page into pdf ([this plugin](https://bubble.io/plugin/bubble-page-to-pdf-converter-1526888373861x305666508856229900) and [this one](https://bubble.io/plugin/pdf-generator-1512408362152x607120591429304300) for example.) I’m not sure this option would work in my case because you can see in the screenshot above that I don’t want to print the entire page, only the invoice part. Maybe I could have another dedicated page in my bubble app which will only include the invoice part but could it be filed dynamically when the user clicks on the download button?

If anyone has gone through the same reflection before, I would love to get advice on this! Thank you

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 13, 2021, 9:54am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/2 "2021-01-13T09:54:36Z")

</div>

Been down the same path. For templated pdf I think API is the way to go.

This is not too expensive.

> **[Automate your PDF generation. Get the job done. - PDFMonkey](https://www.pdfmonkey.io)**
>
> Use HTML and CSS to generate beautiful PDF files for your business or customers

You could of course do it yourself for free with some HTML and Mustache and a bit of code.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [January 13, 2021, 9:34pm UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/3 "2021-01-13T21:34:02Z")

</div>

Looks interesting.

Do you have any example on how to use it via API?

---

<div class="post-metadata">

**Author:** ![nocodeventure](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nocodeventure/32/247164_2.png) [@nocodeventure](https://forum.bubble.io/u/nocodeventure)\
**Post date:** [January 13, 2021, 10:18pm UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/4 "2021-01-13T22:18:01Z")

</div>

Do you need to generate an invoice?

---

<div class="post-metadata">

**Author:** ![deadpoetnsp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/deadpoetnsp/32/64992_2.png) [@deadpoetnsp](https://forum.bubble.io/u/deadpoetnsp)\
**Post date:** [January 14, 2021, 3:39am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/5 "2021-01-14T03:39:40Z")

</div>

One semi-native (no plug-ins needed, but with a call to an external JS library) way is to add an HTML element and create your invoice or document template with HTML+dynamic data in the element. Then you can add a script tag to that same element, and in the script tag, load the PrintJS library from here: [https://printjs.crabbly.com/](https://printjs.crabbly.com/)

They have a CDN link, and you can point the src in the script tag to that CDN link.

` <script src="CDN link"></script>`

Then, you can just add a button in the HTML element, to invoke the print function, and the library allows you to _select an element by HTML id_ for printing as PDF. You can just wrap the part to be printed in a section tag and give it whatever id you want. Replace element-id with that section id (or any HTML id within that HTML element).

```
 <button type="button" onclick="printJS('element-id', 'html')">
    Print
 </button>

```

For styling, you can add whatever style and fonts you want using style tags in that same HTML element.

It worked pretty well for me, as long as everything is placed in the same HTML element.

It didn’t work if I tried to print using an HTML attribute added via Bubble (if you don’t know what that is, ignore it. There is a way to add HTML IDs to any Bubble element, and I could get the print service to print Bubble elements using that id, but the formatting gets mushed up, and doesn’t print wysiwyg from Bubble. If that had worked, it would have been much easier than the way outlined above, because no HTML building would be needed).

Hat-tip to @vini_brito for inspiring this by suggesting the PrintJS library in another post

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 14, 2021, 7:25am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/6 "2021-01-14T07:25:55Z")

</div>

> [@ryanck](#):
>
> Do you have any example on how to use it via API?

Hopefully, this week, testing it at the moment.

---

<div class="post-metadata">

**Author:** ![gerben](https://avatars.discourse-cdn.com/v4/letter/g/43a26b/32.png) [@gerben](https://forum.bubble.io/u/gerben)\
**Post date:** [April 23, 2021, 9:40pm UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/7 "2021-04-23T21:40:28Z")

</div>

Hi @PierreAlex

Have you found a solution for this? I’m also looking for the exact same thing for my application 🙏

---

<div class="post-metadata">

**Author:** ![abhjoseph](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/abhjoseph/32/258380_2.png) [@abhjoseph](https://forum.bubble.io/u/abhjoseph)\
**Post date:** [August 18, 2021, 6:30am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/8 "2021-08-18T06:30:12Z")

</div>

Thanks a ton!

---

<div class="post-metadata">

**Author:** ![christo1](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@christo1](https://forum.bubble.io/u/christo1)\
**Post date:** [August 18, 2021, 7:01am UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/9 "2021-08-18T07:01:01Z")

</div>

Would the docx to pdf plugin work? It uses templated Word docs and creates really high res and small PDF’s from it [Docx to pdf (d2P) Plugin | Bubble](https://bubble.io/plugin/docx-to-pdf-d2p-1617004073169x510442679294230500)

---

<div class="post-metadata">

**Author:** ![dr.sumit.periwal](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@dr.sumit.periwal](https://forum.bubble.io/u/dr.sumit.periwal)\
**Post date:** [July 14, 2024, 7:27pm UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/10 "2024-07-14T19:27:50Z")

</div>

It seems Bubble. team is also considering Native PDF support on [bubble.io](http://bubble.io). You can check out in link below.

> **[Suggest a Feature on the Bubble Ideaboard](https://bubble.io/ideaboard?idea=1603752883293x297347008375816200)**
>
> Do you have an idea about how we can make Bubble better? Submit a feature idea for the Bubble product team, or browse and upvote others' ideas.

---

<div class="post-metadata">

**Author:** ![dr.sumit.periwal](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@dr.sumit.periwal](https://forum.bubble.io/u/dr.sumit.periwal)\
**Post date:** [March 12, 2026, 9:45pm UTC](https://forum.bubble.io/t/whats-the-best-plugin-for-generating-beautiful-custom-pdf/130312/11 "2026-03-12T21:45:44Z")

</div>

Hi Bubblers,

As a non-coder building my own software business, I realized that many existing PDF options were either too expensive or too complex for high-volume apps.

I built the PDF plugin **The Only PDF Creator** to solve my own problems. But when I found that the plugin is pretty good for a basic builder on [Bubble.io](http://Bubble.io) I have released it today for **FREE** to help the community!

I’m currently using this engine to build and power a healthcare application in India that handles a high volume of prescriptions and bills. I wanted to share the core tool with you all.

**Why use The Only PDF Creator?**

- **100% Client-Side:** No data ever leaves the user’s browser. This is critical for privacy-sensitive apps like healthcare or finance.

- **Zero API Costs:** No external service fees. You only pay for your own server CPU.

- **Modular “Building Block” Logic:** Use simple element actions to “stack” your PDF piece by piece.

- **High Performance:** Speed and stability built in.

**Key Features (Free Version):**

- **Add Text:** Fully supports bolding, font sizing, and alignment (Left, Right, Center, Justify).

- **Add Tables:** Easily create 2-column tables for invoices, lists, or receipts.

- **Automatic Page Management:** Handles page breaks and repeating headers automatically.

- **Exposed States:** Includes an `is_generating` state so you can show loaders or spinners while the PDF is being built.

**How to get started:**

1. Drop the **Only PDF** element on your page.

2. Build your document using the “Add Text” and “Add Table” actions in your workflows.

3. Use the “Download PDF” action to save the file!

I am currently developing a **Pro version** with advanced features like multi-column tables, image/logo support, and custom styling for my own healthcare venture, but I’m committed to keeping this core version free for everyone. **The pro version will be released very soon.**

Check it out on the marketplace and let me know what you think! I’d love your feedback as I continue to improve it.

> **[Templates for Bubble](https://bubble.io/plugin/the-only-pdf-creator-1743270933152x180085843094142980)**
>
> Buy and sell Bubble templates to speed up app development. Bubble is a visual programing language that lets you build apps without code.
