How to Write AI Character Prompts That Actually Work
Most character prompts fail for the same few reasons: too many adjectives, no voice, and a backstory the scene never uses. This guide gives you the anatomy of a prompt that keeps the AI immersive and in character — plus a copyable template and three full example characters you can paste in right now.
A character prompt is the short piece of writing that tells an AI who it is supposed to be. Get it right and the model feels like a real person with a real voice. Get it wrong and you get a polite, forgettable assistant wearing a name tag. The good news is that the difference is mostly craft, not luck — and the craft is learnable in an afternoon. Everything below works on any platform that lets you describe a character, and it complements our broader AI roleplay guide, which covers how to play a scene once the character exists.
In this article
What makes a character prompt work (the anatomy)
A language model does not "know" your character. On every turn it reads the text it has — the persona, the opening message, the conversation so far — and predicts what that character would say next. So your prompt is not a description the model files away; it is the active instruction it leans on each time it answers. That single fact explains almost every good and bad prompt decision.
It means specificity wins. "Mysterious" could mean a thousand things, so the model picks an average one. "Answers questions with questions, never gives a straight yes" can be acted on the same way every time. It also means contradictions are dangerous: if you say the character is both "ruthless" and "gentle" with no link between them, the model resolves the conflict at random and the personality wobbles.
And it means voice matters more than facts. You can list a perfect biography and still get a flat character, because facts tell the model what is true while voice tells it how to speak. The strongest prompts spend most of their words on voice and a single vivid dynamic, and keep the rest lean.
Core rule: write the prompt the model has to re-read every turn, not a profile it reads once. Every line should be doing work in the next reply, or it should be cut.
Who they are: name, a concrete role, and 3–5 specific traits with a little tension.
How they speak: sentence rhythm, verbal tics, and one or two example lines.
The relationship, the pacing it follows, and any hard limits the scene must respect.
A loaded first moment: one action line, one line of dialogue, an open ending to answer.
The core building blocks (with a copyable template)
Five blocks cover almost every good character: name and identity, persona, voice, backstory, and boundaries with a defined dynamic. Here is what each one looks like done well versus done badly, and why it matters.
Name & identity
Do this
Mara, 29, former combat medic now running a quiet roadside garage.
Not this
A mysterious woman with a dark past.
Concrete identity gives the model a stable anchor. Vague mystique gives it nothing to act on.
Persona (traits)
Do this
Dry, observant, slow to trust. Hides care behind sarcasm. Hates being thanked.
Not this
Kind, smart, funny, strong, beautiful, mysterious, complex.
A few specific, slightly contradictory traits create a person. A trait pile-up creates a mannequin.
Voice
Do this
Short sentences. Deflects with humor. Says "yeah" not "yes". Rarely finishes a serious thought.
Not this
(no voice specified)
Voice is what keeps the AI in character. Without it the model reverts to a neutral assistant tone.
Backstory (relevant only)
Do this
Left the army after a convoy she could not save. Does not talk about it. The garage is her hiding place.
Not this
Born in 1996 in a small town, has two siblings, studied biology, likes jazz, owns a cat named Pixel...
Include only backstory that shapes present behavior. A biography the scene never touches is wasted context.
Boundaries & dynamic
Do this
Will not be rushed. Warms up over many scenes. The dynamic is wary-stranger-turned-confidant.
Not this
(left blank, so the model guesses)
Stating the relationship dynamic and limits keeps pacing and consent consistent across a long story.
A copy-paste template
Fill in the brackets and you have a complete, working character. Keep the whole thing under about 300 words for the persona block — tight beats long.
Character prompt template
NAME: [name], [age]. [one-line role or situation] PERSONA: [3–5 specific traits, ideally with mild tension — e.g. "guarded but warm once trusted; jokes to avoid seriousness; fiercely loyal to a short list of people"] VOICE: [how they talk — sentence length, verbal tics, what they avoid saying]. Example lines: "[a short line in their voice]" "[another, in a different mood]" BACKSTORY (relevant only): [the 1–2 facts that shape how they act NOW. Skip anything the scene will never touch.] DYNAMIC & BOUNDARIES: [the relationship with the user, the pacing it should follow, and any hard limits.] OPENING MESSAGE: [drop the user into a loaded moment — see the opening-message section below.]
Not every platform exposes all five fields separately — many just give you a persona box and an opening message. That is fine: fold voice, backstory, and dynamic into the persona text. The structure is a checklist, not a form. For more on shaping the relationship and the kinds of scenes a character supports, see our AI roleplay scenarios guide.
“A mysterious, beautiful, intelligent woman with a dark and complicated past. She is kind but also dangerous, strong yet vulnerable. She loves adventure.”
- ✕ Adjective pile-up — nothing to act on
- ✕ Unresolved contradictions (kind/dangerous)
- ✕ No voice, no opening, no dynamic

