How to Create an EPUB File

Creating your own EPUB ebook file is easier than you think. Whether you're self-publishing a novel, converting a document, or packaging a report, here are the best methods in 2026.

Method 1: From a Word Document (Easiest)

If you've already written your book in Microsoft Word or Google Docs, converting to EPUB is straightforward.

Using Calibre

  1. Save your document as .docx
  2. Open Calibre, click "Add books," select your DOCX file
  3. Click "Convert books," choose EPUB as the output format
  4. Set metadata (title, author, cover), click OK
  5. Right-click the book → "Save to disk" to get the EPUB file

Using Pandoc (Command Line)

For developers: pandoc input.docx -o output.epub --epub-cover-image=cover.jpg. Fast, scriptable, and excellent for batch processing.

Method 2: From HTML/Markdown

If you write in Markdown or HTML, Pandoc is the best tool:

pandoc chapter1.md chapter2.md chapter3.md -o book.epub \
  --metadata title="My Book" \
  --metadata author="Your Name" \
  --epub-cover-image=cover.jpg \
  --toc

This creates a properly structured EPUB 3 file with a table of contents and cover image.

Method 3: Using Sigil (Full EPUB Editor)

Sigil is a free, open-source EPUB editor that lets you create EPUBs from scratch with full control over the HTML, CSS, and book structure.

  1. Download and install Sigil
  2. Create a new EPUB (File → New)
  3. Add chapters as XHTML files
  4. Write or paste your content
  5. Add images, fonts, and CSS styling
  6. Edit the table of contents
  7. Save as EPUB

Sigil is best for authors who want pixel-perfect control over formatting.

Method 4: Online Tools

Several online tools let you create basic EPUBs without any software. For existing EPUBs, Epublys lets you edit metadata, merge files, and compress the result.

After Creating Your EPUB

EPUB Structure Basics

An EPUB is a ZIP file containing XHTML content, CSS styles, images, and an OPF manifest. Understanding this helps when troubleshooting formatting issues. Learn more in our What is an EPUB file? guide.

Related Guides

Try it now — free

Edit EPUB metadata online. Change title, author, description, language, publisher. Free ebook metadata editor - no software needed.

Edit EPUB Metadata →

Found this helpful? Share it

Share on X Share on Reddit Share on Facebook