Country (ISO 2 Char)

Standardization Definition

Country (ISO 2 Char)
Description The Country (ISO 2 Char) standardization definition standardizes country names and country identifiers to the 2-character code defined by ISO 3166.
Examples Input Output
UNITED STATES OF AMERICA US
The United States of America US
United States of America (the) US
United States US
USA US
US US
U-S US
US A US
US OF A US
U.S.A. US
840 US
COMMONWEALTH OF THE NORTHERN MARIANA ISLANDS MP
MP MP
MNP MP
580 MP
"unknown" UNKNOWN
Remarks If the input is not recognized, the output will be uppercased without diacritics or punctuation.