Quill & Code

Written book command generator — compose pages, then copy a working /give command.

Book details

Runs entirely in your browser — nothing here is uploaded anywhere.

Advanced

Leave this off unless you specifically need it — it tells the server the text was already processed, which normally happens automatically when a player or lectern opens the book.

Pages

Over 100 pages — that's beyond the normal in-game writing limit, but a command can still create it.

Live preview

Click a link or hover a dotted word to try it.
Show raw text component JSON

    

Good to know

Why isn't "suggest command" a click option?
It's a real Minecraft click action, but the game's own docs confirm it doesn't work inside written books — only in chat and a few other places. It's left out here so nothing you build silently fails.
My command won't paste into chat.
Minecraft's chat box caps input at 256 characters. Longer commands still work fine — download the .mcfunction file and run it with /function, or paste it straight into a command block (up to 32,500 characters).
Modern vs. Legacy — which do I need?
Modern matches the format used since Minecraft 1.21.5, including today's 26.1.2. Legacy matches the format from before 1.20.5. On a server from the narrow window between those two (1.20.5–1.21.4)? Start from Modern's page text, but you may need to wrap each page in an extra layer of quotes.
Who can actually use a click event?
Whoever's holding the book. run_command runs with the clicking player's own permissions, so a non-op clicking an op-only command just does nothing. It also can't run commands that send chat messages directly, like /say.