🇬🇧United Kingdom (GB)
ISO 3166 country code - Europe / Northern Europe
Alpha-2GB
Alpha-3GBR
Numeric826
Currency
£ GBP - British Pound
Memberships
SEPA
Code Example
import { country } from '@koshmoney/countries';
// Look up United Kingdom by alpha-2 code
const gb = country.getCountry('GB');
// => { name: 'United Kingdom', alpha2: 'GB', alpha3: 'GBR', numeric: '826' }
// Look up by alpha-3 code
country.getCountryByAlpha3('GBR');
// Look up by numeric code
country.getCountryByNumeric('826');Subdivisions (239)
| Code | Name | Type |
|---|---|---|
| GB-ABD | Aberdeenshire | Council area |
| GB-ABE | Aberdeen City | Council area |
| GB-AGB | Argyll and Bute | Council area |
| GB-AGY | Isle of Anglesey | Unitary authority |
| GB-ANS | Angus | Council area |
...and 234 more. View all 239 subdivisions →
FAQ
- What is the ISO code for United Kingdom?
- United Kingdom has three ISO 3166-1 codes: Alpha-2 "GB", Alpha-3 "GBR", and Numeric "826".
- How many subdivisions does United Kingdom have?
- United Kingdom has 239 subdivisions defined in ISO 3166-2, including Aberdeenshire, Aberdeen City, Argyll and Bute, and more.
- How to look up United Kingdom in JavaScript?
- Install @koshmoney/countries via npm, then use country.getCountry('GB') to get all ISO codes, or subdivision.getByCountry('GB') for subdivisions.
Use United Kingdom data in your project
Get ISO codes, subdivisions, currency, and more with a single npm package.
npm install @koshmoney/countries