---
id: "nl_postcode"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["geo"]
country: ["NL"]
langs: ["nl"]
quality: 100
url: "http://registry.apicrafter.io/datatype/nl_postcode"
---

# Dutch postal code (`nl_postcode`)

Postcode in the Netherlands: four digits, the first not 0, a space and two capital letters, from 1000 AA upwards. The letter pairs SA, SD and SS are not used because of their association with Nazi Germany. The letters F, I, O, Q, U and Y were left out at first but are now used. The digits 0000-0999 are kept for the Caribbean Netherlands and are not in use. A full postcode covers a part of a street, so with a house number it identifies an address.

- Parent datatype: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo)
- Countries: Netherlands (NL)
- Languages: Dutch (nl)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{3} ?(?!SA|SD|SS)[A-Z]{2}$
```

## Examples

- `2601 DC` — python-stdnum reference value
- `3443 BX` — Synthetic postcode
- `8205WZ` — Synthetic postcode written without the space
- `2611 SS` (invalid example) — SS is not used (python-stdnum reference value)
- `26112 ET` (invalid example) — Five digits (python-stdnum reference value)
- `0123 AB` (invalid example) — The first digit is 0

## Mappings

- dpv: `pd:PostalCode`
- fta: `POSTAL_CODE.POSTAL_CODE_NL`
- schema_org: `postalCode`
- stdnum: `nl.postcode`

## Supported by tools

- `dataprep`
- `fta`
- `pythonstdnum`

## Translations

- nl: Postcode: Vier cijfers (de eerste geen 0), een spatie en twee hoofdletters; de combinaties SA, SD en SS worden niet gebruikt.
- ru: Почтовый индекс Нидерландов: Четыре цифры (первая не 0), пробел и две заглавные буквы; сочетания SA, SD и SS не используются.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands>
- wikipedia: <https://nl.wikipedia.org/wiki/Postcodes_in_Nederland>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.nl.postcode.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_nl_postcode.html>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/nl_postcode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NL/geo/nl_postcode.yaml>
