Generating NPCs
Select a Class and Level Range, then click 🎲 Generate NPC. Choose Any (random) for either field to let the generator decide. One NPC is generated at a time — use Session History to accumulate a roster.
Current Result
The result row shows the NPC's name, class, level, alignment, and motivation at a glance. Click the row to expand full details including ability scores, saves, equipment, personality, and class abilities.
Inside the expanded panel: 📌 Save to History adds the NPC to your session log · 💾 Export TXT downloads a plain-text stat block · 📋 Copy copies the stat block to your clipboard · 🗑 Delete clears the current result.
A Note on Stat Blocks
AC, THAC0, saving throws, and hit points all reflect adjustments for magic weapons, magic armour, and ability score modifiers. The effects of magic items on other statistics (e.g. a Ring of Protection's bonus to saves) are not applied to the stat block — the referee should adjust as needed during play.
Session History
NPCs you save appear here and persist across page navigation until you clear them. History is stored in your browser's localStorage — nothing is sent to any server.
💾 Export All JSON downloads a portable backup of all saved NPCs · 📂 Import JSON restores a backup, with the option to Merge into or Replace the current history.
On each history row: ⬆ Load into Tool restores the NPC as the current result · 💾 exports that NPC as TXT · 📋 copies it to your clipboard · 🗑 removes it from history.
Source Tables
The default class table is npc-classes-bx-classic-fantasy, containing B/X Classic Fantasy class definitions, combat stats, saving throws, spell slots, and class abilities.
Alternative class tables (OSE Advanced Fantasy, BXO Class Builder) can be added to your local installation. Place downloaded .json files in tables/custom/ and they will appear here automatically.