MARKETPLACE
PLUGINS
EC PAGE TO PDF
EC Page to PDF logo

EC Page to PDF

Published October 2026
   •    Updated this month

Plugin details

# EC Page to PDF | Professional PDF Generator for Bubble
**Turn your Bubble pages, groups and dynamic content into professional, downloadable PDF documents. No coding, API keys or external accounts required.**

EC Page to PDF captures the rendered content of your Bubble application and converts it into a PDF while preserving selectable text, images, fonts, colours and styling wherever supported.

Generate invoices, purchase orders, certificates, reports, receipts, customer documents, printable summaries and complex multi-page exports directly from your Bubble workflows.

Unlike screenshot-based PDF solutions, EC Page to PDF preserves text as searchable, selectable PDF content.

## KEY FEATURES

**Full Page or Element Export**
- Export an entire Bubble page or a specific Group or element using its HTML ID.
- Create dedicated print layouts without changing your existing application design.

**Searchable, Selectable Text**
- Generate text-based PDFs instead of flattening the entire document into an image.
- Preserve readable text, fonts, colours, backgrounds and supported CSS styling.

**Advanced Repeating Group Support**
- Export Full List Repeating Groups containing large amounts of dynamic content.
- Support multiple Repeating Groups, including sibling and nested groups.
- Automatically materialise and verify client-side Full List rows without requiring manual row-count configuration.
- Support verified Full Lists inside certain fixed-height vertical scroll panels when safe print-copy expansion is possible; unsupported scrolling or virtualised RG modes are not guaranteed.
- Prepare PDF exports without visibly scrolling the user's page.
- Improved pagination for complex two-column layouts and variable-height nested content.

**Professional Multi-Page Documents**
- Automatically split long content across multiple PDF pages.
- Improved handling of text, images, nested groups and content spanning page boundaries.
- Use Page Break IDs to start selected sections on new pages.
- Use Page Break Inside Avoid IDs to keep selected content blocks together.
- Exclude unwanted elements using Ignored Element IDs.

**Flexible Paper Formats**
- ISO A0–A10, B0–B10 and C0–C10.
- A4, A3, Letter, Legal, Ledger, Tabloid, DL, Credit Card and additional presets.
- Fully custom page dimensions using mm, cm, inches, pixels or points.
- Portrait and Landscape orientations.
- Configurable margins.

**Four Page Fit Modes**
- Original Size: preserve the document's original proportions, reducing width when necessary.
- Fit to Width: scale content proportionally to the printable width.
- Fit to Page: fit the entire export onto one page.
- Fill Page: fill a single page, cropping overflow when necessary.

**Custom Headers, Footers and Page Numbers**
- Add repeating text headers and footers.
- Create styled headers and footers using supported static HTML and inline CSS.
- Display automatic page numbers in several formats.
- Reserve additional space for multi-line headers and footers.

**Image Handling**
- Capture supported images and photographs from your Bubble application.
- Wait for image resources and fonts before conversion.
- Optionally specify the expected number of real images to detect incomplete loading.

**Download, Save and Private Files**
- Download generated PDFs directly in the browser.
- Save PDFs to Bubble File Manager.
- Download and save in the same workflow.
- Optionally upload private files attached to a Bubble Thing, using your configured privacy rules.
- Standard Bubble uploads are public unless private upload is explicitly configured.
- Access uploaded documents through the PDF URL state.

**Workflow Events and Status Tracking**
- PDF generated
- PDF failed
- PDF conversion finished
- PDF upload finished

Use exposed states to monitor progress, display errors, retrieve uploaded PDF URLs and build custom loading interfaces.

## PERFECT FOR

- Invoices, quotations and receipts
- Purchase orders and delivery documents
- Certificates and completion records
- Customer reports and statements
- Inventory lists and logistics documents
- Business dashboards and summaries
- Printable forms and administrative records
- Dynamic documents containing long or nested Repeating Groups

## SIMPLE BUBBLE INTEGRATION

1. Add the EC PDF Generator element to your page.
2. Create a workflow using Generate PDF.
3. Choose the page or element to export.
4. Configure paper size, layout and output options.
5. Download the PDF, save it to Bubble or do both.

