Book Editor for Minecraft

    Write the text of your book, colour it and add links. Below you get a /give command that gives the finished book.

    You can see the version in the launcher and in the bottom-left corner of the game's main menu
    Step 1

    Pages, title and author

    Book text
    Page 1 of 1

    

    Book settings
    Leave this empty and the book tooltip will not name an author
    Book generation
    Step 2

    Who gets the book

    The nearest player

    Distance to targets
    Step 3

    Count, name, enchantments

    Item name and text under it
    The first line is what the item will be called; the next lines are the text shown under the name
    Enchantments
    Hidden tooltips

    Ready command

    85 characters · the chat fits 256

    How to use the command in game

    First

    Turn on commands

    In a single-player world, press Esc, choose "Open to LAN", turn on "Allow Commands" (called "Allow Cheats" in older versions) and click "Start LAN World". On a server, only an operator (op) can run commands.

    Up to 256 characters

    Paste the command into the chat

    Copy the command with the button above. In game, press T, paste it with Ctrl+V and press Enter.

    or
    Longer than 256

    Long command? Use a command block

    The chat fits up to 256 characters. For a longer command, get a command block with /give @p command_block (you need Creative Mode), place it and right-click it. Paste the command into the top field, click "Done", put a lever next to the block and switch it on.

    Description

    In the book editor you can write your own book for Minecraft: Java Edition, add pages, colour the text, and set the title and author. The editor builds a /give command that hands you the finished book. You can configure:

    Book title. The text entered when a book is signed. It is optional, and a custom item name overrides it.

    Author. The name of the player who signed the book. Any text works here, even something no username could be.

    Generation. Marks the book as an original or a copy. Books start as originals.

    Page text. Add pages or edit existing ones in the text editor, which supports:

    • Text formatting: bold, italic, underlined, strikethrough and obfuscated (magic) text. Combine them freely to build your own look.

    • Special characters. Insert the special characters Minecraft supports directly into your text.

    • Minecraft colours and the hex colours added in 1.16. The palette offers three colour models — RGB, HSV and hex. Select some text, pick a colour, and the editor converts it into the form the game expects.

    • Gradients. Add, move and recolour the gradient's key points, or remove the ones you do not need. The text updates as you change the settings, so it is easy to land on the look you want.

    • Keybind. A dynamic element that is replaced with the name of the key bound to the action you choose. It follows each player's own control settings and language.

    • Selector. A dynamic element that is replaced with the entities matching the selector you choose. When several entities match and the selector sets no target limit, their names are joined by a separator you can change.

    • Translatable text. A dynamic element that is replaced with a localised string looked up by key in the game's language files or in a resource pack. You can supply fallback text to use when no translation exists for the key.

    • Preview. Replaces every dynamic element with a plausible value, so you can see the page roughly as players will.

    Other item properties. The editor also exposes the rest of the item's settings — you can enchant the book, for instance, or give it a custom name through the text editor.

    Templates

    Save your work as a template to load, reuse or edit later. Templates live in your browser's storage and are completely private — clearing the site's data removes all of them.

    Worth knowing

    One of the generated commands can be too long to type into chat, which is limited to 256 characters (100 before 1.11). For anything longer, paste the command into a command block and power it with a lever or button. Note that the @s selector does not work in command blocks — swap it for another selector so the command behaves.

    How do you write a formatted book in Minecraft?

    A book and quill in game only takes plain text: no colour, no links, no clickable pages. All of that lives in the book's NBT and is handed out with a /give command carrying a pages tag, where every page is the same JSON as /tellraw. The editor above shows the spread as it will look in your hands, splits the text into pages for you, and gives you the whole command — title and author included.

    Other tools in this category

    Tools