How to Format Your Book for the Kindle

Some time ago, MakeTechEasier gave you an extensive 3-part guide to formatting a book using OpenOffice.org. That guide was specifically oriented toward print publications, and while it may be sufficient for PDF ebooks, formatting a book for Amazon’s Kindle e-reader takes a little more attention and care.

Generally speaking, a Kindle book is just HTML and CSS. The part that can be difficult is figuring out which tags the Kindle actually supports. There are also a couple of unique tags that are not standard HTML but that you can use to add formatting to your Kindle book.

Getting Started

If you are using Amazon’s Kindle Direct Publishing (KDP) service, it is quick and easy to publish your book. This guide assumes you already have the book finished, know how to use Amazon’s KDP website, and have a basic knowledge of HTML.

The first thing you should do is sign up for KDP, and after you have an account, click “Add a new title”. Enter in all of the information you have about your book and add a cover image if you want. The last thing you will do on this page will be to upload the actual book. For now, do nothing else or save the book as a draft and come back later.

Kindle e-book reader

Formatting

Since the Kindle is formatted in HTML, you could export your current document from OpenOffice.org or other software directly to HTML using the KDP upload interface. The important thing to note is that some formatting may not work correctly. I found the best method to be using plain text and reformatting the entire book. To do this, follow these steps:

1. Use your HTML editor of choice to create a new document. You can use standard XHTML in the DOCTYPE. Save the new document in a new folder.

2. In the title tag, put the title of your book:

3. To create a title page, you can use the header tag (<h1></h1>) or use an image. To center-align any text, use an inline css style (or simple stylesheet), for example:

4. The Kindle does not recognize whitespace, so artificially inserted breaks will not show up. If you want to skip a page or simply start a new page at the end of a chapter, you must use a special tag:

Any place you insert that tag will automatically start a new page.

5. For every new paragraph, use the <p> tag, and the Kindle will automatically indent it.

6. For any images, save them in the same folder with your document and link to them with the normal tag:

Kindle Direct Publishing preview screenshot

7. If you absolutely need to add white space, you can use formatting like this:

8. For italics, use <em> and for bold use <strong>

Finishing and Publishing

There is really not much else to it. If you add too many styles and try to get fancy, you may find that they do not work or do not show up correctly. Remember, Kindle readers are accustomed to reading a black and white screen with plain pages and text. Adding too many spaces or strange formatting will probably just annoy them. You should leave it up to them and their configuration options to make any subtle formatting changes. They just want your readable content, not your visual artistic creation.

Once you have the book formatted, compress the entire folder with your HTML, optional CSS file and images to a zip file and upload it into Amazon’s KDP interface. Once uploaded, click “Preview book” to make sure it looks the way you intended. Generally speaking, the preview will show you how it will look on the Kindle. If it all looks good, go ahead and publish. If something is out of place, edit your HTML again and re-upload it until it is right.

Kindle book sales page

Once the work is published, you may find that something is not quite right on the actual Kindle. In that case, you can still edit it and resubmit it to Amazon, without losing any of your other settings. E-book formatting is different for every reader, so you will still need to learn how to format your book for the Barnes and Noble Nook and others. Enjoy your new publishing audience and be sure to share your books with us.

Image credits: Wikipedia and Flickr

7 comments

  1. Hi Tavis,
    Thanks for this information. I’ve been all over the www and I”m confused at the different information I’m reading. I’m wondering if you can clarify one point. Here you say HTML is the best way to format your ebook for Kindle. I realize this post was published February  16th and that things go fast around here ;o but on the KDP site is lists many options for formatting including .doc. What am I missing?
    Thanks!
    Lori

    1. Lori,
      You can upload your DOC or PDF files, but formatting will likely be undesirable for Kindle. The code in DOCs and PDFs is messy, while HTML is clean (after you have cleaned it up).

      In order to do this, you need to learn basic HTML. It sounds scary, but HTML is easy.

  2. Thanks for the great guide! 

    Do you have any advice on creating a working table of contents? Thanks in advance!

  3. I have created a book and saved it as html. However when I sent it to a friend via e mail for opinion etc. the pictures failed to appear. They were inserted into the original word.doc (as jpg images) and look ok on my pc. What have I done wrong?

    1.  lol u have to send the whole folder if u want to send a ebook u have to have a compiler once u are done it takes all the files and combines uminto one neat pkg .

  4. I found ‘No Bull Guide to Kindle For Non Techies – Format Books For Kindle in Microsoft Word 2007 – 2010’ to be very useful. It shows you how to edit the whole of your text without the need for html. I did it all in word.

  5. I just recently finished my first e-book (which is a poetry magazine). When I learned that what I was dealing with was an extra long webpage, I thought that in future I should hand code the next e-book in the series. With my poetry blogs, I hand code each entry. It seems to work better than the “idiot proof” text interface device. I suspect that with e-books that it would be the same. What do you think about this, would it be easier to hand code a poetry e-book rather than formatting it in word and converting it to a html doc?

    If you hand code an e-book, with Microsoft products, what program would one use as a coding palette? Could you use notepad?

Comments are closed.

Sponsored Stories