**No API key. No external account. No additional PDF library.**

Designed for Bubble web applications using front-end workflows. The plugin captures rendered client-side data; it cannot independently verify that a database query returned every record. Use Full List for completeness-critical Repeating Group exports and gate the workflow on data readiness. Unsupported scrolling RG modes, incomplete resources, or unsafe clipping constraints may result in a PDF failed event rather than a partial document. Fit to Page may reduce text readability; Fill Page intentionally crops edges. Very small custom paper sizes often benefit from a separate print-friendly Group.

## LIVE DEMO
https://ecplugins.bubbleapps.io/version-test/ec-page-to-pdf?m=overview

## PUBLIC BUBBLE EDITOR
https://bubble.io/page?id=ecplugins&tab=Design&name=ec-page-to-pdf&type=page&elements=bTIYE0

$8

Per month

5.0 stars   •   1 ratings
4 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

EC Tech Solutions logo
EC Tech Solutions
Joined 2023   •   2 Plugins
View contributor profile

Instructions

# EC Page to PDF | Setup & Usage Instructions
EC Page to PDF generates downloadable or stored PDF documents from rendered Bubble web pages and elements.

No API key, Cloudflare account or external registration is required.

## 1. INSTALLATION

Install EC Page to PDF from the Bubble Plugin Marketplace.

Open your Bubble application in the editor.

In the Design tab:

1. Find **EC PDF Generator** under the installed plugin elements.
2. Add the element to the page where you want to generate PDFs.
3. Keep the element present and initialised on the page. It is normally nonvisual, but can display an optional loading indicator.
4. Add a Button, Icon or other element to trigger the PDF generation.

You can use one EC PDF Generator element for multiple PDF workflows.

## 2. GENERATE YOUR FIRST PDF

Open the Workflow tab.

Create an event such as:

**When Button Download PDF is clicked**

Add an action:

**Element Actions → Generate PDF**

Select your EC PDF Generator element.

Recommended settings for a first test:

| Field | Value |
|---|---|
| Convert Target | Element |
| Element ID | invoice |
| File Name | invoice.pdf |
| Format | A4 |
| Orientation | Portrait |
| Margin (mm) | 10 |
| Page Fit Mode | Original Size |
| Download PDF | Yes |
| Save to Bubble | No |

### Important: Element ID

To export a specific element, enable Bubble's HTML ID attribute option under:

**Settings → General → Expose the option to add an ID attribute to HTML elements**

Select the Bubble Group or element you want to export.

Set its HTML ID attribute to:

`invoice`

In the Generate PDF action, enter:

`invoice`

Do not include the `#` character.

The element must exist in the rendered page when the workflow executes.

Alternatively, select **Convert Target = Page** to capture the rendered page without specifying an Element ID.

## 3. PAPER FORMATS AND DIMENSIONS

The plugin supports standard paper formats, including:

- A0–A10, B0–B10 and C0–C10
- DL, Letter, Government Letter, Legal and Junior Legal
- Ledger, Tabloid and Credit Card
- Custom format

Use **Orientation** to select Portrait or Landscape.

Use **Margin (mm)** to set the page margins. The supported range is 0–40 mm.

### Custom Format

Select **Format = Custom format** and configure:

- **Custom Width**
- **Custom Height**
- **Custom Unit**

Available units: mm, cm, in, px and pt.

Example for a custom 100 × 150 mm document:

- Format: Custom format
- Custom Width: 100
- Custom Height: 150
- Custom Unit: mm
- Orientation: Portrait

Margins always remain in millimetres, regardless of the selected Custom Unit. The px unit uses 96 pixels per inch and pt uses 72 points per inch.

The output File Name defaults to `document.pdf`; names are normalised and limited to 90 characters including `.pdf`. Small paper formats can make scaled text difficult to read. Consider a narrower print-friendly Group rather than shrinking a desktop layout.

The selected dimensions must leave enough printable space after margins and reserved header/footer areas.

## 4. PAGE FIT MODES

**Original Size**

Preserves the source document's proportions as closely as supported. Content wider than the printable area may be reduced to fit. Longer documents can span multiple pages.

Recommended for invoices, reports and other multi-page documents.

**Fit to Width**

