⚔️CritForge
🧙

NPC Generator

Create detailed D&D 5e NPCs with stat blocks, personalities, plot hooks, and backstories using AI-assisted generation

10 min read
npccharacterstat-blockpersonalitybackstory

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

  1. Navigate to GenerateNPC Generator
  2. Choose a Role for your NPC (ally, villain, shopkeeper, quest giver, and more)
  3. Set a Challenge Rating (CR 0–30) using the slider
  4. Pick a Tone (heroic, dark, mysterious, comedic, and more)
  5. Click Generate NPC (or press Cmd+Enter / Ctrl+Enter)
  6. 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:

RoleWhat they do
VillainAn antagonist with a plan threatening the party
AllyA helpful companion with their own goals
ShopkeeperA merchant with rumors and inventory
Quest GiverSomeone with a job that needs heroes
RivalA competitor who shares similar goals
MentorA wise guide who teaches rather than solves
Mysterious StrangerAn enigmatic figure who raises questions
GuardA watchman who may be corrupt or honorable
NobleAn aristocrat with political power and enemies
ScholarA researcher who values knowledge above all
ArtisanA skilled craftsperson who knows local gossip
CriminalAn underworld figure who operates by their own code
SoldierA military professional with war stories and grudges
CultistA devoted follower of a dangerous power
Comic ReliefA humorous character with hidden depth
OtherSomething 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:

ToneStyle
HeroicBright, optimistic, classic fantasy
DarkMorally gray, mature, complex motivations
ComedicHumorous quirks, lighthearted
MysteriousSecretive, enigmatic, question-raising
TragicSorrowful past, emotional depth
WhimsicalFairy-tale magic, sense of wonder
GrittyGrounded, harsh, survival-focused
EpicLarger-than-life, legendary
HorrorUnsettling dread, creeping unease
NeutralVersatile, 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

  1. Save your NPC (chat requires a saved NPC)
  2. Type your request in the Chat input
  3. The AI makes only the changes you asked for — everything else stays the same
  4. 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 LibraryNPCs.

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:

TierMonthly GP
Trial40 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

  1. 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.
  2. Save first, refine later — generate quickly, save, then use chat to polish details after your session prep deadline.
  3. Match CR to role — quest givers and shopkeepers rarely need CR above 3–4. Save high CRs for villains and boss characters.
  4. Let the tone do the work — "Dark" and "Gritty" tones produce more morally ambiguous motivation and flaws without any extra configuration.

For Deeper Characters

  1. Link to a faction — faction-linked NPCs get richer plot hooks that connect to your broader campaign rather than generic backstory.
  2. Specify a cultural flavor — cultural overlays give names, architecture references, and social dynamics that make NPCs feel like they belong to a specific place.
  3. 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.
  4. 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

  1. 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.
  2. 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."
  3. 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.
  4. 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

ShortcutAction
Cmd+Enter (Mac) / Ctrl+Enter (Win)Generate NPC
Cmd+S (Mac) / Ctrl+S (Win)Save to Library (when NPC is displayed)
EscapeClear error / dismiss modal
Tab / Shift+TabNavigate form fields

Related Documentation