Skip to content
AIRoleplay.Guide

What is a character card? V1, V2 and V3 explained

By Cyril · Updated · Checked with Card spec V2 and V3, SillyTavern 1.19.1

Short answer

A character card is a small file (JSON, or JSON hidden inside a PNG image) that describes an AI character: name, description, personality, scenario, first message and example dialogue. V2 adds a system prompt, alternate greetings, tags and an embedded lorebook. V3 adds multilingual creator notes, nicknames, group-only greetings and bundled assets. SillyTavern 1.19.1 imports both.

A character card is the file that turns a general AI model into a specific character. Roleplay front-ends such as SillyTavern read it and build the prompt from its fields. The format started in the Tavern community and is now described by two public specifications, V2 (validated on 17 May 2023) and V3.

The six core fields (V1)

Every card, old or new, has these fields:

Field What it does
name The character’s name.
description Who the character is: background, looks, rules. Sent with every message.
personality A short summary of traits.
scenario Where and when the story starts.
first_mes The character’s opening message.
mes_example Example dialogue that shows the voice and style.

What V2 adds

V2 wraps the same data in an object marked "spec": "chara_card_v2" and "spec_version": "2.0", and adds:

Field Use
system_prompt Instructions sent before the character (for example “Never write the user’s actions”).
post_history_instructions Instructions sent after the chat history, closest to the reply.
alternate_greetings Other possible first messages.
character_book An embedded lorebook: entries with keys that are inserted only when a key word appears in the chat.
creator_notes, tags, creator, character_version Information for humans and libraries.
extensions Free space for app-specific data. The spec says it is mandatory (it can be {}) and that apps must never delete unknown data in it.

The embedded lorebook is the most underused part. It lets a character “know” facts about their world without filling the context with them all the time.

What V3 adds

V3 uses "spec": "chara_card_v3" and "spec_version": "3.0" and keeps the V2 fields. New ones include:

V3 also defines a CHARX file: a zip containing card.json and its assets.

How a card hides inside a PNG

A shared card is often a PNG portrait. The card data sits inside the image as a text chunk, encoded in base64:

We checked SillyTavern 1.19.1’s source code: when it reads a PNG it accepts both chunks and gives ccv3 precedence, and when it saves one it writes a chara chunk plus a ccv3 copy relabelled as V3.

Try a real card

Our original test character, Captain Mara Vell, is a V2 card with a 10-entry lorebook. We imported it into SillyTavern 1.19.1 on 23 November 2026: the name, first message and all 10 lorebook entries came through.

Writing tips that follow from the format

Questions people ask

Why is my character card a PNG image?

The image is the character's portrait, and the card data is stored inside it as a hidden text chunk: 'chara' for V2 cards, 'ccv3' for V3 cards. Opening the PNG in an image viewer only shows the picture.

Can I use cards from other sites?

Technically yes, but many shared cards copy characters from films, games or anime, which belong to their owners. We only publish original characters.

Sources