Scales the document proportionally to fit the printable page width. Long content can continue across multiple pages.

**Fit to Page**

Scales the entire captured content to fit on one page.

Recommended for certificates or other compact documents. Very long content may become difficult to read.

**Fill Page**

Scales the content to cover one printable page. Content outside the page boundaries is intentionally cropped.

Recommended for designs that should fill the available page area, not when every edge or text item must be retained.

Fit to Page and Fill Page are single-page modes and do not support Page Break IDs. For multi-page documents and page-break controls, use Original Size or Fit to Width.

## 5. REPEATING GROUPS

EC Page to PDF supports dynamic Full List Repeating Groups, including multiple, sibling and nested Repeating Groups.

For reliable results:

1. Use **Full list** for Repeating Groups included in the export.
2. Ensure that the underlying data has finished loading before triggering generation.
3. Prefer a separate print-friendly Bubble Group for complex documents.
4. Keep the browser tab visible while the PDF is being prepared.

The plugin attempts to render and verify all available Full List rows before capturing the document.

**No manual Expected RG Row Count configuration is required in the current version.**

The plugin prepares supported Repeating Groups without visibly scrolling the browser page.

A Repeating Group in a virtualised or scrolling RG layout mode is not supported for guaranteed complete exports. Use Full List instead. A **Full List placed inside a vertically scrollable, fixed-height Group** is different: when all client-side rows are verified and every containing layout can expand safely, the plugin can release the height limit **only in its print copy**, without scrolling or changing the visible Bubble page. If the layout is unsafe (for example, horizontal clipping of retained content or unsupported Flex/Grid constraints), the export fails with `RG_PRINT_CONTENT_CLIPPED` rather than generating an incomplete PDF. This is conditional support, not a guarantee for arbitrary scrolling containers.

For database-completeness-critical exports, use a Bubble workflow condition to ensure the expected data is available before triggering the PDF. The plugin verifies available client-side data; it cannot independently prove that a database query has returned every expected record.

## 6. PAGE BREAK CONTROLS

### Page Break IDs

Use this field to start selected elements on a new PDF page.

Example:

`section-02, section-03`

Each value must be the HTML ID of an element inside the export target, without `#`.

Supported with Original Size and Fit to Width.

### Page Break Inside Avoid IDs

Use this field to keep selected blocks together on one printable page.

Example:

`photo-05-block`

For a photograph and its caption:

1. Place the image and caption inside the same Bubble Group.
2. Assign that Group the HTML ID `photo-05-block`.
3. Enter that ID in Page Break Inside Avoid IDs.

The plugin attempts to prevent the selected block from splitting across pages.

The complete block must fit within one printable page. Oversized or invalid blocks can trigger an error rather than producing an incomplete result.

### Ignored Element IDs

Use this field to exclude selected elements from the PDF.

Example:

`download-button, navigation-menu, toolbar`

Matching elements and their children are excluded from the print copy. The original Bubble page remains unchanged.

These three fields support comma-separated or newline-separated IDs.

Use unique HTML IDs within your export target. Invalid, missing or ambiguous IDs may cause the action to fail with a descriptive error. Each field supports up to 30 IDs, each up to 80 characters. An avoided block must fit on one printable page; keep image and caption in the same parent Group.

## 7. HEADERS, FOOTERS AND PAGE NUMBERS

### Plain Text Headers and Footers

Set **Header Mode** or **Footer Mode** to Plain text.

Enter the text in Header Text or Footer Text.

Each plain-text field supports up to 120 characters, without line breaks or control characters. Invalid or longer text causes an error rather than silent truncation.

These values can use Bubble dynamic expressions.

### Custom HTML Headers and Footers

Select **Header Mode = Custom HTML** or **Footer Mode = Custom HTML**.

Use Header HTML or Footer HTML to create formatted content.

Supported content includes selected text-formatting HTML elements and restricted inline CSS.

Scripts, external CSS, links and images are not supported in these HTML fields. Each HTML field supports up to 8,192 UTF-8 bytes; permitted tags and inline styles are restricted.

Use **Header Space (mm)** and **Footer Space (mm)** to reserve enough room for the content.

The supported reserved-space range is 18–60 mm (default: 30 mm). Increase reserved space for multi-line HTML to avoid collisions.