Mara, 29, ex-medic running a roadside garage. Dry, slow to trust, hides care behind sarcasm. Voice: short sentences, says “yeah” not “yes”. Opening: “We’re closed... but you are not making it twenty more miles on that.”
- ✓ Concrete identity the model can anchor to
- ✓ A few traits with tension, written as behavior
- ✓ Voice + a loaded opening to answer
🧩 Character prompt builder
Fill in the blocks and a clean, copy-paste character prompt assembles live on the right. Keep traits specific and the persona lean — the result is structured exactly like the template above. Not sure where to start? Load an example and edit from there.
Your prompt (live)
NAME: [name, age. one-line role or situation] PERSONA: [3–5 specific traits, ideally with mild tension between them] VOICE: [how they talk — sentence length, verbal tics, what they avoid saying] OPENING MESSAGE: [drop the user into a loaded moment — one action line in *asterisks*, one loaded line of dialogue, an open ending]
Brackets stay as guidance until you fill the field. Paste this into any platform that lets you create a character — or skip prompt-writing entirely and open a ready scenario card on RPDATE.
Techniques to keep the AI in character
"Staying in character" is mostly the absence of failure modes. Here are the techniques that prevent the most common ones.
Technique 01
Anchor the voice with example lines
One or two sample lines do more than a paragraph of adjectives. The model imitates rhythm and word choice it can see, so show it the voice instead of describing it.
Technique 02
Resolve every contradiction
If a character is both cold and tender, say when each shows up ("clipped with strangers, soft only in private"). An explained contradiction is depth; an unexplained one is noise.
Technique 03
Mirror the register yourself
The model matches your tone. If you reply in clipped, in-world prose, it stays in voice. If you slip into "can you make her nicer", you invite the assistant tone back in. Steer inside the fiction whenever you can.
Technique 04
Write traits as behavior, not labels
"Proud" is a label. "Will not ask for help even when she clearly needs it" is behavior the model can perform. Convert every trait into something observable.
If a scene still drifts, the fix is usually one precise in-character beat, not a longer correction. For the full playbook on recovering a scene that has gone flat, the AI roleplay guide covers drift handling in detail.
Writing the opening message / scene
The opening message is the single most important line of a character, because it sets the whole tone in one move. A weak opener invites small talk; a loaded one drops the user into a real moment they can answer immediately. The goal is to establish setting, emotional charge, and a hook in two or three sentences.
Weak opener
"Hi there! I am Mara. It is nice to meet you. What would you like to talk about today?"
No setting, no stakes, no reason for the user to be here.
Strong opener
*The garage shutter is half down for the night when your headlights hit it.* "We're closed." *She wipes her hands, then actually looks at the smoke coming off your hood.* "...but you are not making it twenty more miles on that. Pull in."
Place, a reluctant dynamic, and an immediate situation to answer.
A reliable recipe for openers:
- One action line in asterisks to ground the body in space.
- One loaded line of dialogue that implies history or stakes.
- An open ending — a question, a half-finished thought, or a situation the user must respond to.
- No narration of the user. Leave their side blank so they have room to act.
If you are brand new and writing an opener feels intimidating, our how to start AI roleplay walkthrough shows the first few turns step by step.
Memory anchors — helping the AI remember
Every model has a limited context window: it can only "see" a certain amount of recent text at once. As a scene grows long, the oldest details — a name mentioned an hour ago, a promise made early on — slide out of view, and the character seems to forget. This is mechanical, not a bug in your writing. The deep explanation lives in our guide on why AI forgets you; here is how to fight it at the prompt level.
The technique is memory anchors: deciding in advance which few facts must persist, stating them plainly, and re-surfacing them naturally as they fade.
In the prompt
Put the load-bearing facts in the persona, not buried in backstory: "You and the user are exes who have not spoken in two years. She still wears the ring on a chain." A handful of anchors, not a list of ten.
During the scene
When an anchor starts fading, reintroduce it inside the fiction: "*I notice the chain at her collar.* 'You kept it.'" A natural callback reloads the fact without breaking immersion.
Anchor rule: pick three to five facts that must survive the whole story. Everything else is allowed to be forgotten — and trying to make the model remember everything actually makes it remember the important things less reliably.
Want to skip the writing? Start from a ready card
On RPDATE every character already has a persona, voice, and a loaded opening scene. Test your prompt instincts against a curated card — or just dive into a scene.
Start a scene free →No signup to start · Scenario-ready characters · Works in the browser
3 full example character prompts
Three complete characters, each built from the template above, in three different registers. Copy any one into a platform that lets you create characters, or use them as a model for your own. Notice how lean the persona is and how much work the voice and opening do.

Noa, 26. Runs the closing shift at a tiny city café. Easy warmth, quick laugh, genuinely curious about people. Notices small things and brings them up later. A little lonely under the friendliness — the café is where she feels most herself.
Casual and bright. Teases gently. Asks follow-up questions. Uses "okay so" to start thoughts. Drops her voice when something matters.
*The bell over the door goes quiet behind you. The chairs are already up on the other tables — you are the last one in.* "We technically closed ten minutes ago." *She is already reaching for a cup.* "But you look like you had the kind of day that needs the good machine, not the drip. Sit. I am not in a hurry."
Dr. Sael, 38. Brilliant, precise, condescending in a way that is hard to call out. Believes he is helping by being honest. Sees you as the only colleague worth the effort, which is the closest thing to respect he offers. Never raises his voice.
Clipped, formal, surgical. States facts as if correcting you. Pauses before the sentence that actually stings. Never apologizes; rephrases instead.
*He does not look up from the readout when you enter the lab. The clock says 2 a.m.* "You changed the binding assay without telling me." *Now he looks up. The faint almost-smile is worse than anger.* "It worked. That is the irritating part. Sit down — we need to talk about what you do next, before you do something I cannot fix."

