---
title: "Free NPC Generator - AgentDock"
description: "Generate tabletop NPCs with a name, a personality hook, and a secret or want for each one, ready to drop into a scene"
url: "https://agentdock.ai/prompt-library/writing/creative/npc-generator"
docs_index: /llms.txt
---

# NPC Generator

Generate tabletop NPCs with a name, a personality hook, and a secret or want for each one, ready to drop into a scene

Category: Creative

## Prompt template

```
I need a batch of NPCs for a tabletop campaign or story, ready to drop into a scene without extra prep.

Each one fills the role of [NPC_ROLE:select:quest giver,shopkeeper or merchant,tavern keeper or local,guard or authority figure,rival or minor antagonist,mysterious stranger,comic relief].

The setting is [SETTING:select:fantasy,science fiction,contemporary,horror].

How much weight this NPC carries in the story: [IMPORTANCE:select:one-line background NPC,recurring supporting character,major quest-critical NPC].

Anything else worth building around: [CONTEXT?] (a location, a faction they belong to, a specific plot thread they connect to)

Generate [COUNT:number:1-10] NPCs based on my inputs. For each one, give a name, a one-line role or appearance description, a personality hook (a quirk or motivation that makes them memorable at the table), and one thing they want or are hiding. Keep each entry short enough to read out loud without slowing a session down. Vary the personality hooks so the batch doesn't feel like the same character wearing different names, and match the depth of the secret to [IMPORTANCE]. A background NPC needs barely a line, a quest-critical NPC needs a want worth building a session around.
```

## Variables

- Npc Role (select, required) — options: quest giver, shopkeeper or merchant, tavern keeper or local, guard or authority figure, rival or minor antagonist, mysterious stranger, comic relief
- Setting (select, required) — options: fantasy, science fiction, contemporary, horror
- Importance (select, required) — options: one-line background NPC, recurring supporting character, major quest-critical NPC
- Context (text, optional)
- Count (number, required)

Tags: writing, tabletop rpg, dnd, game master, worldbuilding

Open in the editor: https://agentdock.ai/prompt-library/writing/creative/npc-generator
