🇨🇭Switzerland Cantons
All 26 Switzerland subdivisions with ISO 3166-2:CH codes - Europe / Western Europe
Total
26 subdivisions
Types
Canton
ISO Standard
ISO 3166-2:CH
Code Example
import { subdivision } from '@koshmoney/countries';
// Get all Switzerland subdivisions
const subs = subdivision.getByCountry('CH');
// => 26 subdivisions
// Look up a specific subdivision
subdivision.get('CH-AG');
// => { code: 'CH-AG', name: 'Aargau', type: 'Canton' }
// Validate a subdivision code
subdivision.isValidCode('CH-AG'); // true
subdivision.isValidRegion('CH', 'AG'); // trueTree-Shaking Tip
Import only Switzerland subdivisions to minimize bundle size:
// Import only Switzerland subdivisions for smaller bundles
import { subdivisions } from '@koshmoney/countries/subdivision/CH';
Object.entries(subdivisions);
// => 26 entriesAll Switzerland Cantons
| Code | Name | Type |
|---|---|---|
| CH-AG | Aargau | Canton |
| CH-AI | Appenzell Innerrhoden | Canton |
| CH-AR | Appenzell Ausserrhoden | Canton |
| CH-BE | Bern | Canton |
| CH-BL | Basel-Landschaft | Canton |
| CH-BS | Basel-Stadt | Canton |
| CH-FR | Freiburg | Canton |
| CH-GE | Genève | Canton |
| CH-GL | Glarus | Canton |
| CH-GR | Graubünden | Canton |
| CH-JU | Jura | Canton |
| CH-LU | Luzern | Canton |
| CH-NE | Neuchâtel | Canton |
| CH-NW | Nidwalden | Canton |
| CH-OW | Obwalden | Canton |
| CH-SG | Sankt Gallen | Canton |
| CH-SH | Schaffhausen | Canton |
| CH-SO | Solothurn | Canton |
| CH-SZ | Schwyz | Canton |
| CH-TG | Thurgau | Canton |
| CH-TI | Ticino | Canton |
| CH-UR | Uri | Canton |
| CH-VD | Vaud | Canton |
| CH-VS | Valais | Canton |
| CH-ZG | Zug | Canton |
| CH-ZH | Zürich | Canton |
FAQ
- How many subdivisions does Switzerland have?
- Switzerland has 26 subdivisions defined in ISO 3166-2:CH, including 26 cantons.
- What is the ISO 3166-2 code format for Switzerland?
- Switzerland subdivision codes follow the format CH-XX, where CH is the country's alpha-2 code and XX is the subdivision identifier. For example, CH-AG represents Aargau.
- How to get Switzerland subdivisions in JavaScript?
- Install
@koshmoney/countriesvia npm, then usesubdivision.getByCountry('CH')to get all 26 subdivisions.
Use Switzerland subdivision data in your project
Get all 26 Switzerland subdivisions with ISO 3166-2 codes, plus countries, currencies, postal codes, and more.
npm install @koshmoney/countries