EU5 Country Tags and Location IDs

Country tags name nations, location IDs name tiles. The two systems look similar and aren't interchangeable. Here's how to read either one straight from the game, plus a reference table of confirmed major tags.

EU5 runs two separate identifier systems, and console commands care which one you hand them. A country tag is a three-letter code that names a nation, like CAS for Castile or HUN for Hungary. A location ID is a plain number that names one tile on the map, a province, in old EU4 language. A command expecting a tag will error or silently no-op on a location ID, and vice versa, which is the single most common reason a console command "doesn't work."

How to find either one, live, in your own game

Don't try to memorize a static list. EU5 ships with well over a thousand playable tags and tens of thousands of locations, and both shift slightly between patches as new formables and map changes land. The reliable method:

  1. Turn on debug mode (debug_mode in the console, or launch with the debug flag).
  2. Hover the thing you want the ID for: a country on the diplomacy screen, a tile on the map. The tooltip prints the tag or location ID directly.
  3. Type helplog in the console. The game writes a complete, current command and identifier reference to a text file inside your Documents/Europa Universalis V folder. This is the authoritative list for your exact build and DLC/mod combination. A wiki table is a snapshot from whenever someone last edited it; helplog is live.

That third method is the one worth remembering: it's the only source that's guaranteed to match your actual patch version, including any tags added by mods you have running.

Common country tags (confirmed, not exhaustive)

A sampling of major-power tags. Hundreds more exist; use helplog for the full list
TagNation
CASCastile
PORPortugal
ARAAragon
FRAFrance
ENGEngland
HABAustria
HUNHungary
TUROttomans
POLPoland
SWESweden
VENVenice
NAPNaples
BYZByzantium

Location IDs: no static table, and here's why

Location IDs don't get a reference table on this page at all, on purpose. Unlike tags, which are stable strings tied to a nation's identity and rarely renumbered, location IDs are dense sequential integers covering every land tile and sea zone on the map, and EU5's map has already shifted province boundaries between patches during 1.3.x balance passes. A hand-typed table of "location 7273 = Sevilla" would be wrong the moment a map-detail patch lands. The debug-hover method above takes ten seconds and is always correct for whatever build you're running.

Common command pairings

Which identifier each console command wants
CommandWantsExample
tagCountry tagtag FRA
annexCountry tagannex HUN
populationLocation ID + amountpopulation 7273 10000
ownerLocation ID + country tagowner 1219 CAS

If a command errors out immediately, the first thing to check is whether you handed it a tag where it wanted a location ID. That mismatch, not a typo, is behind most "this command doesn't work" reports.

Related reading

For nation-specific starting details rather than raw identifiers, see the Hungary, Castile, and Portugal strategy guides, or the best starting nations overview for how to pick between them.

Sources

  1. https://eu5.paradoxwikis.com/Country
  2. https://eu5.paradoxwikis.com/Country/List/T
  3. https://raiderking.com/europa-universalis-5-all-console-commands-cheats-list/

Discuss this page with other Embriters in the Forge.

EMBRIT’s community for EU5/Paradox: threads, replies, and embers.