A French code postal is the 5-digit postal code used to route mail across metropolitan France and its overseas territories. The first two digits normally signal the département, which makes the code useful for address forms, delivery-zone logic and e-commerce checkout validation. This free tool validates the format and maps the code to its département in your browser, with full handling for Corsica and the DOM-TOM.
How it works
- Strip whitespace; the input must be exactly five digits.
- Read the leading digits to determine the département:
2A/2Bfor Corsica (codes20xxx),- three-digit
97x/98xprefixes for the overseas départements and territories, - otherwise the first two digits give the metropolitan département (01–95).
- Map that to the département name.
Example
Validate 75008 (Paris 8e): five digits, leading 75 → Paris. Validate 97400: the 974 prefix maps to La Réunion. 20090 maps to Corse-du-Sud (2A) by the Ajaccio range, while 20200 maps to Haute-Corse (2B).
Notes
The département mapping is an excellent heuristic but not infallible: a handful of communes carry a postal code whose prefix differs from their administrative département, and Cedex / large-volume codes follow their own rules. A valid format does not guarantee the exact code is in active use — confirm with La Poste when delivery accuracy matters. Everything runs locally in your browser.