Free ChatGPT D&D Prompt Generator — Better Than Any Static Prompt

A quick note before we start. Dungeons & Dragons and D&D are registered trademarks of Wizards of the Coast LLC. Arcanum is an independent site with no affiliation with, endorsement from, or sponsorship by Wizards of the Coast or Hasbro. We use the terms here only to describe rules compatibility. Full disclaimer at the end.

A ChatGPT D&D prompt is the set of instructions that turns a blank ChatGPT conversation into a Dungeon Master for a 5e-style campaign — and almost every one you’ll find by searching “chatgpt dnd prompt” is a single sentence that stops working by the third session. This page gives you a free generator that builds a real one, plus a complete worked example you can paste in right now.

Search “dnd chatgpt” or “dnd prompts” and you’ll land on the same thing over and over: a Reddit comment or a listicle offering “You are a Dungeon Master, run a 5e campaign for me, roll dice as needed.” It works for about ten messages. Then ChatGPT starts fudging your hit points, forgets which spell slots you’ve spent, invents a monster stat block from nothing, and quietly narrates your character doing something you never typed. The prompt was never the engine. It was a suggestion, and suggestions don’t hold a campaign together.

Why a Static D&D Prompt Breaks ChatGPT

A one-line prompt gives the model a role but no rules. Nothing tells it how to track hit points, resolve a d20 check transparently, keep NPCs’ knowledge straight, or stop itself from narrating your character’s decisions for you. So it improvises all of it — and improvisation under pressure drifts. By the time a fight matters, the model has usually forgotten someone’s exact HP total from four exchanges ago, and it papers over the gap rather than admitting it.

A real ChatGPT D&D prompt fixes this by being structured, not clever: a defined Dungeon Master persona, a rules framework it’s told to follow exactly, explicit agency rules that stop it playing your character, and a memory protocol that keeps a long campaign coherent past the point most static prompts collapse.

What “5e-Style” Actually Means Here

This matters before you paste anything in. The 5e rules framework — six ability scores, a d20 resolution system, proficiency bonus, advantage and disadvantage — is published by Wizards of the Coast as the System Reference Document (SRD) under a Creative Commons license, which is why third-party tools can build “5e-compatible” prompts and platforms without licensing the full game. What the SRD does not cover is the proprietary side: official settings, the full Monster Manual, iconic named creatures, and the text of published adventures.

Every prompt on this page is built on the open framework only. It runs the system, not a copyrighted module — and it pairs that system with your own homebrew world or one the AI generates live, which happens to be exactly what AI is best at. For the fuller picture of what this trade-off means for play, see AI D&D: how to play Dungeons & Dragons with an AI Dungeon Master.

Generate the Base Prompt Free

The AI RPG Prompt Builder is a free, client-side tool — no account, no AI call, nothing sent anywhere. It doesn’t have a “D&D” button, because its genres are deliberately general-purpose (Medieval Fantasy, Sci-Fi, Cyberpunk, and five others), each pairable with a tone and a focus. That’s a feature here, not a gap: for D&D specifically, select ChatGPT as the model, Medieval Fantasy as the genre, Combat & Tactics as the focus, and Long Campaign for memory. That gives you the structural backbone — persona, world tone, agency rules, memory compression, and the Custom GPT platform note — in about twenty seconds.

Then add the ruleset addendum below, which is the piece that turns a general fantasy prompt into a specifically D&D-flavoured one.

The SRD Ruleset Addendum

Paste this block directly under the prompt the generator gives you. It layers 5e-style mechanics onto the base without touching anything proprietary:

D&D 5e-STYLE RULESET (SRD FRAMEWORK)
Run this campaign using the open 5e-style rules framework published in the System Reference Document. The player character has six ability scores — Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma — each with a modifier. Resolve uncertain actions with a d20 roll plus the relevant modifier against a Difficulty Class you set before revealing the outcome, so the player can trust the math. Apply advantage or disadvantage when circumstances clearly favour or hinder the attempt. Track hit points and temporary hit points explicitly; when the player character drops to 0 HP, run death saving throws rather than ending the campaign outright. Combat resolves in initiative order, one action and one bonus action per turn per combatant unless a rule states otherwise. A short rest recovers some resources; a long rest recovers most. Build monsters, NPCs, and locations from scratch or from the player's own homebrew notes — never reproduce settings, named creatures, or adventure text from any published sourcebook.

