Guides / Publishing how-to

How to Format a Book for Ebook and Print: A Step-by-Step Guide

To format a book, you clean up the manuscript, apply consistent styles, add front and back matter, then produce two files: a reflowable EPUB for ebooks and a PDF at your trim size for print, with margins, headers and page numbers set correctly. Choose a trim size early, give the inside margin extra room as the page count grows, and check both files carefully before uploading them.

Updated October 1, 20267 min read
On this page
  1. Step 1: finish the text first
  2. Step 2: clean up the manuscript
  3. Step 3: apply styles
  4. Step 4: add front and back matter
  5. Step 5: choose a trim size (print)
  6. Step 6: set margins and the gutter (print)
  7. Step 7: headers, footers and page numbers (print)
  8. Step 8: typography that reads well
  9. Step 9: create the EPUB (ebook)
  10. Step 10: export the print PDF
  11. Step 11: build the cover to fit
  12. Step 12: proof before you publish
  13. Non-fiction extras: images, tables and notes
  14. Keeping a series consistent
  15. Choosing a formatting tool
  16. Common formatting mistakes
  17. In short
  18. Questions

Formatting is where a manuscript becomes a book. It isn't glamorous, but readers notice it immediately: cramped margins, headers on chapter openings, a broken table of contents, text running into the spine. The good news is that the steps are the same for almost every book, and the right tool does most of the heavy lifting. This guide walks through the process in order, for both ebook and print.

BooksOasis publisher plans: Starter $29.99 a year for 10 books, Growth $179 a year for 100 books and Publisher $599 a year for 500 books
Once formatted, the same EPUB and print PDF can be uploaded to BooksOasis and every other store.
CleanStyles, not manual spacing.
Two filesEPUB and print PDF.
MarginsGrow the gutter with pages.
ProofCheck on real devices.

Step 1: finish the text first

Format the final text, not a draft. Every change after formatting risks shifting page breaks, and in print, changing the page count means a new spine width and a new cover. Finish editing and proofreading, then lock the manuscript. If you're using a tool that combines writing and formatting, such as LiberScript, you can keep working in one place, but still treat formatting as the last pass.

Step 2: clean up the manuscript

  • Remove manual spacing. No tabs or spaces for indents, no blank lines between paragraphs, no repeated returns to push text to a new page.
  • Use real page breaks (or chapter styles) to start each chapter.
  • Standardise scene breaks: one consistent marker, such as a centred ornament or three asterisks.
  • Fix quotation marks and dashes so they're consistent throughout.
  • Replace odd fonts and colours left over from drafting with plain text.

Step 3: apply styles

Styles are the foundation of good formatting. Every chapter heading should use the same heading style, every body paragraph the same body style, every block quote the same quote style. Formatting tools build the ebook's table of contents and the print book's layout from these styles, so consistency here saves hours later. In Word, use the built-in Heading and Normal styles; dedicated tools apply styles for you when you import.

Step 4: add front and back matter

Front matterBack matter
Title pageLink to your next book (first)
Copyright pageNewsletter invitation
Dedication (optional)Also by the author
Table of contents (print; ebooks generate their own)Acknowledgements
Epigraph (optional)About the author

Keep ebook front matter short: many readers sample the opening pages, and a long run of front matter eats into the sample. Put the next-book link at the very start of the back matter, where a reader who just finished is most likely to act.

Step 5: choose a trim size (print)

The trim size is the page size of your printed book. Choose it before laying out the interior, because it decides the page count and margins. Common choices are 5 x 8, 5.5 x 8.5 and 6 x 9 inches for fiction and most non-fiction, and 7 x 10 or 8.5 x 11 inches for workbooks and illustrated books. BooksOasis supports all five. See book trim sizes for how to choose.

Step 6: set margins and the gutter (print)

Margins keep text away from the trimmed edges and the spine. The inside margin, or gutter, needs to grow with the page count, because thicker books curve more at the spine. BooksOasis recommends at least 0.5 inch on every side, and an inside margin of:

Page countInside (gutter) margin
Up to 600.5 in
61 to 1500.625 in
151 to 4001 in
401 to 6001.125 in
More than 6001.25 in

If images or colour run to the edge of the page, add 0.125 inch of bleed on every side. Text-only interiors don't need bleed. See book print margins for more.

Step 7: headers, footers and page numbers (print)

Running heads usually show the author's name on left-hand pages and the book title (or chapter title) on right-hand pages. Leave them off chapter opening pages, blank pages and front matter. Page numbers typically start with the first page of the main text; front matter may use roman numerals or none at all. Chapters in traditionally designed books often start on a right-hand page, which can add blank pages; decide whether that matters for your book and your page count.

Step 8: typography that reads well

  • Body font: a readable serif for fiction and most non-fiction, around 10 to 12 points in print.
  • Line spacing: comfortable, often about 1.2 to 1.4 times the font size in print.
  • Indents: indent paragraphs, except the first after a heading or scene break.
  • Justification: justified text with hyphenation looks neat in print; avoid large gaps between words.
  • Widows and orphans: avoid single lines stranded at the top or bottom of a page.

Step 9: create the EPUB (ebook)

Ebooks reflow to fit each screen and reader's chosen font size, so they need clean structure rather than fixed layout. Export an EPUB from your formatting tool, then check it:

  1. Open it in at least two reading apps, and on a phone as well as a tablet.
  2. Check the table of contents links work.
  3. Check images are sharp but not huge, and fit the screen.
  4. Look for stray blank pages, odd spacing and headings stranded at the bottom of a screen.