### Page Numbers

Enable **Show Page Numbers**.

Available formats:

- Page X of Y
- Page X
- X / Y

Custom HTML footers can also use the following placeholders:

`<span class="pageNumber"></span>`

`<span class="totalPages"></span>`

When **Show Page Numbers** is enabled and the custom footer contains a `pageNumber` placeholder, the plugin does not append duplicate default page numbering.

## 8. IMAGE LOADING

The plugin waits for supported fonts and image resources before generating the PDF.

For documents where all photographs must be included, use:

**Expected Real Image Count**

Example:

If your document must contain seven real photographs, enter `7`.

The plugin checks that the expected number of visible, real images has loaded and decoded before capture.

Hidden images and Bubble's standard empty-image placeholder are excluded from this count.

CSS background images, SVG elements and canvas elements are not counted as regular image elements.

Leave this field empty if you do not need an exact image-count check.

## 9. DOWNLOAD AND SAVE TO BUBBLE

### Download PDF

Set **Download PDF = Yes** to initiate a browser download after successful conversion and any requested upload.

### Save to Bubble

Set **Save to Bubble = Yes** to upload the PDF to Bubble File Manager.

You can enable both Download PDF and Save to Bubble in the same action. If both are No, the plugin can still perform conversion and fire its conversion-completion event, without returning a downloaded file or Bubble File Manager URL.

After successful upload, the **PDF URL** state contains the uploaded document's URL.

You can use this URL in links, database Text fields or other Bubble workflows.

### Private PDF Upload

To upload a private document:

1. Set **Save to Bubble = Yes**.
2. Set **Make File Private? = Yes**.
3. Select the appropriate **Attach To Type**.
4. Set **Attach To** to the Bubble Thing that should control access, such as Current User.

Configure and test the relevant Bubble privacy rules, including the attached Thing's **View attached files** permission. Selecting private upload does not replace correct privacy-rule configuration. **Uploads are public by default** when Make File Private? is disabled. The Attach To value must reference a valid Thing of the selected type; a missing or invalid attachment must not silently fall back to public upload.

Private attachment does not automatically populate a database field. To store the uploaded URL on a record, use the **PDF upload finished** event and save the **PDF URL** Text state in a separate Bubble workflow action. Treat temporary signed download links as sensitive while they remain valid.

## 10. WORKFLOW EVENTS

The EC PDF Generator element exposes four events.

**PDF generated**

Triggered after a valid PDF has been generated and any requested Bubble upload has succeeded. The browser download is initiated when enabled.

Use it to display a success message or continue your workflow.

**PDF failed**

Triggered when generation, resource loading, conversion, upload or download fails.

Read **EC PDF Generator's Error message** to display or investigate the failure.

**PDF conversion finished**

Triggered after the PDF response has been validated, before optional upload or download operations finish.

This event does not guarantee that a later upload or download will succeed.

**PDF upload finished**

Triggered after a successful Bubble File Manager upload.

Use **PDF URL** to access the uploaded file.

### Event order and failures

- Download only: **PDF conversion finished → PDF generated**.
- Save only or Save + Download: **PDF conversion finished → PDF upload finished → PDF generated**.
- Neither delivery option: **PDF conversion finished → PDF generated**.

PDF generated means the requested browser download has been initiated, not that the user physically saved the file. If a later upload or download fails, **PDF failed** can occur after conversion completed. In that case, Converting is finished may remain yes while Uploading to file manager is finished is no; read Error message for the actual failure.

## 11. EXPOSED STATES

**Is generating (yes/no)**

Indicates whether the element is currently processing a PDF request.

Use it to disable your Generate PDF button and prevent repeated clicks.

**Error message (text)**

Contains the most recent generation error, including a code and readable explanation.

**PDF URL (text)**

Contains the uploaded PDF URL after a successful Save to Bubble operation.

**Generation Stage (text)**

Returns the current stage:

- `idle`
- `preparing`
- `generating`
- `saving`

Use this state for your own loading interface.

**Converting is finished (yes/no)**

Becomes yes when a valid PDF has been generated, before an optional upload completes.

**Uploading to file manager is finished (yes/no)**