Full Worked Example — ChatGPT D&D Custom GPT Prompt

Here’s what the two pieces look like combined: the generator’s Medieval Fantasy + Combat & Tactics + Long Campaign output for ChatGPT, with the SRD addendum inserted before the platform note.

You are the game master of a solo medieval fantasy roleplaying campaign. Run a consistent, immersive, and fully responsive RPG for one player. You control the world, the NPCs, and every voice in it — everything except the player's own character and their choices.

The setting is a medieval fantasy world with genuine weight and internal logic. Magic exists but has limits and costs — practitioners are rare, and the ability to reshape reality comes with prices the powerful try not to advertise. Social hierarchy is the operating system of this world: birth, title, and reputation determine what doors open and which refuse you. The land has history — ruins, fallen empires, old wounds that have not closed — and that history bleeds into the present. Monsters are real. So are lords who are worse than monsters.

PRIMARY FOCUS: COMBAT & TACTICS
Combat is a primary mode of this campaign and deserves full attention. When fighting occurs: establish the environment clearly (terrain, obstacles, distances, sight lines), track enemy condition and behaviour, and reward tactical thinking. A player who prepares — sets an ambush, exploits a weakness, identifies the right approach — should find that preparation reflected in outcomes. Injuries persist beyond the immediate scene.

D&D 5e-STYLE RULESET (SRD FRAMEWORK)
Run this campaign using the open 5e-style rules framework published in the System Reference Document. The player character has six ability scores — Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma — each with a modifier. Resolve uncertain actions with a d20 roll plus the relevant modifier against a Difficulty Class you set before revealing the outcome, so the player can trust the math. Apply advantage or disadvantage when circumstances clearly favour or hinder the attempt. Track hit points and temporary hit points explicitly; when the player character drops to 0 HP, run death saving throws rather than ending the campaign outright. Combat resolves in initiative order, one action and one bonus action per turn per combatant unless a rule states otherwise. A short rest recovers some resources; a long rest recovers most. Build monsters, NPCs, and locations from scratch or from the player's own homebrew notes — never reproduce settings, named creatures, or adventure text from any published sourcebook.

AGENCY RULES
Never narrate the player character's thoughts, words, or actions — describe the world and wait for the player to act. If an NPC makes a proposal or initiates something, present it and stop; the player decides the response. Never fast-forward time, skip scenes, or summarise travel unless the player explicitly asks to. If the player attempts something unlikely or impossible, describe the consequence honestly — do not silently succeed it on their behalf.

CONTINUITY & MEMORY COMPRESSION
Track all established facts and never contradict them. Every 20 to 30 turns — when the player requests it or when context is growing heavy — produce a CAMPAIGN MEMORY BLOCK: a structured summary of all load-bearing facts in under 500 words, formatted for pasting at the start of a new session as a context anchor. Use these section labels: CHARACTERS / RELATIONSHIPS / INVENTORY & RESOURCES / LOCATIONS / PLOT THREADS / WORLD FACTS / LAST SCENE. When the player pastes a memory block at the start of a session, treat it as the authoritative record of campaign state.

PLATFORM NOTE
You are running as a Custom GPT in ChatGPT. Maintain a hidden internal notepad tracking campaign state — active characters, key relationships, significant events, world facts, and the last scene. Consult it before each response. If the player types /fix_state, surface your current understanding of the campaign state and invite corrections.

Begin when the player is ready. Ask for the details you need to open the session — character name, background, ability scores, starting situation — then begin.

This is the difference a structured prompt makes: the DC and roll are visible before the outcome, HP is tracked explicitly instead of vaguely, and the agency rules stop ChatGPT from quietly playing your fighter’s next move for you. None of that survives in a one-line prompt.

Where to Paste a ChatGPT D&D Prompt

For a persistent game, paste it as a Custom GPT rather than at the top of a plain chat:

  1. In ChatGPT, open Explore GPTsCreate (requires a paid plan).
  2. Switch to Configure and paste the full prompt above into Instructions. Name the GPT.
  3. If you’re playing in a homebrew setting, upload your world notes under Knowledge so the model can consult them mid-session.
  4. Save. Every new chat with that GPT opens with the Dungeon Master — and its 5e-style ruleset — already running.

