Roleplay Formatting in AI Chat: A Practical Guide

Woman typing a roleplay chat on laptop

The most common way to format an AI roleplay message is simple. Put spoken words in quotation marks, put actions and narration in asterisks, and put out-of-character notes in double parentheses or square brackets. Keep each of those in its own short paragraph. Bots read your pattern and copy it, so a clean, consistent layout tends to get you cleaner, more consistent replies.

This guide shows the main conventions, how Markdown works inside a chat window, how to keep your own notes apart from the story, and what to do when a platform treats your symbols differently. Every example is written so you can paste it and adapt it.

Virtualship
Find an AI Companion for Your Style
Compare AI companion platforms by features, pricing, and personalization to find an option suited to your roleplay preferences.
Compare AI companions

TL;DR

  • Use “quotes” for speech, asterisks for actions and narration, and a distinct marker for thoughts. Pick one set and stick with it.
  • Separate dialogue, action and thoughts into short paragraphs. Walls of text give the bot a messy pattern to copy.
  • Mark out-of-character (OOC) messages clearly, for example with double parentheses, and keep them brief.
  • Conventions are habits, not laws. Platforms and models differ, so watch how your first few replies render and adjust.
  • Put your formatting rules in the character description or first message, so the bot learns them from the start.

Table of Contents

What roleplay formatting means in an AI chat

Roleplay formatting is the set of visual signals that tell a reader, human or bot, what kind of text they are looking at. In a story, a line can be something a character says, something a character does, something a character thinks, a description of the scene, or a note from you as the real person behind the keyboard. In print, novels separate these with quotation marks, paragraph breaks and italics. Chat windows are plain text with a little Markdown, so roleplayers borrowed a few symbols to do the same job.

The point is not decoration. Formatting does three practical things:

  1. It keeps the reader oriented. You can scan a long scene and see who did what.
  2. It shows the bot which parts are speech and which are narration, so it can answer in kind.
  3. It keeps your instructions from leaking into the story, and the story from being mistaken for instructions.

One guide on improving roleplay in a popular character chat app makes the underlying logic plain: bots are pattern matchers, so clearer structure leads to better performance. That is the best reason to care. A tidy message is easier for you to read and easier for the model to continue.

The core convention: speech, action, thought

The widely shared layout looks like this:

  • Speech goes in quotation marks.
  • Actions and descriptive narration go between asterisks.
  • Internal thoughts get their own marker, and this is where people differ.

A sample message:

*Mara leans against the doorframe, rain still dripping from her coat.* "You're late. I almost gave up on you."

*She tries to sound casual, but her fingers tighten around the mug.*

//He actually came. Don't make it weird.//

There is no official standard for the thought marker. Some people use double slashes, some use italics inside parentheses, some use a plain-text label such as “Thinking:”. Choose one and use it every time. The bot will usually pick up the pattern within a few exchanges.

Why asterisks became the default

In most chat apps, wrapping text in single asterisks renders it in italics. That made asterisks a natural way to set actions apart from speech. One explainer on a popular character chat platform notes that single asterisks italicize text and mark narration or non-dialogue action, while parentheses or brackets are used to step out and talk to the bot directly. The habit spread because it works on screen: speech stays in plain upright text, and everything else leans.

Point of view and tense

Formatting is not only symbols. Decide on a point of view and tense, then hold them.

  • Third person, present tense (She opens the door) is the most common in chat roleplay and reads like a script.
  • First person (I open the door) feels more intimate and suits companion-style chats.
  • Second person (You open the door) is handy if you want the bot to narrate what happens to your character.

Mixing them inside one message confuses both you and the model. If your own messages use third person and the bot answers in first person, say so in a short OOC note and ask it to match.

How Markdown works in a roleplay chat

Most chat interfaces support a small subset of Markdown. What you can rely on depends on the platform, but these are the pieces you will meet most.

What you type What usually appears Typical roleplay use
*text* Italic text Actions, narration
**text** Bold text Emphasis, loud speech, a key detail
***text*** Bold italic Rare, for dramatic moments
A blank line between blocks A new paragraph Separating speech, action, thoughts
> text A block quote Letters, messages, remembered words
- item A bullet list Out-of-character summaries, inventories
--- A horizontal rule Scene breaks
`text` Monospaced text Game stats, system messages

Line breaks and paragraphs

This is where most layouts go wrong. In many chat boxes, pressing Enter sends the message, and you need Shift+Enter for a new line. In Markdown, a single line break inside a paragraph may collapse into a space, while a blank line creates a real paragraph break. If your actions and dialogue keep running together, leave an empty line between them and check how it displays.

Asterisks that break

