DOCX to EPUB - Turn a Word Document into an Ebook
Writers and teachers finish their work in Word, but readers read ebooks. This converter bridges the two on your own device: it reads the document with the mammoth.js library (vendored on this site - no server), turns it into clean book chapters, and packs a standard EPUB you can open in our EPUB Reader or any ebook app.
Word documents up to 20 MB. Converted on this device only - nothing is uploaded.
Chapters that will be created (from Heading 1 / Heading 2)
How to use this tool
- Click the box above (or drag and drop) and choose a .docx file up to 20 MB (the old .doc format is not supported).
- Review the chapter list built from your Heading 1 / Heading 2 styles, and set the book title and author (we pre-fill them from the document's own properties when present).
- Click Build EPUB & Download, then open the result in our EPUB Reader to check it.
How it works
The document is read by mammoth.js, which maps Word styles to book HTML: headings, paragraphs, bold and italic runs, lists, and images (which are extracted and stored inside the EPUB). The HTML is then split into chapters at Heading 1 and Heading 2, and packed as a standard EPUB - mimetype first and uncompressed, container, package file with manifest and spine, EPUB 3 navigation plus NCX - using the same builder as our Text to EPUB tool, so the result opens in our own EPUB Reader.
Worked example
A teacher converts a 40-page .docx class reader. Its six Heading 1 sections become six EPUB chapters, the bold key terms and numbered lists survive, and the two diagrams appear as images inside the chapters.
Frequently Asked Questions
Is this DOCX to EPUB converter free?
Yes - completely free, with no sign-up, no account and no limit.
Is my document uploaded to a server?
No. The document is converted 100% in your browser with JavaScript (mammoth.js runs locally from this site). It never leaves your device and is never stored by us.
What converts well, and what may simplify?
Headings, paragraphs, bold, italic, lists and images convert well. Complex styling, fancy or merged tables, text boxes, headers/footers, footnotes and exact page layout may be simplified or dropped. This is a partial conversion by design - the page says so up front, and you can review the EPUB in our Reader.
Why .docx only, not .doc?
The old binary .doc format needs a different parser. Save the file as .docx from Word (File, Save As) and convert that.
Will the EPUB open in real readers?
Yes. It uses the standard EPUB structure and is tested to open in our own EPUB Reader on this site.