Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Minecraft Give Enchanted Book Generator
This Enchanted Books generator makes it easier to create books with stored enchantments to apply to items via an anvil. Use the enchantments on the 'book' tab. The 'enchantments' tab is applied to the object (don't use that one unless you know what you are doing).
Compatibility: Enchantments can only be applied to some items. Non-compatible enchantments disappear, or if no enchantments are compatible the book can not be applied to the item.
Max levels: Levels over max level don't transfer to your item, the max level will be applied in that case.
Curse Enchantments: The curse enchantments don't transfer over to items, but are there if advanced users that have something in mind.
Other give options: Many of the common give command data options are still included, some are not relevant to enchantment books, but many map makers have very interesting projects with specific requirements.
Testing: Make sure you are in survival for proper testing. If you need some xp, try the give player xp command.
Give player levels
/xp add @p 10 levels
Give player xp points
/xp add @p 100 points
Minecraft Versions Permalinks
If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.
Version History
added1.21 items
addedSome 1.20.5 particle support
patch1.20.5 Container item component nbt
patchText/Lore importing
added1.20.5 finished adding summon potion, firework, item, falling block, and block display support
patch1.20.5 fixed sweeping which had been renamed to sweeping_edge
added1.20.5 import for banners, enchanted books, fireworks, goat horns, knowledge books, player heads, potions, signs, and written books
added1.20.5 import for base command, and armor
added1.20.5 support for banners and premade banners
patch1.20.5 potion Ambient, Particles, Icon
added1.20.5 support for summon item
added1.20.5 support for signs
patchplayer head texture urls not working
added1.20.5 support for Enchanted Books, Fireworks, Player Heads
added1.20.5 support for Potions, Written Books
patchTargets not updating when updated
added1.20.5 support for Armor, Knowledge Books
patchItem search
addedGive generator migrated to version 2
addedBanner generator migrated to version 2
added1.20.5 predicates, sbt
Read version history »
(44 More Updates)