beukbeuk.studio your EPUB & print studio

Formatting

Why copying and pasting from Word ruins e-books

Word keeps a hidden record of every font, size and stray tab you ever applied, and an e-reader treats that record as orders, so here is what comes across and how to start from a clean file.

You open your new e-book on a Kindle, tap the table of contents and find one entry where there should be thirty. Switch the reader to a black background and whole paragraphs vanish, while the indents sit at slightly different depths from chapter to chapter.

The manuscript looked perfect in Word. That is the trouble. Word shows you the result of its formatting and hides the instructions behind it, and an e-book is made of instructions.

What Word remembers that you can't see

Text in a Word document carries two kinds of formatting. Styles are named and shared: Normal, Heading 1, Quote. Direct formatting is anything you applied by hand to a word or paragraph, such as a font, a size or a colour. On screen the two can look identical. Underneath, a paragraph built with a style says “this is a chapter heading”, while one built by hand says only “Garamond, 20 point, bold, black”.

When you paste, Word asks what to do with the formatting that came along. Microsoft's help page names the main choices Keep Source Formatting, Merge Formatting and Keep Text Only.5 Choose the first and the old fonts and sizes arrive with the words, which is how a chapter rescued from an old draft or an email ends up quietly different from its neighbours.

This habit of carrying everything is by design. Back in 2000, Microsoft's resource kit for Office 2000 explained that Office used XML “and other methods to ensure that formatting, special characters, document properties, and similar information are preserved” when a file was saved as HTML.10 Word's web output was built to come back into Word intact, not to be lean. An Indiana University help page, now archived and last updated in 2018, warned that Word's extra XML and CSS tags “can almost double the length of your document”.11 That is a university help desk rather than Microsoft, so take the figure as a rough historical guide.

A test: one messy novel, one clean one

To see what survives conversion, I built two versions of the same short book and ran both through two free converters. This is my own test, not a store's. I made the Word files with the python-docx library rather than with Word itself, and converted them with LibreOffice 24.2 and pandoc 3.1.3 in December 2026. Other converters, including the ones the stores run, may behave differently in the details.14

Both books have 20 chapters of 60 paragraphs, 1,200 paragraphs in all, built from three sentences of sample text I wrote for the test. The clean version uses the Heading 1 style for chapter titles and Normal for everything else. The messy version does what plenty of manuscripts do: chapter titles in big bold type, a tab at the start of each paragraph, an empty paragraph after each one for breathing room, and Garamond, 12 point and black set by hand on every run of text.

What I measuredMessyClean
Web page body (LibreOffice)358,227 bytes157,987 bytes
Font tags in that page3,6600
Empty paragraphs1,2400
Chapters in the EPUB contents (LibreOffice)0 (one entry, “Section 1”)20
Chapters in the EPUB contents (pandoc)020

The messy page is about 2.3 times the size of the clean one (358,227 ÷ 157,987 ≈ 2.27). The 1,240 empty paragraphs are the 1,200 spacers plus the two blank lines under each of the 20 chapter titles (1,200 + 20 × 2). In the LibreOffice EPUB, each spacer became a paragraph holding a single non-breaking space, and each tab became a run of 16 ordinary and non-breaking spaces.

Then came a surprise. Zipped, the messy EPUB was the smaller file, 4,194 bytes against 15,021, because repetitive markup compresses well and the clean book was split into 20 chapter files. File size turns out to be the wrong worry. The damage is in what the markup tells the reading device.

The worst loss had nothing to do with size. Big bold text is not a heading, and neither converter could tell that “Chapter 7” was a chapter. LibreOffice put the whole book in one file with one contents entry. Pandoc turned all 20 chapter titles into bold paragraphs inside a single section. A reader tapping Contents would find nothing to tap.

What the stores actually ask for

Amazon publishes the plainest rules, and they read like a charge sheet against my messy file. As of December 2026, KDP's text guidelines for reflowable e-books say body text should not have an imposed font colour, must use the default font size, must not use non-breaking spaces in place of normal spaces between words, and should avoid double spacing between paragraphs.2 Its HTML guidelines explain why the colour rule matters:3

“If the body text color or background color is forced to black & white, the text may not be visible in night mode.”Amazon KDP, Basic HTML Formatting Guidelines

My messy file forced black on every paragraph. On a phone in dark mode, that is black type on a black screen. KDP's eBook Manuscript Formatting Guide adds, in a bracket that deserves more attention than it gets, that “Tab spacing doesn't convert to Kindle”, and asks you to press Enter only to start a new paragraph or to make deliberate extra space.1

Underneath every store sits the EPUB standard. The W3C's EPUB 3.3, a Recommendation dated 13 January 2026, says EPUB content documents come in two flavours, XHTML and SVG, and that EPUB 3 supports CSS.12 In plain terms, each chapter of your e-book is a small web page, and every leftover font tag is an order the reading app must either follow or override.

I could not quote Apple's or Kobo's rules here. Apple's Books Asset Guide and Kobo Writing Life's help centre would not load for me in December 2026, so check them directly before you lean on this section for those stores.

The mistakes that cause it

