Wizard Spell Book Generator
This random generator produces a wizard spellbook for the given caster level and school (if provided). It attempts to produce a realistic spell book that favors the more common spells in the game, preferring spells from the selected school of magic. Spell levels with lots of spells will also include a small number of the less common and rare spells for added flavor.
Spells are taken from Core, the APG, and the Ultimate * hardback books. Spell names are links to the Pathfinder d20 SRD. The spells Protection from Good/Evil/Law/Chaos and Magic Circle Against Good/Evil/Law/Chaos are shown in the "Evil" variant, but of course they can be adapted by the GM as needed.
Adjust Sourcebook Weighting
Adjust the baseline rarity of spells from individual source books. Note that individual spells within a source book may be weighted as more or less common than average for that book. The Core rulebook has a baseline of "common" and it can't be changed.