Country Tag Migrator

Rename a country tag across scripts, states, localisation, and flag files.

Ready
Local browser processing
How Country Tag Migration Works & Examples

What gets updated

Parses Clausewitz scripts and HOI4 localisation files to update tag definitions, country scopes (VIE = { ... }), ownership/cores (owner = VIE, add_core_of = VIE), dynamic localisation ([VIE.GetName]), country history filenames, and flag assets. Unrecognized keys or quoted matches require manual approval.

# Before
owner = VIE
add_core_of = VIE

# After (VIE -> DVQ)
owner = DVQ
add_core_of = DVQ

Full checklist: Safely rename a country tag in HOI4.