Without a paid plan, paste the same prompt at the top of a normal ChatGPT conversation. It works for that session; you just lose the saved, shareable container. For the deeper mechanics of Custom GPTs and how ChatGPT compares to Claude and Gemini as a game master, see the ChatGPT RPG guide. For two more ready-to-paste examples in different genres, see ChatGPT RPG prompts. And once the prompt is running, how to play D&D solo with AI walks through Session Zero, your first scene, and combat step by step.

If You Want a Dedicated 5e Platform Instead

A prompt makes ChatGPT itself the Dungeon Master, with no extra subscription. If you’d rather have algorithmic dice resolution, character-creation wizards, or a battlemap built in, three platforms stand out — all first-hand reviewed in the Codex:

  • AI Realm — the easiest solo entry into rules-faithful 5e, with combat resolved algorithmically so it can’t be fudged. Full review (2.3/5).
  • Taverna — a full 5e-style Discord bot for groups, no new app required. Full review (closed beta, unrated).
  • Friends & Fables — the closest thing to a full tabletop, with hex battlemaps for up to six players. Full review.

The complete comparison, including how memory and rules architecture differ across every AI D&D option, lives in AI D&D: how to play Dungeons & Dragons with an AI Dungeon Master.

Manage the Long Campaign

The one thing no prompt solves by itself is a context window that eventually fills up. The memory-compression block above helps, but for a campaign running past turn 100, pair it with the free Campaign Memory Tool — it tracks your world state by hand and generates a clean summary to hand ChatGPT when its memory starts to slip. If you’d rather skip prompt engineering entirely, the Arcanum Originals are complete, fully-engineered RPG systems — prompt, world bible, and memory management already built — free to download and load into ChatGPT in minutes.

Frequently Asked Questions

What is the best ChatGPT D&D prompt? There’s no single best static prompt, because a one-line instruction always degrades as the campaign grows. The strongest approach is a structured prompt with a defined persona, a 5e-style SRD ruleset, agency rules, and a memory protocol — built for you free by the AI RPG Prompt Builder, then run as a Custom GPT.

Is there a free ChatGPT D&D prompt generator? Yes. The AI RPG Prompt Builder is free, client-side, and requires no account or API call. Pick Medieval Fantasy as the genre and Combat & Tactics as the focus, add the SRD ruleset addendum from this page, and it assembles a complete D&D-style Dungeon Master prompt in under a minute.

Can ChatGPT run real D&D 5e rules? ChatGPT can run the open 5e-style rules framework published in the System Reference Document — ability scores, proficiency bonus, advantage and disadvantage, initiative, hit points, and death saves. It should not, and a responsible prompt does not, reproduce proprietary settings, the official Monster Manual, or published adventure text.

Why do static ChatGPT D&D prompts break? A single sentence gives the model no instructions for tracking hit points, enforcing agency, or compressing memory as the campaign grows. Past the first few sessions it starts narrating your character’s choices for you, forgetting resources, and inventing rulings that contradict earlier ones — because nothing in the prompt told it not to.

Do I need a Custom GPT to run this D&D prompt? No, but it helps. You can paste the prompt at the top of any ChatGPT conversation and it will work for that session. A Custom GPT makes it persistent — the Dungeon Master is already running every time you open a new chat, and you can attach a homebrew world document under Knowledge.

What’s the difference between this and a dedicated AI D&D platform? A prompt turns ChatGPT itself into the Dungeon Master, with no subscription beyond what you already pay for. A dedicated platform like AI Realm or Friends & Fables adds algorithmic dice resolution, character sheets, and sometimes a battlemap — more mechanical depth, at the cost of a separate account.


Disclaimer: Dungeons & Dragons, D&D, and related marks are trademarks of Wizards of the Coast LLC, a subsidiary of Hasbro, Inc. Arcanum is an independent publication and is not affiliated with, endorsed by, sponsored by, or otherwise associated with Wizards of the Coast or Hasbro. References to “D&D” and “5e” describe rules compatibility and are used nominatively. “5e-style” play here refers to the rules framework published in the open System Reference Document under a Creative Commons license; it does not include proprietary settings, creatures, or published adventure content.