Hong Kong ISO Codes: HK, HKG, and 344 Explained
Searching for the Hong Kong ISO code can produce several different answers because country, telephone, currency, sports, and internet systems use separate identifiers. Hong Kong's ISO 3166-1 codes are HK, HKG, and 344. This guide explains what each format means, why HKG can also appear in Olympic data, and how to keep ISO codes separate from +852, HKD, .hk, and .香港 in forms, software, and financial records.
Hong Kong ISO Codes: Quick Answer
Hong Kong has three ISO 3166-1 representations: a two-letter alpha-2 code, a three-letter alpha-3 code, and a numeric code. The correct value depends on the field or system receiving the data.
The three ISO 3166-1 codes in one view
| ISO code type | Hong Kong value | Typical purpose |
|---|---|---|
| Alpha-2 | HK | Short country fields and general data exchange |
| Alpha-3 | HKG | Three-letter country datasets and some sports data |
| Numeric | 344 | Statistical, legacy, and numeric-only systems |
A secondary ISO country list from Docebo Help & Support also identifies Hong Kong with the alpha-2 value HK. The telephone calling code, currency code, Olympic code, and internet domains are not additional ISO 3166-1 formats. They belong to different standards or organizations.
The Three Hong Kong ISO 3166-1 Codes Explained
The three ISO formats represent the same geographic entry in different ways. They are not interchangeable in every application, so the receiving system's documentation should determine which value you submit or store.
The ISO alpha-2 code: HK
HK is Hong Kong's two-letter ISO 3166-1 alpha-2 identifier. It is the compact form most often requested when a general country field asks for an ISO alpha-2 value. For example, a database designed for this standard might store country_alpha2 = HK.
HK is not the same as the international telephone prefix +852. It is also not identical to the domain ending .hk, even though the letters are related. The first is an ISO country value, the second is used in telephone numbering, and the third is a DNS identifier.
Use HK when the form, API, or data specification clearly says it expects ISO 3166-1 alpha-2. Do not assume that every field labeled country code uses this format. Some services require a full name, an alpha-3 value, a numeric value, or a provider-specific code.
The ISO alpha-3 code: HKG
HKG is Hong Kong's three-letter ISO 3166-1 alpha-3 code. A three-letter format can be useful in international datasets where a longer, more recognizable abbreviation is preferred or where the interface explicitly requires alpha-3 values.
For example, an API may define separate fields for country_alpha2 and country_alpha3. In that situation, HK belongs in the first field and HKG belongs in the second. HKG should not automatically replace HK in a system that validates only two-letter values.
HKG is also used in Olympic contexts. The matching letters can make data exchange easier, but an Olympic code and an ISO code are governed by different organizations. When mapping records, keep the field name or source standard so that the meaning of HKG remains clear.
The ISO numeric code: 344
344 is Hong Kong's ISO 3166-1 numeric code. Numeric identifiers are useful for statistical systems, older databases, and interfaces that need a language-neutral value without alphabetic abbreviations.
A field named country_numeric or iso_numeric can therefore contain 344 when it is defined as an ISO 3166-1 geographic value. Whether the application stores the value as text or as a number depends on the provider's schema. Preserve the field definition and the standard name when exchanging data.
The number 344 can also occur in other systems, including currency data. That does not make the records interchangeable. Use the phrase geographic numeric code when comparing the ISO country value with a currency numeric value, and keep both meanings in separate typed fields.
How Other Hong Kong Identifiers Differ from ISO Codes
Hong Kong's other familiar codes are useful, but they answer different questions. A telephone system needs a calling code, a payment system needs a currency code, a sports database may need an Olympic code, and the internet needs a domain label.
The international calling code: +852
+852 is Hong Kong's international telephone calling code. It is part of the telecommunications numbering system, not an ISO 3166-1 country identifier. A phone application may use it to route or display an international number, while a country field in the same customer record may use HK.
For example, a connectivity record could contain country_iso_alpha2 = HK and telephone_calling_code = +852. These values describe related location information, but they should not be stored in one undifferentiated country-code field. The Office of the Communications Authority provides Hong Kong numbering-plan information for telecommunications use.
When a form says Hong Kong country code, read the surrounding field labels carefully. If the field belongs to a phone number, +852 may be expected. If it says ISO alpha-2, HK is the relevant value. Store +852 in a telephone calling-code field rather than in an ISO country-code field.
The currency code: HKD
HKD is the ISO 4217 alphabetic code for the Hong Kong dollar. It identifies a currency, not a geographic location. This makes HKD different from both HK and HKG, even though all three contain letters associated with Hong Kong.
A checkout, invoice, or accounting record might separate the values in this way:
- country_alpha2: HK
- currency: HKD
- amount: 1,250.00
The geographic ISO numeric code is 344. A currency dataset can also associate 344 with the Hong Kong dollar as a numeric currency code. The repeated number is a potential source of data errors, especially when country and currency tables are joined automatically. Keep HKD and geographic numeric code 344 in separate typed fields even when both systems use the number 344.
HKD is therefore not an alternative to an ISO 3166-1 country code. Use the financial provider's documented currency field for HKD and the relevant geographic field for HK, HKG, or 344.
The Olympic code: HKG
The International Olympic Committee uses HKG in its sports-code system for Hong Kong. This is useful when reading Olympic results, medal tables, team listings, or sports feeds that use IOC abbreviations.
The value matches Hong Kong's ISO alpha-3 code, but the match does not mean that every sports code is an ISO code. The meaning comes from the dataset and the organization that defines it. A general country database may interpret HKG as ISO 3166-1 alpha-3, while an Olympic results file may interpret it as an IOC sports code.
When mapping sports data into a general country database, retain the source system or standard name. Treat the matching value as an interoperability convenience, not as proof that the two code systems are identical.
The internet domains: .hk and .香港
.hk is Hong Kong's Latin-script country-code top-level domain. It is used in the DNS and in internet addresses, not as a value for an ISO country field. Its relationship with the ISO alpha-2 value HK helps identify the territory represented by the domain, but the two identifiers still serve different technical purposes.
.香港 is the Chinese-script internationalized country-code top-level domain representing Hong Kong. The delegation report from IANA documents its delegation to the Hong Kong Internet Registration Corporation Limited.
The IANA delegation data for .hk identifies the Hong Kong Internet Registration Corporation as its country-code top-level domain manager. In practice, domain registration and DNS validation can involve rules that are separate from ISO country-code validation.
In domain software, .香港 is an internationalized label. A browser or DNS library may display the user-visible Chinese-script form while processing an ASCII-compatible representation internally. Use the format required by the specific domain API. Before implementing validation or registration rules for .hk or .香港, check current IANA information and the Hong Kong Internet Registration Corporation's current requirements.
Using Hong Kong Codes in Forms, Software, and Data
Code errors usually happen when a field is named too broadly. A reliable integration identifies the standard and format first, then validates the value against that definition.
Forms, databases, and APIs
Use HK only when a form, API, or database field explicitly expects ISO 3166-1 alpha-2. If the specification says alpha-3, use HKG. If it says ISO numeric, use 344. A service that accepts one format may reject the others or silently interpret them incorrectly.
An application that exchanges several formats can store separate attributes or use a controlled lookup table. A translation-friendly example is:
- country_alpha2: HK
- country_alpha3: HKG
- country_numeric: 344
Separate attributes make transformations explicit. They also prevent a developer from placing a three-letter value into a two-letter field simply because both describe Hong Kong. If a provider uses a single field called country, read its documentation to determine whether it accepts an ISO code, a display name, or another identifier.
Use the expected casing and data type defined by the receiving service. ISO alphabetic codes are commonly shown in uppercase, but an API may apply its own validation rules. Numeric 344 may be represented as text or as an integer. A controlled lookup table should record the code type, source standard, accepted format, and any version or effective-date information needed by the integration.
Before submitting a Hong Kong value, confirm whether the external form or API expects ISO alpha-2, alpha-3, or numeric format. Do not infer the required representation from the words country code alone.
Payments and financial reporting
Payment and reporting systems often need both geographic and monetary information. Keep them separate: a customer or transaction may use HK as an ISO alpha-2 country value and HKD as the currency value. A different system may request HKG or geographic numeric 344 instead.
For example, a transaction record could contain billing_country = HK, settlement_currency = HKD, and currency_amount = 500.00. The exact field names and accepted codes depend on the payment service, bank, accounting platform, or reporting specification.
Numeric 344 requires particular care when country, statistical, and currency datasets are combined. Retain the originating standard in the mapping, such as ISO 3166-1 geographic numeric or ISO 4217 currency numeric. This prevents a repeated value from creating a false semantic match and helps explain the result during reconciliation or audit.
Keeping phone, domain, country, and currency fields separate
A connectivity profile for Hong Kong can hold several valid identifiers at the same time:
- iso_country_alpha2: HK
- iso_country_alpha3: HKG
- iso_country_numeric: 344
- telephone_calling_code: +852
- currency_code: HKD
- country_code_top_level_domain: .hk
These values are not interchangeable versions of one code. They support different tasks: country identification, telephone routing, monetary processing, and domain naming. Separating them improves validation, search, user-interface labels, and API interoperability.
A final validation step should check each field against the standard expected by the receiving service. For example, validate HK with an ISO alpha-2 rule, +852 with a telephone rule, HKD with a currency rule, and .hk with a domain rule. This field-by-field approach is more reliable than applying one generic country-code validator to every value.
Hong Kong, China, and Official Naming Context
Different international standards, organizations, and software providers may use different English labels for the same intended Hong Kong entry. A dataset may show Hong Kong, Hong Kong, China, or a formulation that identifies Hong Kong as a Special Administrative Region of China.
Use the code set and official label together
Name differences should be interpreted in the context of the source system. The label tells you how that source describes the entry, while HK, HKG, or 344 identifies the code value and format used within that system. A name variation does not turn an alpha-2 code into an alpha-3 code, and it does not make a geographic code a currency or telephone code.
When combining datasets, preserve the source label, code type, and aggregation rule. This is important for address databases, statistics, payments, shipping, and reporting systems. Do not replace a source's Hong Kong entry with a generic country label or merge it automatically with another entry simply because a display name appears similar.
For current integrations, the relevant ISO 3166-1 values are HK, HKG, and 344. A former name or retired code should be used only when a documented historical dataset specifically requires it. For ordinary current forms and APIs, use the format requested by the system and preserve the source label when records are exchanged.
Key Takeaways for Hong Kong ISO Codes
- HK is Hong Kong's ISO 3166-1 alpha-2 code.
- HKG is Hong Kong's ISO 3166-1 alpha-3 code and also appears in Olympic sports data.
- 344 is Hong Kong's ISO 3166-1 geographic numeric code.
- +852 is the international telephone calling code.
- HKD is the Hong Kong dollar currency code.
- .hk and .香港 are Hong Kong country-code top-level domains.
Choose the value by the field's documented standard, not by the general phrase Hong Kong country code. Keeping country, phone, currency, sports, and domain identifiers in separate fields makes Hong Kong data easier to validate and exchange accurately.
Select area
Create a post
Posting is free and no registration is required.