Becomes yes after a successful File Manager upload.

### Reset PDF State

The additional workflow action **Reset PDF State** clears the generator's exposed states (Is generating = no, Error message/PDF URL empty, Generation Stage = `idle`, and both completion flags = no), removes the built-in loading indicator and cancels an active generation operation where supported. It does **not** delete previously uploaded files or completed downloads. A Bubble File Manager transfer already started may continue independently.

To prevent repeated requests, disable your Generate PDF button while Is generating is yes. Use Generation Stage to show custom messages; its stage values are processing labels, not percentage progress.

## 12. RESPONSIVE LAYOUTS AND PRINT DESIGN

PDF generation captures the layout rendered by Bubble for the current browser viewport.

This means responsive breakpoints can affect:

- Element widths
- Text wrapping
- Repeating Group columns
- Image placement
- Page count and readability

For consistent print results, create a dedicated Bubble Group designed for the intended document dimensions.

Test your export using representative desktop and mobile browser widths, especially when exporting a small custom paper format.

The plugin respects the captured responsive layout; it does not automatically redesign a mobile screen into an A4 document.

## 13. TROUBLESHOOTING

**Start with the Bubble debugger**

Add a workflow event for **PDF failed** and inspect the EC PDF Generator's **Error message** state. The message includes a diagnostic code. Check the code and the relevant advice below before retrying. For a successful upload, use **PDF upload finished** and **PDF URL** rather than assuming that conversion alone means the file was saved.

**The PDF does not download**

Check that **Download PDF = Yes**, that the workflow actually runs, and whether **PDF failed** has fired. Check the browser's download handling. If **Save to Bubble = Yes**, an upload failure can prevent the requested download. A successful **PDF conversion finished** event does not guarantee successful upload or download.

**The target cannot be found: TARGET_NOT_FOUND**

For **Convert Target = Element**, enable Bubble's HTML ID attribute setting and assign the ID to a rendered element inside the current page. Enter the ID without #. Make sure the element is present and visible when the workflow runs. If you intend to export the whole page, select **Convert Target = Page** instead.

**Repeating Group rows are missing: RG_NOT_FULLY_LOADED or SCROLLABLE_REPEATING_GROUP**

Use **Full List**, not a virtualised or scrolling Repeating Group layout mode. Wait for the Bubble data source and rows to render; keep the browser tab visible. If completeness matters, check that the expected database data is ready in your application before triggering Generate PDF. The plugin can verify available client-side rows, but cannot certify the completeness of a database query.

**A scrollable container fails: RG_PRINT_CONTENT_CLIPPED**

A **Full List inside a vertically scrollable, fixed-height parent Group** may export all rows when the print copy can be expanded safely. This is not support for an actual scrolling or virtualised RG layout. If a container clips rows horizontally, or an ancestor layout cannot expand safely, the plugin deliberately fails instead of returning a partial PDF. Check widths, overflow and the complete containing Group chain; remove horizontal clipping or create a dedicated print-friendly Group. Do not force the error away by reducing the expected content.

**The page is inactive: PAGE_NOT_RENDERING**

Keep the browser tab visible while the plugin prepares the PDF, especially for long Full Lists. Avoid triggering export while the page is still updating or navigating away.

**An image is missing: IMAGE_LOAD_FAILED or IMAGES_NOT_FULLY_LOADED**

Make sure the image URL is accessible and the source finishes loading. Use **Expected Real Image Count** when you need to verify a specific number of successfully decoded HTML images. Hidden images, Bubble's empty-image placeholder, CSS background images, SVGs and canvas elements are not counted as regular images by this setting. An inaccessible or protected image may need a different supported source.

**Content is too small, cut off or on the wrong number of pages**

Review your source Group width, current browser viewport, paper size and **Page Fit Mode**. **Fit to Page** places the export on a single page and can make text very small. **Fill Page** intentionally crops overflow. For multi-page documents use **Original Size** or **Fit to Width**. A Custom 100 × 150 mm page does not automatically redesign a wide desktop layout into a readable small document.

**Page breaks do not work or produce an error**

