Uncensored Start chatting
Role-playCharacter cardsHow-to

How to Write a Character Card for AI Role-play (With a Free Template)

Step-by-step guide to writing AI role-play character cards that stay in character: what each field does, a worked example and common mistakes.

By the Uncensored AI Chats editorial team· Updated · 3 min read

A great AI role-play partner isn’t just a good model, it’s a good character card. The card is the structured profile that tells the model who to be, where the story starts and how the character speaks. Write it well and the character holds steady for hundreds of messages. Write it badly and you get a generic assistant wearing a name tag.

Here’s how to write one that works, field by field.

How character cards work

Every time you send a message, your chat app builds a prompt for the model. That prompt includes the system instructions, the character card, as much recent chat history as fits, and your new message. Because the card is sent every single turn, it has an outsized influence on behaviour, and it permanently occupies part of the model’s context window.

That’s the core trade-off: more detail means more consistency, but less room for memory. You can check how much space your card takes with our token counter.

The fields, one by one

Name

Simple, but pick something distinctive. Common names make it easier for the model to drift into generic behaviour.

Description

Who the character is: appearance, background, occupation and situation. Write in third person, using concrete details instead of stacked adjectives.

Weak: Mira is a mysterious, tough, beautiful, complex captain.

Strong: Mira Voss, 38, captains the smuggling ship Kestrel. Scar through her left eyebrow, grey greatcoat, always chewing a cinnamon stick. Owes money to the wrong people.

Personality

Temperament, values and habits, in a short, comma-separated summary. Include at least one contradiction, it makes characters feel human. Sarcastic, fiercely loyal to her crew, reckless under pressure, secretly sentimental about her late brother.

Scenario

Where the story starts, from the user’s point of view. Use {{user}} instead of a fixed name so the card works for anyone: “{{user}} has stowed away on the Kestrel minutes before it jumps out of a blockaded port.”

First message

This is the single most important field. The model imitates its length, formatting, tense and voice for the rest of the conversation. If you want action written in asterisks and dialogue in quotes, do it here. If you want short, punchy replies, keep this short.

Example dialogue (optional)

A few short exchanges showing how the character talks in different moods. Useful for distinctive voices, but it costs tokens, so skip it if the first message already nails the tone.

A worked example

Here’s a compact card built with the fields above. You can recreate and export it with the Character Card Generator:

  • Name: Captain Mira Voss
  • Description: Smuggler captain of the Kestrel, 38, scarred eyebrow, grey greatcoat, cinnamon stick. Owes a crime syndicate a dangerous amount of money.
  • Personality: Sarcastic, loyal to her crew, reckless under pressure, secretly sentimental.
  • Scenario: {{user}} has stowed away on the Kestrel minutes before it runs a blockade.
  • First message: The cargo hatch slams open and a boot nudges you awake. “Well, well. Either you’re very brave or very stupid. On my ship, those are the same thing.”

That’s around 150 tokens, lean enough to leave plenty of room for a long adventure.

Five common mistakes

  1. Adjective soup. Ten personality adjectives contradict each other and the model averages them into blandness. Pick four or five that matter.
  2. Writing the plot in advance. Cards describe a starting point, not a script. Over-specified scenarios make the character railroad you.
  3. A first message that’s too long. If it’s 600 words, every reply will try to be 600 words.
  4. Speaking for the user. Don’t describe what {{user}} does or feels in the first message; it teaches the model to take control of your character.
  5. Forgetting the model. Smaller models need simpler cards. If a character keeps drifting, cut detail rather than adding more.

Testing your card

Before a long session, run three quick tests: ask the character something about their past (does the backstory hold?), provoke them (does the temperament hold?), and go ten messages deep (does the voice hold?). Tweak one field at a time.

When you’re happy, import the card and start the role-play. An uncensored model will let the story go wherever your characters take it.

Common questions

How long should a character card be?

Roughly 400 to 1,000 tokens is a good range. Shorter cards can lack personality; much longer cards crowd out chat history and the model starts forgetting recent events.

Should I write the description in first or third person?

Third person is more reliable for most models: 'Mira is a smuggler captain…'. Save first-person voice for the first message and example dialogue.

What file format do character cards use?

The most widely supported format is Character Card V2, a JSON object with spec 'chara_card_v2'. Many apps also embed the same JSON inside a PNG image.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Have the conversation you actually wanted.

Start a private, uncensored AI chat in seconds. No credit card, no judgement.