None of this is new. The Smashwords Style Guide, first released in 2008, was still advertising more than 500,000 downloads on its store page when I checked.13 The same handful of habits turn up every time.

  • Indenting with Tab or the spacebar. KDP's guide sets the indent once in the Normal style instead, and suggests 0.2 inches (5 mm).1
  • Pressing Enter twice for space. Each press is an empty paragraph. In my test LibreOffice kept all 1,240 and pandoc dropped them, so the same file spaced out differently depending on the converter.
  • Making titles look like headings instead of styling them as headings. The table above shows the cost.
  • Pasting chapters in with their old formatting. Chapter twelve, written in a different file a year ago, keeps its own font and size.
  • Leaving Track Changes on. KDP asks you to make sure it is off before you upload.1
  • Trusting the Document Inspector to catch everything. Microsoft says it finds text formatted as hidden but “cannot detect text that was hidden by other methods (for example, white text on a white background)”.7 White text you can't see in Word may show up plainly on a reader with a black background.
  • Stripping everything through Notepad. Pasting the book into a plain-text editor is a fix you will see suggested online, and it does remove the clutter. Plain text cannot hold italics, though, so it removes every one of yours too.

How to start with a clean file

The Microsoft paths and shortcuts below come from its own help pages, as of December 2026. The order is my advice.6

  1. Work on a copy. Microsoft recommends running the Document Inspector on a copy of the original, and the same caution suits any clean-up.7
  2. Deal with italics first. The Replace box (Home, Editing, Replace) has a Format button that searches by font formatting.9 Use it to find every italic and give them a character style of your own. Microsoft's page describes the button but not the full steps, so expect a little trial and error.
  3. See what's really there. Ctrl+Shift+8 shows tabs and paragraph marks. Shift+F1 opens the Reveal Formatting pane.
  4. Clear the hand formatting. Select all, then press Ctrl+Spacebar to remove manual character formatting and Ctrl+Q to remove paragraph formatting. KDP's paperback help gives the same two shortcuts.4 Italics held in a character style aren't manual formatting, so they should survive, but check. Clear All Formatting in the Home tab's Font group removes italics along with everything else.8
  5. Rebuild with styles. Set the Normal style once, as KDP suggests (spacing before and after 0 pt, single line spacing, a 0.2-inch first-line indent), then apply Heading 1 to every chapter title.1
  6. Paste new material as text. Ctrl+Shift+V pastes text only. To make that the default, go to File, Options, Advanced, then Cut, copy, and paste, and change Pasting from other programs.6,5

Before you upload

  • Every chapter title uses a heading style, and your converter's contents list shows each one.
  • No tabs or spacebar indents remain (Ctrl+Shift+8 will show them).
  • No empty paragraphs are doing the job of spacing.
  • Body text has no font, size or colour set by hand.
  • Track Changes is off, and the Document Inspector has been run on a copy.
  • Your italics are still there after the clean-up.
  • You have opened the finished EPUB in a reading app's dark mode and read a chapter.
Beukbinders postage stamp seal
Bound and checked at Beuk Studio Press.

How this was made: this article was drafted by Beuk correspondent with the help of Claude, an AI model made by Anthropic, and every fact in it was checked against the sources below.

Sources

  1. “eBook Manuscript Formatting Guide”
    Amazon Kindle Direct Publishing · kdp.amazon.com
    Supports the Normal-style settings (0 pt spacing, single line spacing, 0.2-inch indent), “Tab spacing doesn't convert to Kindle”, the rule on hard returns, and turning Track Changes off.
  2. “Text Guidelines - Reflowable”
    Amazon Kindle Direct Publishing · kdp.amazon.com
    Supports the rules on imposed font colour, default font size, non-breaking spaces and double spacing.
  3. “Basic HTML Formatting Guidelines”
    Amazon Kindle Direct Publishing · kdp.amazon.com
    Supports the quoted night-mode warning.
  4. “Convert a Paperback Word File to PDF”
    Amazon Kindle Direct Publishing · kdp.amazon.com
    Supports Ctrl+Q and Ctrl+Space as KDP's own clean-up shortcuts (a paperback guide).
  5. “Control the formatting when you paste text in Word”
    Microsoft Support · support.microsoft.com
    Supports the paste option names and the File, Options, Advanced path to the paste defaults.
  6. “Keyboard shortcuts in Word”
    Microsoft Support · support.microsoft.com
    Supports Ctrl+Shift+V, Ctrl+Spacebar, Ctrl+Q, Shift+F1 and Ctrl+Shift+8.
  7. “Remove hidden data and personal information by inspecting documents, presentations, or workbooks”
    Microsoft Support · support.microsoft.com
    Supports the quoted limit on hidden text and the advice to inspect a copy.
  8. “Clear all text formatting”
    Microsoft Support · support.microsoft.com
    Supports where Clear All Formatting sits and that it removes italics.
  9. “Replace Text” and “Find and replace text in Word”
    Microsoft Support · support.microsoft.com
    Supports the Home, Editing, Replace path and the Format button.
  10. “Transferring Files Between HTML and Office Document Formats”, Microsoft Office 2000 Resource Kit
    Microsoft Learn (archived) · learn.microsoft.com
    Supports the quoted explanation of how Office preserves formatting in HTML.
  11. “When I use Microsoft Word to make web pages, why is the resulting code so long?” (archived)
    Indiana University Knowledge Base · kb.iu.edu
    A secondary source, used for history only. Supports the “almost double” quote and the 2018 last-modified date.
  12. “EPUB 3.3”, W3C Recommendation, 13 January 2026
    W3C · w3.org
    Supports XHTML and SVG content documents and CSS support.
  13. “Smashwords Style Guide”, Mark Coker
    Smashwords · smashwords.com
    Supports the 2008 release and the download figure the store page advertises.
  14. Beuk Studio Press's own conversion test
    Two Word files made with python-docx 1.2.0, converted with LibreOffice 24.2.7.2 and pandoc 3.1.3
    Supports every figure in the test table and the paragraphs around it.