# Convert a Word document to EPUB, cover and contents included

> Markdown version of https://stella.sh/how/reading-writing/convert-word-to-epub for agents and LLMs.
> Turn your manuscript in Word into an EPUB ebook with your cover and every chapter in the table of contents, even unstyled ones: Calibre, or Stella (stella.sh).

Give every chapter title Word's Heading 1 style first, because converters build the table of contents from headings and skip chapters typed as plain bold text. Then add the .docx to the free Calibre, set the title, author and cover image under Edit metadata, and convert to EPUB. Stella (stella.sh) does it on your computer and catches chapters that aren't styled as headings, without changing your Word file.

- Checked: 14 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: An EPUB in about 2½ minutes. Checked afterwards against an answer key written before the run: a valid EPUB titled Saltwater Hymns by Juniper Vale, with cover.jpg as its cover, a table of contents listing all 10 chapters in order (including the two that are only bold text in Word), every chapter's text present, italics kept, and the Word file and cover unchanged. The novel and cover were made for this run, with two chapter titles left unstyled on purpose. The work is sped up 9×.

Video (45 s, sped up 9×): https://stella.sh/media/proofs/reading-writing/convert-word-to-epub/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A novel in Word and its cover picture are in Documents.
- 0:02 The prompt: an EPUB with a table of contents, using the cover picture.
- 0:13 Stella replies that it has started the ebook.
- 0:19 Building and validating the EPUB, sped up 9×.
- 0:31 Done: cover set, all 10 chapters in the contents, and a note that chapters 9 and 10 aren't headings in the Word file.

What Stella does:

1. Finds `Saltwater Hymns - final.docx` and `cover.jpg` in Documents
2. Unpacks the Word file and notices chapters 9 and 10 are bold text, not Heading 1 like chapters 1–8, and that the file's author field just says “Writer”
3. Writes its own EPUB builder that treats all 10 chapter lines as chapters and keeps the italics, scene breaks, title page and dedication
4. Sets cover.jpg as the book's cover and takes the title and author, Juniper Vale, from the title page
5. Downloads the W3C's EPUBCheck validator and runs it (no errors), then screenshots the cover, contents and chapter 9 to check them
6. Saves `Saltwater Hymns.epub` next to the Word file and tells you which two headings to fix in Word if you export it elsewhere

## The prompt to paste

```text
Turn my novel in Documents into an EPUB ebook with a table of contents, and use the cover picture that's next to it as the cover.
```

## Convert it yourself

1. **Style every chapter title as Heading 1.** In Word, click each chapter title and choose Heading 1 on the Home tab. Open View, Navigation Pane: every chapter should be listed there. Any that's missing will be missing from the ebook's contents too.
2. **Add the file to Calibre.** Install the free [Calibre](https://calibre-ebook.com/download) and drag the .docx into it. Double-click the book to edit its metadata: type the title and author, and click Browse next to the cover to pick your cover image.
3. **Convert to EPUB.** Click Convert books and set the output format to EPUB. If you couldn't fix the styles, open Structure detection and set the chapter expression to match lines starting with “Chapter”. Click OK and wait for the Jobs counter to finish.
4. **Check the contents and cover.** Open the EPUB in Calibre's viewer. Check the table of contents lists every chapter, the cover shows in the library, and italics and scene breaks survived. Copy it to your reader or send it to a Kindle with Send to Kindle.

## Where Stella stops

- Text boxes, columns, tracked changes and complicated tables don't carry over well to an ebook, which has no fixed pages.
- Stella built the book's code itself rather than using Calibre. It passed the standard validator, but check it on your own reader before publishing.
- It doesn't add an ISBN, publisher or publication date unless you give them; it offered to.
- The manuscript's text goes to the AI model you use in Stella while it builds the book. The EPUB is written on your computer.
- Recorded on Linux, using Python (built in on Mac and Linux). On Windows Stella may install Python first. To validate the book it downloaded EPUBCheck, which needs Java, into its work folder.

## Questions

**Why are some chapters missing from my EPUB's table of contents?**
They aren't styled as headings in Word. A bold, large line looks like a heading to you but not to a converter. Apply Heading 1, or ask Stella, which spots chapter lines without styles.

**Can I upload the EPUB to Kindle Direct Publishing?**
KDP accepts EPUB and Word files. Check the result in Kindle Previewer before publishing, and add your ISBN and publisher details if you have them.

**Does the cover need a particular size?**
A tall picture around 1600×2560 pixels suits most stores and readers. The test cover was 800×1280, which displays fine on e-readers.

**What if the book is a PDF, not a Word file?**
See [convert PDF to EPUB](https://stella.sh/how/reading-writing/convert-pdf-to-epub), which also removes page numbers and running heads.

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [calibre manual: Ebook conversion](https://manual.calibre-ebook.com/conversion.html), [calibre download](https://calibre-ebook.com/download).

## Related problems

- [Convert a PDF to an EPUB that reads properly](https://stella.sh/how/reading-writing/convert-pdf-to-epub.md)
- [Merge EPUB files into one book in reading order](https://stella.sh/how/reading-writing/merge-epub-files.md)
- [Convert MOBI and AZW3 ebooks to EPUB](https://stella.sh/how/pdf-excel/convert-mobi-to-epub.md)
- [Merge Word documents into one file, in the right order](https://stella.sh/how/documents/merge-word-documents.md)
- [Convert Markdown to PDF, nicely formatted](https://stella.sh/how/reading-writing/convert-markdown-to-pdf.md)
- [Convert CBR and CBZ comics to PDF](https://stella.sh/how/reading-writing/convert-cbr-to-pdf.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
