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.
- Before you start: reflowable or fixed layout?
- Method 1: Google Docs
- Method 2: Microsoft Word and Calibre
- Method 3: Apple Pages
- Method 4: Sigil, for full control
- Method 5: From images or a PDF, in your browser
- Add the title, author and cover
- Check your EPUB before sharing it
- Frequently asked questions
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:
- Reflowable: the text flows to fit any screen, and readers can change the font and size. This is right for novels, nonfiction, poetry and most text. Methods 1 to 4 make reflowable books.
- Fixed layout: every page keeps its exact design, like a PDF. This is right for comics, manga, children's picture books, cookbooks with complex pages and scans. Method 5 and Pages make fixed-layout books.
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.
- Write or paste your book into a Google Doc, using Heading 1 for chapter titles.
- Click File > Download > EPUB Publication (.epub).
- 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.
- 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. - Add it to Calibre: open Calibre and drag the DOCX onto the window, or click Add books.
- Fill in the details: select the book and click Edit metadata to set the title, author and cover image.
- Convert: click Convert books, set Output format (top right) to EPUB and click OK.
- 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.
- 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.
- On a Mac, choose File > Export To > EPUB.
- Enter the title and author, choose a cover (the first page or an image), and pick Reflowable or Fixed layout.
- 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.
- Open Sigil. It starts with a new, empty book that has one section.
- 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.
- Mark each chapter title as a heading (the heading buttons in the toolbar, or
<h1>in the code view). - Use Tools > Metadata Editor to set the title, author and language, and Tools > Add Cover to add a cover image.
- Generate the contents with Tools > Table Of Contents > Generate Table Of Contents.
- 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:
- Images: the images to EPUB converter turns PNG, JPG or WebP files into a fixed-layout EPUB 3 where each image is one page and the first image is the cover. Check the page order, type a title and author, and click Create EPUB. For manga, set Reading direction to Right to left; for big scans, tick Reduce file size. If your pages are in a comic archive, the CBZ to EPUB converter does the same from a CBZ file.
- A PDF: the PDF to EPUB converter offers Text, which rebuilds paragraphs and headings so the book reflows, or Exact layout, which keeps every page as an image. Exact layout is the only option for scanned PDFs, because a scan has no real text to reflow.
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 converterIf 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:
- The EPUB metadata editor changes the title, authors, series, language, description and more.
- The EPUB cover changer adds or replaces the cover with a JPEG or PNG image. 1600 × 2560 pixels is a safe size for most stores and e-readers; our guide to EPUB cover size explains why.
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 metadataCheck your EPUB before sharing it
- 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.
- Try a second device: apps render books differently. For a Kindle, see EPUB on Kindle.
- 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.