How To Format a Children's Book for the Kindle

Before the end of the year, I wanted to complete a "to do" list item that has been nagging at me too long. The task: Release my children's book (Two Boys, Two Planets) for the Kindle. As a non-color, text-oriented reading tool, the Kindle was originally not well suited to children's picture books like mine. With the recent release of the Kindle Fire, however, and the ongoing availability of color-enabled Kindle apps for various platforms (PC, Mac, iPod Touch, etc.), I now believe it is less likely to be a waste of time to convert the print edition to a Kindle edition. I also found it encouraging to read of the success of other children's book authors publishing for the Kindle platform.

Today, I set up the book file in KDP, so by this weekend I expect the Kindle edition of Two Boys, Two Planets to be available for purchase through Amazon. Now that I've gone through the process, I thought it might help to share what I did, for the benefit of other authors wanting to do the same thing. The rest of this blog post will give you detailed instructions on how to prepare your children's book for the Kindle. (This does not discuss why you would want to or other "editorial" issues, or how to create a KDP account or set up a title in KDP. This is just a technical how-to for creating the book file to upload to KDP.)

Requirements: A simple text editor (even Notepad in Windows should suffice, although there are certainly better editors out there), an image editor (e.g., GIMP, Photoshop, etc.), software to create .ZIP archives (e.g., WinZip, 7-Zip, etc.), and the digital versions of all of your illustrations. If you don't have them digitized yet, do that first and then return here.

Assumptions: This approach assumes that you are interested in publishing for the Kindle only. It does not discuss publishing for other readers, and relies on the Kindle-specific "mbp:pagebreak" tag. It assumes each page has one image that dominates the page, with text below the image. Text is to be treated as text (so that the Kindle can process it as text, not as an image of text). This approach also assumes the "portrait" orientation of the page, but if you prefer the "landscape" orientation, use 800 instead of 600 in the steps listed below.

Remember: "Your mileage may vary." You will almost certainly need to make adjustments to this procedure for your book. However, this should provide a good starting point.

Steps to Format Your Children's Book for the Kindle

  1. Use your image editor to create 600-pixel-wide copies of all of your illustrations in JPEG (.jpg) format with sequentially-numbered file names.
    1. Open your image editor.
    2. Open your first illustration.
    3. Scale the image to 600 pixels wide. Let the image editor calculate the height to preserve the "aspect ratio."
    4. Use the "Save as" option to save a new copy of the image in JPEG format, using a name like page_NN.jpg (replacing NN with the number of the page where the illustration appears, such as 01 for page 1, 02 for page 2, etc.).
    5. Close the image and then repeat those steps for the remaining illustrations.
  2. Open your text editor. Copy and paste the following code into your editor:

    <html>
    <head>
    <title>Your Title Here</title>
    <style type="text/css">
    p { text-indent: 0px; margin-bottom: 1ex; }
    .p_ctr { text-align: center; }
    </style>
    </head>
    <body>
    <!-- PAGES HERE -->
    <p>Other content here</p>
    </body>
    </html>

    Save your file in the same folder (directory) as the image files, using a name like My_Title-Content.html (for example, if your book title is Three Feral Bovines your file would be Three_Feral_Bovines-Content.html).
  3. Change the text Your Title Here to your book's title. Save again. (Get in the habit of saving regularly!)
  4. Count the number of pages in your story, i.e., those with illustrations — do not include things like a dedication, copyright notice, note to parents, etc.
  5. In your text editor, delete the text <!-- PAGES HERE --> and copy and paste the following code in its place:

    <img src="page_NN.jpg" width="600" />
    <p class="p_ctr"><!-- PAGE TEXT HERE --></p>
    <mbp:pagebreak />

    Paste it once for each page of your story (i.e., if you have 30 pages, paste it 30 times). If you're using 800 in place of 600, make that change in the first copy that you paste, then copy that and paste it for the rest of the pages.
  6. For each page of your story, edit the page_NN.jpg to use the correct number (i.e., page_01.jpg for the first page, page_02.jpg for page 2, etc.).
  7. For each page of your story, replace <!-- PAGE TEXT HERE --> with the text of the story from that page.
  8. If you have non-story content in your book, include it in place of the text Other content here and use <mbp:pagebreak /> anywhere you want to force a page break.
  9. Save your file again and close your editor.
  10. Create a .ZIP archive file containing your .html file and .jpg files, using a name like My_Title-Kindle.zip (e.g., if your title is Three Feral Bovines your ZIP file would be named Three_Feral_Bovines-Kindle.zip).
  11. Log in to (or create) your KDP account, start a new title, and when you "browse" for your book file, select the ZIP file created in the previous step.

As mentioned above, this probably won't be a perfect process for your book, but it should give you a good starting point. Considering this is the first time I've done it and I'm relying on the preview tool in KDP, I may have changes for this process later. I will update it as needed.

Your comments on this process and your experience publishing children's books for the Kindle are most welcome!

 





My Books