NPC Generator
Create detailed D&D 5e NPCs with stat blocks, personalities, plot hooks, and backstories using AI-assisted generation
Quick Answer
Generate complete D&D 5e NPCs with stat blocks, personality profiles, backstories, and plot hooks in seconds. Go to Generate > NPC Generator, choose a role, set CR and tone, optionally add context, and click Generate.
Generate complete, ready-to-run D&D 5e NPCs — stat blocks, personality profiles, backstories, and plot hooks — in seconds.
Quick Start
- Navigate to Generate → NPC Generator
- Choose a Role for your NPC (ally, villain, shopkeeper, quest giver, and more)
- Set a Challenge Rating (CR 0–30) using the slider
- Pick a Tone (heroic, dark, mysterious, comedic, and more)
- Click Generate NPC (or press Cmd+Enter / Ctrl+Enter)
- Review your NPC, then click Save to Library to keep them
Form Inputs
Required Fields
Role
The NPC's narrative function. This shapes their personality, motivations, and plot hooks:
| Role | What they do |
|---|---|
| Villain | An antagonist with a plan threatening the party |
| Ally | A helpful companion with their own goals |
| Shopkeeper | A merchant with rumors and inventory |
| Quest Giver | Someone with a job that needs heroes |
| Rival | A competitor who shares similar goals |
| Mentor | A wise guide who teaches rather than solves |
| Mysterious Stranger | An enigmatic figure who raises questions |
| Guard | A watchman who may be corrupt or honorable |
| Noble | An aristocrat with political power and enemies |
| Scholar | A researcher who values knowledge above all |
| Artisan | A skilled craftsperson who knows local gossip |
| Criminal | An underworld figure who operates by their own code |
| Soldier | A military professional with war stories and grudges |
| Cultist | A devoted follower of a dangerous power |
| Comic Relief | A humorous character with hidden depth |
| Other | Something entirely unique |
Challenge Rating
Determines the NPC's combat power and mechanical complexity:
- CR 0–1/2: Commoners, apprentices, minor threats
- CR 1–4: Skilled professionals, dangerous to commoners
- CR 5–10: Powerful figures, a real threat to adventurers
- CR 11–16: Legendary figures, feared across regions
- CR 17–20: World-shaping forces, the stuff of legend
- CR 21–30: Near-mythical power, godlike in scope
Tone
Sets the creative direction and writing style of the generated content:
| Tone | Style |
|---|---|
| Heroic | Bright, optimistic, classic fantasy |
| Dark | Morally gray, mature, complex motivations |
| Comedic | Humorous quirks, lighthearted |
| Mysterious | Secretive, enigmatic, question-raising |
| Tragic | Sorrowful past, emotional depth |
| Whimsical | Fairy-tale magic, sense of wonder |
| Gritty | Grounded, harsh, survival-focused |
| Epic | Larger-than-life, legendary |
| Horror | Unsettling dread, creeping unease |
| Neutral | Versatile, adaptable to any campaign |
Optional Fields (Expert Mode)
Creature Type
Defaults to Humanoid. Choose a different type for non-human NPCs:
- Aberration, Beast, Celestial, Construct, Dragon, Elemental, Fey, Fiend, Giant, Monstrosity, Ooze, Plant, Undead
Size
Defaults to Medium. Options: Tiny, Small, Medium, Large, Huge, Gargantuan.
Setting
A short description of where or what world this NPC lives in. This adds environmental flavor to names, backstory, and plot hooks. Example: "A corrupt port city run by a thieves' guild" or "High-magic empire in decline."
Additional Notes (500 characters max)
Free-text context for anything specific you want. Examples:
- "Has a Scottish accent and speaks in proverbs"
- "Works at the city's most prestigious blacksmith shop"
- "Has a secret connection to the main villain"
The system filters unsafe content and any trademarked terms automatically.
Faction Affiliation
Link this NPC to one of your campaign factions. Choose their faction role and loyalty level, and the AI will weave faction goals, methods, and internal politics into the NPC's personality and plot hooks.
Loyalty options: Opportunist, Loyal, Devoted, Fanatic, Questioning
Cultural Flavor
Apply a cultural overlay (Imperial Roman, Feudal Japanese, Viking, and more) that shapes naming conventions, social structure, and narrative style.
Spell Constraints
For spellcasting NPCs, specify particular SRD spells to include. Useful when you need a wizard who definitely knows Fireball or a cleric with Healing Word.
What Gets Generated
Every NPC includes two sections: a Stat Block for combat and mechanics, and a Personality Card for roleplay.
Stat Block
Full D&D 5e-compatible stats, calculated to match the requested CR:
- Core stats: Name, size, creature type, alignment, CR, proficiency bonus
- Combat: AC, HP (with hit dice notation), speed (walk, fly, swim, climb, burrow)
- Ability scores: STR, DEX, CON, INT, WIS, CHA — balanced for CR
- Saves and skills: Relevant proficiencies with correct bonuses
- Senses: Darkvision, blindsight, etc. (species-appropriate); passive Perception
- Damage traits: Resistances, immunities, vulnerabilities
- Actions: Melee/ranged attacks with to-hit bonus, damage dice, and full descriptions
- Special traits: Class abilities, racial features, special powers
- Bonus actions and reactions (where appropriate)
- Legendary actions (for CR 10+ or boss-type NPCs where warranted)
- Spellcasting block: Spell save DC, attack bonus, full spell list by slot level
Personality Card
Roleplay-ready content drawn directly from the NPC's stat block identity:
- Personality: 2–3 sentences describing how they come across
- Ideal: What they fundamentally believe in
- Bond: What they care about most — their anchor
- Flaw: Their weakness, vice, or blind spot
- Backstory: 4–6 sentences following a structured ORIGIN → DEFINING EVENT → CONSEQUENCE arc. Names a specific person from their past. Includes at least one emotion. Bridges to who they are now.
- Motivation: What's driving them at this moment
- Secrets: Hidden truths that could change everything
- Appearance: Physical description
- Mannerisms: Distinctive behaviors and tells
- Voice: How they sound and speak
- Allies and Enemies: Key relationships
- Plot Hooks: Three story hooks from different angles — backstory, current situation, and faction/secret/relationship. All hooks are internally consistent; they paint the same picture of the same person.
Narrative Voice
The AI assigns a narrative voice based on the NPC's role:
- Witness (ally, guard, soldier): Speaks from firsthand experience — "I saw it happen"
- Cryptic (villain, criminal, mentor): Communicates through metaphor and indirection
- Chronicle (scholar, noble): Delivers information as historical record or lore
- Prophetic (cultist): Speaks in fables, riddles, and symbols requiring interpretation
This voice shapes the wording of backstory, plot hooks, and roleplay suggestions.
Display Modes
The NPC generator respects your global display mode. Switch modes from Settings or the mode toggle in the navigation bar.
Simple Mode
Designed for new GMs or younger players. The form uses plain-English labels ("Bad Guy" instead of "Villain", "Scary" instead of "Horror"). The stat block shows core combat stats without overwhelming detail. A celebration animation appears when generation completes.
Expert Mode
Full access to all fields and D&D terminology. The stat block shows every mechanical field. All tone and role options are available. Settings, cultural flavor, faction, and spell constraint fields appear.
You can also use a URL parameter to force a mode: /generate/npc?mode=simple or /generate/npc?mode=expert.
Chat Refinement
After saving an NPC, the Chat panel unlocks below the stat block. Use it to iterate on any aspect of the NPC without regenerating from scratch.
What You Can Do
- Adjust personality: "Make them more cynical and world-weary"
- Tweak mechanics: "Give them a higher Dexterity and add Stealth proficiency"
- Add detail: "Write a specific plot hook about their missing brother"
- Change appearance: "They should have a distinctive scar on their left hand"
- Expand backstory: "Add more detail about what happened during the siege"
How It Works
- Save your NPC (chat requires a saved NPC)
- Type your request in the Chat input
- The AI makes only the changes you asked for — everything else stays the same
- Review the updated NPC; save again if you want to keep the changes
Each chat turn is visible in the conversation history, so you can track what changed and why.
Saving and Managing NPCs
Saving
Click Save to Library (or press Cmd+S / Ctrl+S) after generation. The NPC is saved with:
- Full stat block and personality
- The parameters used to generate it
Once saved, the NPC appears in Library → NPCs.
From Your Library
- View: Click any NPC to see the full stat block and personality
- Edit via Chat: Refine any saved NPC using the Chat panel on its detail page
- Regenerate: Use the original parameters to create a fresh variant
- Export: Export to JSON, or as a VTT-compatible format (Roll20, Foundry, Fantasy Grounds, Owlbear)
Generation Power
Each NPC generation uses Generation Power (GP) credits from your account:
| Tier | Monthly GP |
|---|---|
| Trial | 40 GP (30-day trial) |
| Solo ($10/mo) | 200 GP |
| Pro ($20/mo) | 450 GP |
| Studio ($50/mo) | Unlimited |
Your remaining GP is shown in the form header before you generate.
Offline Generation
If you lose your connection, CritForge queues the generation automatically. The NPC will generate when you're back online, and you'll see a notification when it's ready.
Tips & Best Practices
For Quick Session Prep
- Use your notes field — paste a single sentence about the encounter. Even "corrupt tax collector shaking down merchants" produces dramatically better results than leaving it blank.
- Save first, refine later — generate quickly, save, then use chat to polish details after your session prep deadline.
- Match CR to role — quest givers and shopkeepers rarely need CR above 3–4. Save high CRs for villains and boss characters.
- Let the tone do the work — "Dark" and "Gritty" tones produce more morally ambiguous motivation and flaws without any extra configuration.
For Deeper Characters
- Link to a faction — faction-linked NPCs get richer plot hooks that connect to your broader campaign rather than generic backstory.
- Specify a cultural flavor — cultural overlays give names, architecture references, and social dynamics that make NPCs feel like they belong to a specific place.
- Use the setting field for world context — describe your campaign's world briefly ("a dying empire where magic is outlawed") and the AI incorporates it throughout.
- Read all three plot hooks together — they're designed to be internally consistent. If they contradict each other, use chat to ask for a revision.
For Memorable NPCs
- Trust the backstory structure — the ORIGIN → DEFINING EVENT → CONSEQUENCE format is designed to create NPCs with a through-line from their past to their present motivation. Don't skip it.
- Use the mannerisms — the AI generates 1–2 specific behavioral tells. Use these at the table; players remember NPCs who tap their fingers in patterns more than NPCs who are simply "nervous."
- The flaw is your opening — every NPC's flaw is a GM tool. A flaw like "drinks to forget" or "can't resist a bet" is an invitation for players to engage.
- Promote enemies to NPCs — use the Encounter Generator's "Generate as NPC" button on any enemy group to instantly give a monster a full personality. A named bandit captain with a backstory is far more memorable than a generic encounter.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Cmd+Enter (Mac) / Ctrl+Enter (Win) | Generate NPC |
| Cmd+S (Mac) / Ctrl+S (Win) | Save to Library (when NPC is displayed) |
| Escape | Clear error / dismiss modal |
| Tab / Shift+Tab | Navigate form fields |
Related Documentation
Encounter Generator Guide
Generate balanced D&D 5e encounters with automatic CR calculations, tactical suggestions, and treasure recommendations
Villain Animation Engine
Turn any NPC into a living antagonist with psychology, a reactive timeline, and in-session responses — filtered through who they actually are
Quick Start Guide
Get started with CritForge in 5 minutes — pick a generator, create content, and organize your campaign