Free DnD NPC Generator for Foundry VTT — Powered by AI
This free D&D 5e NPC generator creates fully detailed non-player characters for your tabletop campaign and exports them directly into Foundry VTT with a single macro. Powered by Claude AI, every NPC comes with a name, race, alignment, ability scores, backstory, secret, speech pattern, DM hook, and a ready-to-run Foundry script that creates both an Actor and a Journal Entry automatically — no account, no setup, no API key required.
How the Free DnD NPC Generator Works
The generator is powered by Claude AI and runs entirely in your browser — no account, no login, and no data stored on our servers. RuneForge Studio covers the AI cost so you can generate NPCs completely for free. Just fill in your concept and hit Generate.
- Optionally describe your NPC — concept, race, role, and setting. Leave everything empty for a fully random result.
- Click Generate NPC and receive a complete, fully detailed character sheet in seconds.
- Review the NPC sheet with all stats, backstory, secrets, rumors, and DM notes.
- Switch to the Foundry Macro tab and copy the generated script.
- In Foundry VTT, create a new Script Macro, paste the code, and run it.
- The NPC Actor and a detailed Journal Entry appear instantly in your world. ✅
What Every Generated NPC Includes
Unlike basic name generators, this tool produces fully playable characters ready for the table. Each NPC contains:
- Core stats — all six ability scores with modifiers, HP, AC, CR, and XP
- Appearance — vivid physical description focused on memorable details
- Personality — three distinct traits that make the character feel real
- Motivation — a short-term goal and a deeper long-term drive
- Secret — a plot-relevant secret that can drive entire campaign arcs
- Rumors — three circulating rumors, mix of true and false
- Speech pattern — verbal tics, vocabulary, and an example quote
- DM Hook — a concrete, immediately usable way to introduce the NPC
- Background story — 3–4 sentence origin that explains who they are
- Foundry VTT macro — one-click script that creates Actor + Journal Entry
Who This Tool Is Built For
This generator is designed for Dungeon Masters running D&D 5e campaigns in Foundry VTT who need compelling NPCs fast — without spending an hour on prep. Whether you need a tavern keeper for an improvised scene, a rival for a long-running campaign, or a mysterious contact for a heist, the generator handles the creative heavy lifting so you can focus on running the game.
It works equally well for one-shot adventures, sandbox worlds with dozens of minor characters, and published module adaptations where the default NPCs feel flat. Because every result is unique and AI-generated, you’ll never get the same NPC twice.
Frequently Asked Questions
Yes, completely free. No account, no API key, no subscription. RuneForge Studio covers the AI cost — just open the page and start generating. The tool is limited to 100 NPC generations per day to keep it sustainable, so if you hit the daily limit simply come back tomorrow.
After generating an NPC, click the Foundry Macro tab and copy the script. In Foundry VTT, open the Macro directory, create a new macro, set the type to Script, paste the code, and save it. When you execute the macro, Foundry automatically creates an NPC Actor with all stats pre-filled and a formatted Journal Entry with the full character description — including backstory, secrets, and DM notes.
The macro is built for Foundry VTT v10, v11, and v12 running the D&D 5e (dnd5e) system. It uses the standard Actor.create() and JournalEntry.create() API calls, which are stable across these versions. Other game systems are not supported by this macro, though the NPC sheet itself works as a standalone reference for any TTRPG system.
The generator is capped at 100 NPC generations per day across all users to keep the tool free and sustainable. When the daily limit is reached, the generator will show a short message letting you know — simply return the next day and the counter resets automatically. For DMs who need higher volume, the tool’s source code is available to self-host with your own API key.
Yes. Use the Setting / Context field to specify your campaign world. Entering “Forgotten Realms, Waterdeep political intrigue” or “Ravenloft, gothic horror atmosphere” will steer the AI toward NPCs that fit that tone, location, and lore. The more specific your context, the more tailored the result.
Most NPC generators produce a name and a few random traits. This generator creates a fully fleshed-out character — complete with secrets, speech patterns, rumors, a DM hook, and a backstory — and then exports everything directly into Foundry VTT through an automated macro. No copy-pasting stats, no manual journal entries. It combines creative AI generation with Foundry VTT integration in one workflow.
The generated NPCs are entirely yours to use however you like — in personal campaigns, shared homebrew content, or commercially published adventures. This tool is unofficial fan content not affiliated with Wizards of the Coast, provided under the D&D 5e fan content guidelines.
The generator is responsive and works on mobile browsers. However, since Foundry VTT is primarily a desktop application, running the generated macro is best done on a desktop or laptop where you have Foundry open. The NPC sheet itself is fully readable and usable on any device.
