Many CK3 console commands act on a specific character — for example, gold, set_dread, or add_trait — and take a character ID as an argument. If you leave that argument out the command affects your own character, so you only need an ID when targeting someone else. Here's how to find it.
Step 1: Enable debug mode
Character IDs are only visible in debug mode. If you haven't enabled it yet, follow how to open the console first.
Step 2: Hover over the character
With debug mode enabled, move your mouse over a character anywhere in the game — in their character window, your court, the diplomacy screen, and so on. A tooltip appears that includes the character's ID, a plain number such as 1234.

Note that this is the runtime character ID used by console commands — not the Historical ID used in the game's script files.
Using the ID in a command
Add the ID as the final argument of a command. For example, to set the dread of the character with ID 1234:
Browse the full list of console commands to see which ones accept a character ID and exactly where it goes in the syntax.
Common commands that use a character ID
Most character-targeting cheats follow the same pattern — the ID goes last. A few of the most common:
- Add or remove a trait —
add_trait brave 1234 - Change their culture —
set_culture norse 1234 - Change their religion —
set_faith catholic 1234 - Set a skill —
set_martial 50 1234 - Kill the character —
kill 1234