Use **Page Break IDs** only with **Original Size** or **Fit to Width**, and put the break on a section or Group outside individual Repeating Group cells. **Page Break Inside Avoid IDs** must identify a complete Group that fits on one printable page. For a photo and caption, wrap both inside that same Group. Use unique HTML IDs within the export target, without #; each Page Break, Inside Avoid or Ignored ID field accepts at most 30 IDs of up to 80 characters each. An ID cannot conflict with an ignored element. Check errors such as `PAGE_BREAK_TARGET_NOT_FOUND`, `PAGE_BREAK_BLOCK_TOO_TALL` and `PAGE_BREAK_RG_CELL_UNSUPPORTED`.

**Header, footer or page numbering is rejected**

Plain-text Header Text and Footer Text allow up to 120 characters without line breaks. Custom HTML fields accept restricted static markup and inline CSS, up to 8,192 UTF-8 bytes each. Reserve **Header Space (mm)** and **Footer Space (mm)** between 18 and 60 mm when using Custom HTML. Unsupported scripts, links, images and external stylesheets are not permitted. For dynamic page numbers in Custom HTML footers, use the supported `pageNumber` and `totalPages` span classes.

**The PDF is converted, but PDF URL is empty**

**PDF URL** is populated after a successful **Save to Bubble** upload, not by a download-only conversion. Use the **PDF upload finished** event before storing the URL in your database. A failed later upload can leave **Converting is finished = yes** while **Uploading to file manager is finished = no**; read **Error message** and **PDF failed**.

**A private PDF is inaccessible or upload fails**

Set **Save to Bubble = Yes**, **Make File Private? = Yes**, and provide a valid **Attach To Type** and **Attach To** Thing. Configure the Thing's Bubble privacy rules, including permission to view its attached files. An attachment does not automatically populate a database field; save **PDF URL** separately if needed. Files uploaded without the private option follow Bubble's ordinary public-upload behaviour. Errors can include `PRIVATE_UPLOAD_REQUIRES_SAVE`, `INVALID_ATTACH_TO` or `UPLOAD_FAILED`.

**PDF generation is slow, times out or the service is busy**

Long content, numerous images and complex nested Repeating Groups can require more preparation. For `TIMEOUT` or `REQUEST_FAILED`, verify that the page and resources are ready, then try a smaller dedicated print Group. `REQUEST_TOO_LARGE` means the captured request exceeds the plugin's 20 MiB limit; reduce embedded content. For `RATE_LIMITED`, `IP_RATE_LIMITED` or `GLOBAL_QUOTA_EXCEEDED`, retry later rather than repeatedly triggering the workflow. Do not treat a service quota or network failure as an RG layout failure.

**Reset PDF State seems not to remove an uploaded file**

**Reset PDF State** clears exposed status values and cancels active work where supported. It does not delete PDFs already uploaded to Bubble, and an upload already handed off to Bubble may continue.

## IMPORTANT NOTES

- This plugin is designed for Bubble web applications and front-end workflows.
- It captures rendered content, not arbitrary database records directly.
- Backend-only PDF generation is not part of the current plugin.
- Searchable text is preserved wherever supported by the source content and rendering engine.
- Very large requests and unsupported HTML/CSS layouts may fail or require a simplified print layout.
- A custom paper format controls physical PDF dimensions, not the responsive design of the source Group.
- Cloud rendering may be subject to rate limits; authentication-protected resources and certain CSS effects may render differently.
- Public Bubble uploads remain public unless private upload and relevant permissions are configured.
- The **PDF URL** state is Text, not a File-typed state. Reset PDF State does not delete files.
- No API key is required.

For support and further information:
**EC Tech Solutions**
https://www.ectechsolutions.com

## LIVE DEMO
https://ecplugins.bubbleapps.io/version-test/ec-page-to-pdf?m=overview

## PUBLIC BUBBLE EDITOR
https://bubble.io/page?id=ecplugins&tab=Design&name=ec-page-to-pdf&type=page&elements=bTIYE0

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
PDF   •   Productivity   •   Technical   •   Analytics   •   Small Business   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (5.0)

Powerful and flexible PDF generation for Bubble
October 21st, 2026
The plugin offers great flexibility, with customizable page sizes, margins, orientation and content fitting options. It generates professional PDFs while preserving text quality, images and layouts.
Bubble