MARKETPLACE
PLUGINS
EPUB GENERATOR
Epub generator logo

Epub generator

Published April 2026
   •    Updated June 2026

Plugin details

This plugin generates EPUB files from text or HTML content inside Bubble and returns the finished book as a base64-encoded .epub file.
It supports:

> Plain-text mode for simple text input
> HTML mode for preserving formatting tags
> Single-section or multi-chapter EPUB generation
> Cover image
> Chapter titles, images with alt text

The plugin uses epub-gen-memory, which generates EPUB books from HTML content. When HTML mode is off, the plugin converts plain text only. When HTML mode is on, it preserves supported HTML formatting such as headings, paragraphs, bold, italics, links, lists, images, line breaks, horizontal rules, and tables.

The plugin returns that can be used in subsequent workflow actions:

> Success (yes/no)
> The EPUB file as a base64 string
> File name
> Chapter count
> MIME type
> Error message if generation fails

Free

For everyone

stars   •   0 ratings
2 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Hmott logo
Hmott
Joined 2015   •   7 Plugins
View contributor profile

Instructions

Use this action to generate an EPUB file from text or HTML content.
Input fields:

> title
(Required. The title of the EPUB book.)
> author
(Optional. The author name stored in the EPUB metadata. If blank, the plugin uses “Unknown.”)
> text_body
(Required. The main content of the book. This can be plain text or HTML depending on the HTML setting.)
> chapter_delimiter
(Optional. Text used to split the content into separate chapters. If left blank, the plugin creates a single-section EPUB.)
> chapter_titles
(Optional. Delimiter-separated list of custom chapter titles. The order should match the chapter order and use the same delimiter as chapter_delimiter. If left blank, the plugin uses automatic chapter naming.)
> language
(Optional. Language code for the EPUB metadata. Default is english [en].)
> filename
(Optional. Custom filename for the generated EPUB. If left blank, the plugin creates one from the title.)
> cover_url
(Optional. Public image URL used as the book cover. Cover image URLs are commonly provided as web URLs or file paths in EPUB generators.)
> chapter_image_urls
(Optional. Delimiter-separated list of public image URLs for chapter images. The order should match the chapter order.)
> chapter_image_alts
(Optional. Delimiter-separated list of alt text values for chapter images. The order should match the chapter image URLs.)
> use_html
(Yes/no field that controls how the content is interpreted. Yes = treat text_body as HTML and preserve supported tags, No = treat text_body as plain text and automatically convert it into paragraph HTML.)

Supported HTML formatting when use_html is yes:

> Bold: <strong>, <b>
> Italic: <em>, <i>
> Headings: <h1> to <h6>
> Paragraphs: <p>
> Images: <img>
> Line breaks
> Horizontal rules: <hr/>
> Links: <a>
> Lists: <ul>, <ol>, <li>
> Tables: <table>, <tr>, <td>
> Footnote-style anchor links using <a href="#..."> and matching targets

Returned values:

> success
(Indicates whether EPUB generation completed successfully.)
> file_base64
(The generated EPUB as a base64-encoded string.)
> file_name
(The filename to use when saving or downloading the EPUB.)
> chapter_count
(The number of sections or chapters generated.)
> mime_type
(The file MIME type, typically application/epub+zip.)
> error_message
(Error message returned if generation fails.)

Usage notes:

> Image URLs should be direct, public URLs that the server can fetch.
> chapter_titles should use the same delimiter and order as the chapter content so each title maps to the correct chapter. [github](https://github.com/cpiber/epub-gen-memory)
> If HTML mode is enabled, the plugin assumes the HTML is trusted and properly formatted.
> The base64 output usually needs to be passed to a Bubble file upload or download step to create the final .epub file.

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:
Productivity   •   Technical   •   News   •   Small Business   •   Media

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble