The journal · 17 November 2026 · 7 min read
Bubble PDF Generator Plugins vs an API and What Each PDF Costs in Workload Units
Bubble has no native PDF action, so every route is a plugin or an API. A server-side plugin that takes four seconds costs about 2.86 workload units a document, an API Connector call that returns a link about 0.76. Here is the math and the setup.
Live demo
Runs in your browser. Nothing is uploaded. One PDF free to try, then a plan.
Your HTML
Live preview
Your PDF is downloading. That was the free one. The Starter plan converts as many as you need, for $49 a month or $288 a year, half price.
See the planA Bubble PDF generator has to live outside Bubble, because Bubble has no native action that turns a page or a template into a PDF. You pick between a plugin that prints in the user's browser, a plugin that runs a server-side action, a template service with its own editor, or a direct call through the API Connector to a rendering API. For invoices, quotes and reports that must look the same every time, the API Connector route is usually the cheapest in workload units and the most reliable, as long as you ask the API for a link instead of the file bytes. The numbers below show why.
The short answer
If your users only ever print what is on their screen, a client-side plugin is fine and costs no workload. If the PDF is created in a backend workflow, emailed without anyone clicking, or must match a brand layout with repeating line items, call a rendering API from the API Connector and store the returned link. In the worked example below that costs about 0.76 workload units per document, against about 2.86 for a plugin that spends four seconds in a server-side action.
What are the ways to generate a PDF in Bubble?
Every option on the plugin marketplace falls into one of four shapes. Knowing which shape you are buying matters more than the plugin's name, because the shape decides where the PDF is drawn and who pays for the time.
| Shape | Where the PDF is made | Workload cost | Where it breaks |
|---|---|---|---|
| Client-side page capture plugin | The user's browser, usually a screenshot of an element | None for the render itself | Text often becomes an image, long tables split badly, nothing runs in a backend workflow |
| Server-side plugin action | A plugin's server code, often calling its own service | 0.2 per call plus 0.0005 per millisecond | Slow renders bill by the millisecond, and you inherit the plugin author's limits |
| Template service plugin | A vendor that stores your template in its editor | An API or plugin call, plus the vendor's own plan | Two bills, and the layout lives outside your app |
| API Connector to a rendering API | A managed Chromium renderer, from HTML you send | 0.1 per call plus 0.000003 per byte transferred | You must build the HTML string in a workflow first |
The workload figures come from Bubble's own manual page on what contributes to workload, which also lists 0.6 for running any server-side workflow action. Plugin prices change often, so read the current listing for any plugin you shortlist rather than trusting a forum thread from two years ago.
How much does each PDF cost in workload units?
Take a Bubble app that sends 2,000 invoices a month from a backend workflow, each a two page document built from about 20 KB of HTML. The assumptions are labelled so you can swap in your own: a server-side plugin that takes 4 seconds per render, a rendering API that returns a JSON response of about 400 bytes with a link, and the same API asked to return the PDF itself at about 150 KB.
| Route | Per document | 2,000 a month |
|---|---|---|
| Server-side plugin, 4 second render | 0.6 action, 0.2 call, 4,000 ms at 0.0005 = 2.0, about 2.86 with data | About 5,720 WU |
| API Connector, PDF returned as bytes | 0.6 action, 0.1 call, 170 KB at 0.000003 per byte = 0.51 | About 2,420 WU |
| API Connector, link returned | 0.6 action, 0.1 call, 20.4 KB = 0.06 | About 1,520 WU |
Two things stand out. Time is the expensive part of a plugin action, so a plugin that waits on a slow service quietly costs nearly four times as much per document. And the file is the expensive part of an API call, so returning a 150 KB PDF through the connector costs more than the call itself. Ask for a link, save the link, and let the customer's email client or browser fetch the file. Your Bubble server logs show the real figure per action, so check one week of them after you switch.
How do you generate a PDF from a Bubble workflow with the API Connector?
The setup takes about fifteen minutes once you have the HTML.
- Add the call. In the API Connector create an API with a private key in the header,
Authorization: Bearerfollowed by your key. Add a call named Render PDF, use it as an Action, method POST, URLhttps://api.sitepdf.com/v1/render, body type JSON, with a dynamichtmlparameter and fixedformatandmarginvalues. - Build the HTML. Keep a template in an option set or a text field and use Bubble's find and replace, or the
:format as textoperator on a list of line items, to produce one table row per item. Escape quotes, because the body is JSON. - Initialize and map. Initialize the call with a sample invoice so Bubble learns the response fields, then use
pdf_urlandpagesin the next step: save the link on the Invoice thing and send it in the email. - Run it in the backend. Trigger the call from a backend workflow so documents are created even when nobody has the page open, which a client-side plugin cannot do.
POST https://api.sitepdf.com/v1/render
Authorization: Bearer YOUR_KEY
Content-Type: application/json
{"html": "<h1>Invoice INV-1042</h1><table>...</table>", "format": "Letter", "margin": "18mm", "archive": true}
{"pdf_url": "https://api.sitepdf.com/v1/documents/doc_b81kq.pdf", "pages": 2,
"archive": {"id": "arc_b44tz", "captured_at": "2026-11-17T10:02:31Z"}}
Charts drawn with JavaScript need a moment before printing. Add a wait_for selector that appears when the chart is done, as explained in our guide to waiting for content before rendering. The same single call works from Zapier and Make, which our Zapier and Make HTML to PDF page walks through step by step if part of your stack runs there.
Which Bubble PDF plugin is best for invoices?
For invoices the deciding factor is repeating rows. An invoice with 3 lines and one with 30 need the same layout, a header that repeats on page two, and totals that never split from the last row. Client-side capture plugins struggle with all three because they photograph a page element. Template service plugins handle it if you rebuild the invoice in their editor. A rendering API handles it with ordinary CSS, thead repeats across pages and break-inside: avoid keeps the totals together, which is why we built our invoice PDF API guide around that pattern.
Pick a template service when nobody on the team writes HTML and you want a visual designer, and compare it honestly: our PDFMonkey alternative and CraftMyPDF alternative pages show where an editor earns its fee. Pick a rendering API when you already have the layout as HTML or can write it once, and when you want one engine behind your Bubble app, your scripts and any future native app. The PDF generator API page lists what the endpoint accepts.
What does a rendering API cost next to the workload?
SitePDF's Starter API plan is $49 a month for 10,000 renders, or $288 a year on yearly billing, with documents kept for 90 days. Growth is $99 a month or $588 a year for 50,000 renders and a 365 day archive. At 2,000 invoices a month the Starter plan covers you five times over. The pricing page has every tier. Set archive to true on invoices and quotes and you also keep a dated copy of exactly what each customer received, which settles disputes about a total faster than any database row.
If your Bubble app bills customers on a subscription, the invoice PDF is only half of the revenue picture. Card renewals that fail quietly cost more than any rendering plan, and a recovery tool such as RevRescue is built for retrying them and reminding the customer, so it is worth checking alongside your invoice flow.
When a plugin is the better choice
Keep a client-side plugin when the PDF is a convenience for the person looking at the page, such as a printable dashboard, and nobody needs it in a backend workflow. Keep a template service when your documents are designed by someone outside the dev team. Move to the API Connector when documents are sent automatically, have tables that grow, need selectable text for accounting software, or when your workload graph shows PDF actions near the top. You can try the renderer on your own HTML with the converter at the top of this page before you change a single workflow.
Frequently asked questions
Can Bubble generate a PDF without a plugin?
Yes, through the API Connector, which is built into Bubble. You send HTML to a rendering API and receive a link to the finished PDF. There is no native Bubble action that converts a page to PDF, so every route uses either a plugin or an outside API.
How do I save a generated PDF in Bubble?
Store the returned link in a text or file field on the thing it belongs to, such as the Invoice. Bubble file fields accept a URL. Saving the link instead of downloading the bytes through the connector keeps the workload cost per document lower.
Do Bubble PDF plugins use workload units?
Server-side plugin actions do: 0.2 per call plus 0.0005 per millisecond of execution, on top of 0.6 for the workflow action. Client-side plugins that run in the browser do not use workload for the render, but they cannot run in backend workflows.
Why is my Bubble PDF blurry or cut off?
Most client-side plugins capture the page as an image, so text loses sharpness and long content is sliced at page boundaries. A renderer that prints HTML as a real PDF keeps text selectable and lets CSS control page breaks, repeated table headers and margins.
Written by the team behind SitePDF, an HTML to PDF API that archives every page it renders. The in-browser converter is free to try, and API plans start at $49 a month, half price billed yearly.