Book publishing tool for engineers: EPublish

TeaVMFan1 pts1 comments

EPublish: Create EBook-ready EPUB from HTML

Home / epublish frequal.com RSS Feed

EPublish: Create EBook-ready EPUB from HTML

Support EPublish

If you are comfortable with basic HTML and want an easy way to publish your ebook, then EPublish may be what you are looking for. It is a command-line tool to convert HTML, CSS, and images into an ebook ready for uploading to self-publishing sites like Amazon's Kindle Direct Publishing. Once you have an EPUB file, you can convert it to a print-ready PDF using Calibre or other tools.

Novels Made With EPublish

Means and Motive

How Does It Work?

It's easy, create an HTML document using any HTML editor. Keep the formatting simple, like follows:

TitleAuthor

Chapter 1

Chapter 1 Text here (before section break)

Chapter 1 Text continues after section break

Chapter 2

Chapter 2

Acknowledgments

Acknowledgments here

Place cover.jpg, title.png, and asterism.png in the same folder as novel.html.

There are more options to customize your book that we'll cover later.

How Do I Run It?

java -jar epublish.jar novel.html --style Prod

This will convert novel.html to novel.epub using the "production" style, which is what you want if you are uploading the EPUB file to an online ebook publisher.

Download

Download EPublish for all platforms: Download Now

What Does It Do?

It makes an attractive, well-typeset EPUB file from your HTML manuscript.

Some of the things it handles automatically:

Widely-compatible EPUB file that works with Kindle, Apple Books, Calibre, and more<br>Automatic insertion of cover and title pages before Content

Title image used, if present<br>Title from h1 tag if no title image

Automatic copyright page generation<br>Automatic table of contents<br>Font embedding, if provided<br>Drop Caps<br>Asterisms in place of hr tags

Standard asterisk asterisms if no asterism image provided<br>Custom asterism image if provided

Four types of pages for different needs

Pre and Post content for final EPUB<br>Content for all versions<br>Promo content for promotional chapters<br>ARC content for advance review copy chapters

Automatically cleans up characters and typography

Automatic smart quotes<br>Automatic em dashes from --

Modes

EPublish supports 3 output modes:

Prod: Generates a ready-to-publish ebook in EPUB format<br>Draft: Generates a draft copy, without Pre or Post matter, just the contents, for reviewers<br>Arc: Generates an Advance Review Copy (for reviewers), without Pre or Post matter, but with any Arc chapters<br>Promo: Generates a promotional copy, without Pre or Post matter, but with any Promo chapters

Options

--style [Prod|Draft|Arc|Promo]: The output mode<br>[chapterCount]: The number of chapters to export

Support EPublish

Please support EPublish by reading my books.

Last modified on 20 Jun 2026 by AO<br>Copyright &copy; 2026 Andrew Oliver

epublish html epub ebook ready from

Related Articles