KDP Publishing 4 min read

How to Format Your AI Manuscript for Amazon KDP

Stop fighting with Microsoft Word margins. Learn how to format and export your book perfectly for Kindle.

How to Format Your AI Manuscript for Amazon KDP

You have finished writing your book using WritebookAI. The content is solid, the chapters flow logically, and you are ready to share it with the world. Then you hit the wall that stops thousands of first-time self-publishers: Amazon KDP formatting.

Formatting is where dreams come to die. Authors who spent months writing their book spend additional weeks fighting with Microsoft Word, only to upload the manuscript and get cryptic errors from the Amazon KDP previewer. Here is how to avoid all of that.

Why Amazon KDP Formatting Is So Painful (Without the Right Tool)

Amazon’s Kindle and print systems have specific technical requirements. A manuscript that looks fine on your screen can render as garbage on a Kindle because:

  • Heading styles must be applied using proper Word styles, not manual bold formatting
  • The Table of Contents must be dynamically linked to heading tags, not typed out manually
  • Page breaks must be inserted between chapters, not simulated with empty lines
  • Margins must meet Amazon’s specific tolerances for paperbacks (different for gutter vs. outer margins)
  • Font embedding must be handled correctly for print
  • Image resolution must be at least 300 DPI for print, with specific placement rules

If you write your book in ChatGPT and paste it into Word, here is what you face:

  1. Copy-pasting 50,000 words into a blank Word document
  2. Manually highlighting every chapter title and applying an H1 style
  3. Building a Table of Contents — which immediately breaks when you add or delete a paragraph
  4. Setting custom margins for every section
  5. Inserting page breaks between every chapter
  6. Uploading to Amazon and getting "Error: Formatting issues detected"
  7. Downloading the previewer, discovering the TOC links to the wrong pages, and starting over

This process routinely takes 10–30 hours for a standard manuscript.

The WritebookAI Solution: Structure-First Export

WritebookAI eliminates this entirely because of how it structures your book from the beginning.

When you write a book in WritebookAI, you write inside a chapter-based editor. The platform knows that "Chapter 1: The Beginning" is a chapter title, that the text beneath it is body copy, and that "Section Heading" is a subheading. This structural knowledge is baked into the document.

When you export, WritebookAI does not just dump text into a file — it generates a properly structured document with all the technical requirements pre-applied.

Step 1: Finalize Chapter Order

Before exporting, confirm your chapters are in the correct order in the WritebookAI sidebar. Drag and drop to rearrange if needed. Check that every chapter title is properly named (these become your TOC entries).

Step 2: Choose Your Export Format

Click the Export button. WritebookAI offers three formats optimized for different publishing purposes:

EPUB (Recommended for Kindle eBooks) EPUB is the native format for Kindle devices and apps. EPUBs are dynamic — they reflow text based on the reader’s font size, screen size, and device. WritebookAI generates clean, validated EPUB code that passes Amazon’s technical requirements. This is the best choice for most eBook authors.

DOCX (Recommended for Print or Human Editing) The DOCX export applies proper Word styles throughout: correct heading levels, indented body paragraphs, consistent spacing, and embedded chapter breaks. Send this to a human editor or use it as the input for Amazon KDP’s paperback publishing (where you can use their template system). WritebookAI’s DOCX exports use standard publishing styles that work immediately with Amazon’s upload system.

PDF (For Direct Sales or Print Proofs) PDF is ideal if you are selling your eBook directly on your own website or Gumroad, or if you need a print proof for a physical copy. PDFs preserve exact formatting across all devices.

Step 3: Automated Table of Contents

You do not need to build your Table of Contents manually. WritebookAI automatically generates a dynamic, clickable TOC based on your chapter titles and subheadings. This TOC is embedded in the EPUB and DOCX in the format Amazon requires.

In an EPUB, this means each TOC entry is hyperlinked — tap a chapter title on a Kindle and you jump directly there. Amazon’s quality requirements mandate this, and WritebookAI handles it without any input from you.

Step 4: Upload to KDP

Log in to kdp.amazon.com and click "Create a New Title." Under the Content tab, upload your EPUB or DOCX file. Launch the Kindle Previewer and browse through several chapters on the simulated Kindle, phone, and tablet views.

With a WritebookAI export, the previewer almost always loads cleanly on the first try. Headings render correctly, the TOC functions, page breaks appear between chapters, and body text is properly indented.

For Paperback Authors

If you are publishing a print edition, export the DOCX and download Amazon KDP’s free paperback template for your chosen trim size (6" x 9" is standard for most business and self-help books). Paste your exported content into the template, which automatically applies Amazon’s required margin and gutter settings.

Formatting used to be the hardest part of self-publishing. With WritebookAI, it is an afterthought.

Start writing your formatted book →

Related Guides

Ready to write your next book?

Join thousands of authors who use WritebookAI to write, edit, and publish faster.

Start Your Free Trial