Minecraft Book Generator

Format text for Minecraft writable books with colors and styles. Preview the result and get a /give command with JSON text.

Java Edition 26.2Updated
17 / 25600 characters (1 / 100 pages)

Book Preview

Hello, Minecraft!

Give Command

/give @p minecraft:written_book[minecraft:written_book_content={title:"My Book",author:"Player",pages:['{"text":"Hello, Minecraft!"}']}] 1

Book text became an item component in 1.20.5, so this writes minecraft:written_book_content. Paste it into 1.20.5 or newer.

Embed This Tool

Put the book generator on your own site or server wiki.
<iframe src="https://tools.astroworldmc.com/embed/book-generator" width="700" height="700" frameborder="0" style="border:none;border-radius:12px;" loading="lazy" title="Book Generator"></iframe>
Live Preview

How to make a written book

  1. Name the book

    Title and author sit on the item rather than on a page, so they are what shows in the tooltip before anyone opens it.

  2. Write in segments

    Each segment carries its own colour and formatting, and the counter tracks the 25600 characters and 100 pages a book can hold.

  3. Check the preview

    The preview lays your text out at the width a book page actually has, which is where a paragraph shows whether it breaks badly.

  4. Copy the give command

    Pick 1.20.5 and up for the component form or 1.13 to 1.20.4 for the older NBT form, then paste the line.

How It Works

Format and preview text for writable Minecraft books.

Java Edition 26.2Checked on against the 100 page and 1024 character ceilingsPage updated

How to Use the Book Generator

This tool lets you create formatted Minecraft books with colored and styled text. Start by entering your book title and author name. Then type your text in the editor area. Use the formatting buttons to apply bold, italic, underline, strikethrough, or obfuscated effects. Select a color from the color swatches to change the text color. The preview pane shows approximately how your text will look inside a Minecraft book. A book page holds the same text components that chat does, so for a line that has to react to a click or show a tooltip, build the component in the JSON text generator first.

Working with Text Segments

Each segment of text can have its own color and formatting. Click "Add Segment" to create a new text segment with different formatting. This allows you to mix colors and styles within the same page. For example, you could have a bold red title followed by normal white body text. Switch between segments using the segment tabs. Remove segments you no longer need with the X button. The character counter at the top tracks your total usage across all segments.

Using the Generated Command

The tool generates a complete /give command that creates a written book with your formatted text. Copy the command and paste it into your Minecraft chat (in creative mode) or into a command block. The command uses JSON text formatting, which preserves all your color and style choices. Books have a limit of 256 characters per page and up to 100 pages total. The character indicator shows your current usage and warns you when approaching the limit.

Common Use Cases

Players use this tool to create lore books for adventure maps, instruction manuals for server features, formatted welcome books for new players, and decorative library books for builds. Server administrators generate rule books and guide books with consistent formatting. Map makers create narrative elements and quest dialogues using multiple text segments with different colors to represent different characters or highlight important information. Symbols outside the keyboard survive a book as long as the font carries them, and the unicode symbol picker lists the ones that do, while the give command this page writes is the same form the command generator builds for every other item.

The limits of a written book

Pages100 at most. This tool splits your text at 256 characters per page, so the full budget is 25600 characters.
Title and author32 characters each. The author is filled in by whoever signs the book and cannot be edited afterwards.
SigningPermanent. A signed book is read only, so keep the unsigned book and quill if you still want to change anything.
CopiesOriginal, then copy of original, then copy of copy. The last tier cannot be copied again, which caps how far a book can spread.
FormattingPages are text components, so colour and style survive the give command even though they cannot be typed in game.
LecternsA written book in a lectern can be read by anyone nearby and emits a redstone signal that changes with the page shown.

The ceiling of 100 pages is the number in WritableBookContent in the 26.2 client jar, read on 8 August 2026, where one page may hold 1024 characters. This editor splits at 256 because that is what fits on a drawn page, not because the file stops there.

Why the command is so much longer than the book

The counter above your text measures what a reader will see. The command underneath measures what the server has to swallow, and the two are never the same number, because every page is written out as a text component.

256 characters a page x 100 pages = 25,600 characters of readinga plain page becomes {"text":"..."}, so 11 characters of markup on topa page split into pieces becomes ["", {...}, {...}], about 36 characters for each piece
One full page, one colour256 of text11 of markup267 characters, and a whole book of those runs to about 27,000
The same page in four coloured pieces256 of text143 of markup across four pieces399 characters, so the finished book is near 40,000

Set that against where you are going to paste it. The chat box cuts off long before one full page of 267 gets through, so anything past a short note has to go through a command block, or better a function in a datapack. That is the format talking, not this page.

Frequently Asked Questions

Questions about books
  • Why can I not colour text while writing in game?

    The book and quill screen only accepts plain characters. Colour has to come from a text component, which is exactly what the give command here produces.

  • Can I edit a book after signing it?

    No. Signing converts the item into a written book and locks the contents and the author. The only way back is to keep an unsigned copy before you sign.

  • Why will the game not let me copy this book?

    It is already a copy of a copy. Each duplication step lowers the tier, and the third tier is the end of the line so a single book can never flood a server.

  • What happens if my text is longer than the book allows?

    It has to become a second book. At 256 characters per page and 100 pages, one book holds 25600 characters, and the counter on this page shows how close you are.

Related Tools

More tools that might help youView All Tools