Asterisks are fragile. A few things commonly go wrong:

  • Unclosed asterisks. If you forget the closing one, a whole message turns italic, or stray asterisks show up literally.
  • Asterisks next to spaces. Many Markdown renderers will not italicize when there is a space just inside the asterisk. Write *smiles*, not * smiles *.
  • Quotes inside italics. Nesting speech inside an action, such as *she whispers "come closer" and waits*, often renders fine, but it makes the bot’s pattern less clear. Closing the italics before the quote is safer.
  • Literal asterisks. If you want to show an asterisk as a character, put a backslash before it.

The cleanest habit is to open and close every asterisk pair on the same line, and to keep speech outside the pair.

Headings, lists and code blocks

You can use headings and lists, but in a story they usually break the spell. They are better kept for the setup stage: your character description, a rules list or a summary you paste in to refresh the bot’s memory. A short bulleted list of facts, such as names, relationships and where the scene stands, is easy for a model to parse. Inside the scene itself, plain paragraphs read better.

Keeping out-of-character notes separate

Sooner or later you need to step out of the story: to steer the plot, fix a mistake, ask for a different tone or just say you are leaving for dinner. Those messages are out of character, usually written OOC. They should be unmistakable, because a bot that mistakes your note for dialogue will have your character say it aloud.

There is no single universal format. A guide to OOC conventions documents four common styles: double parentheses, square brackets, an “OOC:” prefix on a new line, and double slashes, and it notes that roleplay communities do not all use the same one. Here is how each looks:

((OOC: I'll be back after making tea.))

[OOC: Can we skip to the next morning?]

OOC: Please keep replies to two short paragraphs.

// I think the caretaker would lie about this.

Which one should you pick?

  • Double parentheses are the clearest at a glance and rarely collide with anything else.
  • Square brackets work well when you also use parentheses inside your story text.
  • An OOC prefix on its own line is the most readable for a long instruction.
  • Double slashes are compact, but if you also use them for thoughts, you will confuse the bot. Do not use the same marker for two jobs.

Writing a good OOC instruction

Keep it short, specific and positive. Compare these:

  • Weak: ((OOC: you're doing it wrong))
  • Better: ((OOC: Please write Mara's replies in third person, present tense, and end each one with a question or an action I can respond to.))

Tell the bot what to do, not only what to stop. After it complies, go back to the story without commenting, so the pattern returns to normal. If you find yourself writing OOC notes every other message, move the rule into the character description or the opening message instead.

For firmer limits on content and tone, a note in the middle of a chat is the weakest tool. Our guide to locking roleplay boundaries in AI chat explains how to place those rules where they persist.

Build the format into your prompt

The best time to set formatting is before the first reply. Add a short block to the character description, the scenario field or the opening message. A roleplay prompt that keeps character and scene consistent typically covers a few things: who the character is, where and when the scene happens, what is happening right now, how the replies should be written, and what tone to hold. Treat formatting as part of the “how replies should be written” piece.

A compact template:

Character: Mara Quinn, 29, a dry-humored night-shift pharmacist. Guarded, loyal, teases when nervous.
Setting: A rainy coastal town, present day. Her apartment above the pharmacy.
Scenario: {{user}} has just arrived for a dinner they planned a week ago.
Style: Third person, present tense. Speech in "quotes". Actions and narration in *asterisks*. Thoughts in //double slashes//. Two to three short paragraphs per reply. Never write {{user}}'s actions or speech.
Tone: Warm, slow-burn, lightly comic.
OOC: Anything in ((double parentheses)) is a note from me, not part of the story. Answer it briefly, then continue.

Three details in that template matter more than they look:

  1. Length is stated. Without it, models tend to drift longer or shorter over time.
  2. The bot is told not to control your character. This is the cure for replies that decide what you say or feel.
  3. The OOC marker is defined. The bot knows how to treat it.

If you are building characters from scratch, our piece on worldbuilding for AI roleplay shows how to write the setting part so it stays stable over many sessions.

Formatting mistakes that make roleplay harder to read

Most formatting problems come from a handful of habits.

Walls of text

One enormous paragraph that mixes speech, action and thought is hard for you to scan and gives the bot a muddy template. Guides for popular character chat apps give the same basic advice: split actions, dialogue and thoughts into clean paragraphs and avoid text walls. If a message runs past four or five lines, look for a natural break.

Switching conventions mid-scene

If you use asterisks for actions in one message and plain text in the next, the model gets two competing patterns. It may follow either, or blend them. Pick a convention and keep it for the whole chat.

Using one symbol for two jobs

When asterisks mean both actions and emphasis, or slashes mean both thoughts and OOC notes, the bot guesses. Give each job its own marker.

Over-formatting

Bold on every second word, nested italics, headings in the middle of a scene and long bullet lists all pull the reader out of the story. Formatting should disappear into the reading.

One-word replies

Terse input produces generic output. A full sentence with an action and a line of speech gives the model something to work with and sets the style you want back. A short, vivid message beats a very long one.

Forgetting to re-anchor

In very long chats, early formatting rules can fade as the conversation grows. If replies start drifting, paste a two-line reminder of the style rules, or edit the character description. For longer-running stories, five memory details can help the chat stay consistent, and our comparison of two well-known platforms shows three memory moves for long-form roleplay.

Do formatting conventions work the same on every platform?

No. The symbols are community habits, and each platform handles them its own way.

  • Rendering differs. One app may turn asterisks into italics, another may show them raw, and a third may strip them.
  • Line break behavior differs. Some need a blank line, some a Shift+Enter, some treat every Enter as a new paragraph.
  • Models differ. Some follow a defined style closely for dozens of messages. Others drift back to their own default voice, with long descriptive paragraphs, unless reminded.
  • Filters and system rules differ. Some platforms apply their own content rules regardless of what you write in a note. If you are weighing platforms on content limits, see our explanation of why 18+ roleplay still gets filtered on one major platform, and for a content-safe route, three quick tests for SFW chatbots.

A quick way to learn a new platform’s behavior is a two-minute calibration. Send a message with one line of speech, one asterisk action, one thought and one OOC note. Read how it displays, then read how the bot answers. If it mirrors your layout, you are set. If not, add the style block to the character description and try once more.

Some platforms also differ in how much they let you configure. A few allow a custom system prompt or a reply-length setting, which makes formatting far easier to control than a note in the chat. When you compare options, look for these settings next to memory and privacy. Different tools fit different styles, and you can see how we weigh them in our look at which chatbot fits your roleplay.

Finding a platform that fits your style

Finding a platform that fits your style

Formatting is easier when the platform supports the way you like to write. Some people want rich, novel-like narration. Others want quick back-and-forth dialogue with a companion who feels like a person. A few want voice or images alongside the text, and our guide to image prompts for roleplay covers how to describe a scene so the visuals match the text.

Virtualship exists to make that choice easier. We compare AI girlfriend, boyfriend and roleplay platforms on the things that decide whether a chat feels good to use: customization, personalization, memory, privacy, messaging, voice, video and image features, and how each handles roleplay and NSFW options. If you are ready to choose, start with our AI companion platform comparison, or browse 21 tested roleplay platforms to see which ones suit narrative-heavy play.

Virtualship

If you would rather start from what you want out of the chat, our roleplay chatbots for romance and friendship list sorts options by the kind of experience you are after. For a faster route to characters you will enjoy, try character discovery for AI chat.

A worked example: before and after

Here is a cluttered message:

Mara looks at you and says hey I was waiting for you and I thought you weren't coming and she crosses her arms and thinks he's so annoying but I'm glad he's here and then she smiles

It has no markers, no breaks and no separation of voice. The bot cannot tell where speech ends and thought begins, and neither can you. Here is the same content cleaned up:

*Mara looks up from the counter and crosses her arms.*

"Hey. I was waiting for you. I thought you weren't coming."

//He's so annoying. And I'm so glad he's here.//

*Her smile gives her away before she can stop it.*

Same story, but now each beat has a job. You could reply to any one of them, and the bot has a clear template for its own answer.

A reply from you in the same style might be:

*I shake the rain from my jacket and hold up a paper bag.* "Traffic. But I brought the good dumplings, so I'm forgiven, right?"

Short, with one action and one line of speech. That is enough to set the rhythm.

A short checklist before you send

  1. Is every line of speech inside quotation marks?
  2. Are actions and narration inside matching asterisk pairs, closed on the same line?
  3. Does each type of content have its own marker, with no marker doing two jobs?
  4. Is there a blank line between different kinds of content?
  5. Is any OOC note clearly marked and short?
  6. Do point of view and tense match the earlier messages?

If you can answer yes to all six, your message is in good shape on nearly any platform.

FAQ

What is the standard format for AI roleplay?

There is no formal standard, but the most common layout uses quotation marks for speech and asterisks for actions and narration. Thoughts and OOC notes use varied markers such as double slashes, double parentheses or square brackets. What matters most is choosing a set and applying it consistently.

How do I write an OOC message to an AI character?

Wrap it in a marker you have defined, such as ((OOC: …)) or [OOC: …], and make the request short and specific. Several OOC styles are in common use, so tell the bot which one you use in the character description. After it answers, return to the story without extra commentary.

Why does the bot ignore my formatting?

Usually the pattern is unclear or has drifted. Check that you are using one convention, that your paragraphs are short, and that the rules sit in the character description. If replies slide back to long descriptive blocks, paste a two-line style reminder or ask for a specific reply length.

Do asterisks work on every AI chat platform?

Not always. Many platforms render single asterisks as italics, but some show them raw or handle line breaks differently. Send one test message with speech, an action and a thought, and see how it displays before you write a long scene.

Should I use bold or headings in roleplay?

Use them sparingly. Bold can mark a shout or a key detail, and headings or lists are useful for setup notes and summaries. In the scene itself, plain paragraphs with quotes and asterisks read most naturally.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top