Step 10: export the print PDF

Export the interior as a PDF exactly at your trim size (or trim size plus bleed), with all fonts embedded and images at print resolution. Check it at actual size, page by page: margins, headers, page numbers, chapter openings and the last page. Count the pages: this number decides your spine width, and it's the figure your printer uses for the cover.

Step 11: build the cover to fit

A print cover is one full-wrap file, back, spine and front, sized for your exact page count and paper. Build it after the interior is final, from your printer's template. On BooksOasis, once the interior is uploaded, each print format shows the exact cover size in inches and pixels at 300 dpi, the spine width, and a downloadable template marked with the trim, spine, safe area and barcode area. See book spine width.

Step 12: proof before you publish

Read the whole book once more in its final form. For print, order a proof copy if you can: problems that hide on a screen, such as tight gutters or faint text, jump out on paper. For ebooks, read the opening chapters on a phone, where most sampling happens.

Keep a short checklist beside you as you proof: chapter openings, page numbers, running heads, scene breaks, images, the table of contents, the copyright page and the back matter links. Ticking each item off for both files catches the small errors that are easy to miss when you've read the book many times already.

Non-fiction extras: images, tables and notes

Non-fiction brings extra elements that need care. Images should be high resolution for print (around 300 dpi at the size they'll appear) but reasonably small in the ebook, where huge files slow downloads. Tables that fit a printed page can overflow a phone screen, so keep ebook tables simple, or use an image for complex ones with the key points repeated in the text. Footnotes in print usually become endnotes or pop-up notes in ebooks; check that every note links correctly in both directions.

If your book is heavy with images, tables or complex layout, test those pages first in any tool you consider. Some books are best laid out by a professional designer, and that's worth knowing before you spend days wrestling with a tool.

Keeping a series consistent

If you write a series, format the first book with care and save its settings as a template: fonts, sizes, chapter heading style, scene break ornament, margins and trim size. Use the same template for every book, so the series looks like a set on the shelf and reads the same on screen. Keep the back matter structure consistent too, with the next book in the series always listed first. Most dedicated tools let you save and reuse styles, which makes each new book much faster than the first.

Choosing a formatting tool

You can do all of this in Word, but dedicated tools make it faster and safer. LiberScript runs in the browser and combines writing, critique and formatting; Atticus is a one-time purchase that runs on any device; Vellum is a polished Mac-only app; Kindle Create and Reedsy Studio are free. See the best book formatting tools for a full comparison.

Common formatting mistakes

MistakeFix
Text disappearing into the spineIncrease the gutter for your page count
Headers on chapter openingsSuppress headers on first pages
Blank lines for spacingUse paragraph spacing in styles
Broken ebook table of contentsUse heading styles consistently
Cover doesn't fitRebuild it for the final page count

Where BooksOasis fits

  • Upload an EPUB for the ebook and interior and cover PDFs for print.
  • An automatic print-readiness check tests the interior page by page and the cover against the exact wrap size.
  • Preview shows the cover with every zone marked and the interior as printed spreads.

What it doesn't do: BooksOasis doesn't format manuscripts or design covers.

See plans and pricing

In short

Finish the text, clean it up, apply styles, add front and back matter, choose a trim size, set margins that grow with your page count, then export an EPUB and a print PDF and check both on real devices and paper. Build the cover last, from your printer's template. Do it in that order, and your book will look as good as its words deserve.

Questions

How do I format a book for self-publishing?

Clean up the manuscript, apply consistent styles, add front and back matter, choose a trim size, set margins and headers for print, then export an EPUB for ebooks and a PDF at your trim size for print. Check both before uploading.

What's the difference between ebook and print formatting?

Ebooks reflow to fit each screen, so they need clean structure rather than fixed layout. Print books need a fixed page size, margins, headers, page numbers and correct page breaks.

What trim size should I use?

Novels commonly use 5 x 8, 5.5 x 8.5 or 6 x 9 inches; non-fiction often 6 x 9; workbooks and illustrated books 7 x 10 or 8.5 x 11. BooksOasis supports all five.

What margins does a print book need?

BooksOasis recommends at least 0.5 inch on every side, with a larger inside (gutter) margin as the page count grows: 0.5, 0.625, 1, 1.125 and 1.25 inches for up to 60, 150, 400, 600 and more than 600 pages.

Do I need bleed?

Only if images or colour run to the edge of the page. Then add 0.125 inch of bleed on every side. Text-only interiors don't need bleed.

What goes in front matter?

Usually a title page, copyright page and, optionally, a dedication and table of contents. Keep ebook front matter short so readers reach the story quickly.

What should be in back matter?

A link to your next book first, then a newsletter invitation, acknowledgements and an author bio.

Can I format a book in Word?

Yes, if you use styles and section breaks properly, though dedicated tools make ebooks and print files faster and with fewer errors.

How do I check my files?

Open the EPUB in several reading apps and on a phone; check the print PDF at actual size, and order a printed proof if you can.

Does BooksOasis check print files?

Yes. It checks the interior page by page against the trim size and the cover against the exact wrap size for your page count before submission.

Publish your formatted book

Upload your EPUB and print PDF; BooksOasis checks print files automatically.
See plans and pricing