Idris, 31. Quiet, observant, plays guitar badly on his balcony every evening. You have exchanged nods for a year and nothing more. Shy in a self-aware, amused way. Once he commits to a conversation, he is surprisingly direct.
Soft, a half-beat slow, dry humor underneath. Trails off when nervous. Means more than he says. Notices when you do not answer.
*The courtyard light flickers on as the sky goes violet. He is on his balcony, guitar on his knee, not really playing.* "So this is going to sound insane after a whole year of just... nodding." *He sets the guitar down.* "But I have been trying to figure out how to ask you something, and I keep chickening out. Tonight feels like the night I stop chickening out."
Each of these is under 120 words of persona-plus-voice, yet every one has a clear way of speaking, a single vivid situation, and a hook the user can answer in one line. That is the whole game: lean writing, sharp voice, loaded opening.
Common mistakes
Almost every weak character prompt makes one of these six mistakes. The fix is in the right column.
Mobile: swipe horizontally for the full table.
Keep reading
AI roleplay guide
How to play a scene once the character exists: openers, pacing, drift.
AI roleplay scenarios
Ready scenario ideas to drop your new character into.
How to start AI roleplay
A beginner walkthrough of your very first few turns.
Why AI forgets you
The mechanics behind memory anchors and the context window.
Frequently asked questions
How long should an AI character prompt be?
Shorter than most people think. Aim for roughly 150–300 words for the persona description. The model reads everything you write, but a tight, well-chosen prompt produces more consistent characters than a sprawling one. Five sharp traits beat twenty vague ones, because contradictions and filler dilute the signal the model follows.
Why does the AI keep breaking character?
Three common causes: the persona has internal contradictions the model resolves randomly, the prompt describes facts but never voice (so the model defaults to a generic assistant tone), or your own replies drift in register and the model mirrors the drift. Lock the voice with one or two example lines, keep the persona free of contradictions, and stay in the same tone yourself.
What is the difference between a persona, a character card, and a system prompt?
They overlap. A persona is the description of who the character is — name, traits, backstory. A character card is the full package some platforms use: persona plus opening message plus example dialogue plus settings. A system prompt is the underlying instruction layer that tells the model how to behave. On most companion platforms you mainly write the persona and opening message; the system prompt is handled for you.
Should I write the prompt in first person or third person?
Third person for the persona description ("She is guarded but warm once she trusts you") reads cleanly and is easy to scan. First or second person works well inside the opening message and example dialogue, where you want the character speaking in their own voice. Mixing is fine as long as each section is internally consistent.
Do I have to write a prompt at all to start roleplaying?
No. Prompt-writing is a skill worth having, but it is optional. On RPDATE you can open a scenario-ready character card and start a scene immediately with no prompt-writing and no signup. Writing your own prompt is useful when you want a very specific character; otherwise a curated card gets you into a good scene faster.
How do I make the AI remember details across a long scene?
Use memory anchors. State the handful of facts that matter — a name, a shared history, the current situation — clearly in the persona or opening message, and re-surface them naturally in your replies when they start to fade. Models have a limited context window, so the goal is not perfect recall but keeping the load-bearing facts visible. Our guide on why AI forgets you explains the mechanics in depth.
Can I reuse the same prompt across different platforms?
Mostly yes. The core building blocks — name, persona, voice, backstory, boundaries, opening message — are portable. Platform-specific formatting (how it expects example dialogue, whether it uses a separate system field) varies, so you may need light reformatting, but the writing itself transfers. A good prompt is a good prompt anywhere.
Are these prompt techniques only for adult or romance roleplay?
No. Every technique here — persona, voice anchors, opening scenes, memory anchors — applies equally to mystery, fantasy, slice-of-life, mentor characters, or any genre. The examples in this guide span companion, antagonist, and slow-burn romance precisely to show the building blocks are genre-neutral.
About The Author & Editorial Standards
RPDATE Editorial Team
Editorial pageEditorial Team
The RPDATE editorial team prepares practical guides on roleplay dialogue design, character dynamics, and scene structure. We focus on tested recommendations and clear product context.
This article is prepared by the RPDATE editorial team based on direct product usage, scenario testing, and platform-level comparison. We update guides when UX, pricing, filtering, or access conditions change.
What was tested:
- Real chat sessions with multiple character types and tags
- Conversation consistency, memory behavior, and prompt adherence
- Onboarding friction: signup, paywalls, platform constraints
Editorial policy
We separate observations from opinion, mark limitations explicitly, and avoid sponsor-driven ranking claims. If a section is outdated, we revise it after verification.
Verification & transparency
Recommended next reads
Gift from RPDATE - Balance Promo Code
Public promo code for blog readers: activate in your profile and get +5 balance bonus.
no activation limits







