How do you create an EPUB file?

The quickest free way to create an EPUB file is to write your book in a word processor and export or convert it: Google Docs and Apple Pages save EPUB directly, and Calibre turns a Word document into an EPUB in a few clicks. For comics, picture books and photo books, our free images to EPUB converter builds the book from your pages in the browser. Below are five free ways, which one fits your book, and how to check the result before you share or sell it.

Captain EPUB holding up a giant pencil that draws a dashed trail into a brand-new EPUB file, with DOC, IMG and PDF pieces at his side

Before you start: reflowable or fixed layout?

An EPUB is a ZIP archive of web pages (one per chapter), a stylesheet, images and a few files that describe the book. Every method below writes those files for you; what you choose is the kind of EPUB:

If you aren't sure, our comparison of EPUB vs PDF explains when a fixed page is worth losing reflow. Whatever you use, one habit makes every result better: mark chapter titles with heading styles (Heading 1 in Word and Google Docs, a Heading or Chapter style in Pages) instead of just making the text big and bold. Converters use those headings to split chapters and build the table of contents.

Method 1: Google Docs

Google Docs is free in any browser and exports EPUB with no add-ons.

  1. Write or paste your book into a Google Doc, using Heading 1 for chapter titles.
  2. Click File > Download > EPUB Publication (.epub).
  3. The EPUB downloads with the document's name.

It's the fastest route, but the export is basic: complex formatting may not survive, and the book has no cover. It works best for short, mostly text books. Add a cover and author afterwards (see the finishing step).

Method 2: Microsoft Word and Calibre

Word can't save an EPUB on its own, but Calibre, a free ebook manager for Windows, macOS and Linux, converts a Word document into a clean one. This is the most common route for authors who write in Word.

  1. Prepare the document: use Heading 1 for chapter titles (and Heading 2 for sections, if you have them), insert a page break before each chapter, and save it as .docx.
  2. Add it to Calibre: open Calibre and drag the DOCX onto the window, or click Add books.
  3. Fill in the details: select the book and click Edit metadata to set the title, author and cover image.
  4. Convert: click Convert books, set Output format (top right) to EPUB and click OK.
  5. Get the file: when the job finishes, right-click the book and choose Open containing folder. The EPUB is next to your DOCX in Calibre's library folder.

Calibre builds the table of contents from your heading styles, which is why step 1 matters. If chapters come out merged, check that every chapter title uses a heading style, not bold text. The same steps work for LibreOffice Writer files saved as DOCX.

Tip: if you already have a finished EPUB and want to go the other way, to revise it in Word, see EPUB to Word. For small fixes to an existing EPUB, editing it directly is faster: see how to edit an EPUB.

Method 3: Apple Pages

Pages is free on Mac, iPad and iPhone and exports EPUB directly, including fixed-layout books.

  1. Start from one of the Books templates, or open your own document. Portrait book templates can be exported as reflowable or fixed layout; landscape templates only as fixed layout.
  2. On a Mac, choose File > Export To > EPUB.
  3. Enter the title and author, choose a cover (the first page or an image), and pick Reflowable or Fixed layout.
  4. Click Next, choose where to save, and click Export.

At the time of writing, Apple notes that footnotes become endnotes in a reflowable export and are not kept at all in a fixed-layout one.

Method 4: Sigil, for full control

Sigil is a free, open-source EPUB editor for Windows, macOS and Linux. You build the EPUB itself instead of converting it, which suits anyone who wants clean code or custom styles.

  1. Open Sigil. It starts with a new, empty book that has one section.
  2. Paste or type your first chapter. To start a new chapter, place the cursor where it begins and use Edit > Split At Cursor, or add a blank section from the Book Browser.
  3. Mark each chapter title as a heading (the heading buttons in the toolbar, or <h1> in the code view).
  4. Use Tools > Metadata Editor to set the title, author and language, and Tools > Add Cover to add a cover image.
  5. Generate the contents with Tools > Table Of Contents > Generate Table Of Contents.
  6. Save with File > Save As. Sigil writes a valid EPUB.

A common workflow is to convert with Calibre first and polish the result in Sigil.

Method 5: From images or a PDF, in your browser

If your book is already a set of pages rather than flowing text, you don't need a word processor. Our free converters build the EPUB on your own device, with no account and nothing uploaded:

Turn your pages into an EPUB

Comics, picture books, scans or photo albums: free, in your browser, and your images never leave your device.

Open the images to EPUB converter

If you're making a comic or manga to sell on Kindle, Apple Books, Kobo or Google Play, our paid Comic & Manga EPUB Kit adds what the stores ask for on top of a basic fixed-layout book, such as one page size, spreads on the correct sides and a pre-publish check.

Add the title, author and cover

Many quick exports leave the metadata thin: Google Docs uses the document name as the title, and converted files often have no author or cover. Reading apps and stores show this information, so fix it before sharing:

Both run in your browser and change only the book's description and cover, never your text.

Finish your EPUB in a minute

Set the title, author and language, and add a cover. Free, and the book stays on your device.

Edit EPUB metadata

Check your EPUB before sharing it

  1. Read it: open the book in our online EPUB reader or one of the apps in how to open EPUB files. Page through the table of contents, the first lines of each chapter, the images and the cover.
  2. Try a second device: apps render books differently. For a Kindle, see EPUB on Kindle.
  3. Validate it: for any book you plan to sell or upload to a store, run it through EPUBCheck, the official validator. Stores check books with it, and it reports structural errors that some reading apps quietly ignore.

Frequently asked questions

What is the easiest way to create an EPUB file?

For a text book, Google Docs: write it, then choose File > Download > EPUB Publication (.epub). For a book made of pictures, our images to EPUB converter: add the images and click Create EPUB.

Can I create an EPUB in Microsoft Word?

Not directly, because Word doesn't save EPUB files. Save the book as DOCX with heading styles for chapters, then convert it with Calibre as shown in Method 2.

Can I create an EPUB on my phone?

Yes. Pages on iPhone and iPad exports EPUB, and our images, CBZ and PDF converters, metadata editor and cover changer all work in a phone's browser. Writing a long book is still easier on a computer.

How do I make an EPUB from a PDF?

Use the PDF to EPUB converter. Choose Text for a novel or a report you want to reflow, or Exact layout to keep every page as it looks. If you still have the original Word or Pages file, converting that instead usually gives a cleaner book.

Related guides