Datatypes › Canada › Geographic identifiers › postindex

Canadian postal code

ID ca_postcode

Pattern of postindexPersonal data (PII)categoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Canadian postal code: six characters in the form A1A 1A1, a letter, a digit and a letter, a space, then a digit, a letter and a digit. The letters D, F, I, O, Q and U are not used, and W and Z do not start a code.

Pattern of
Postal code/index postindex
Categories
Geographic identifiers, Personally identifiable information, Common
Countries
Canada
Languages
English, French
FTA
POSTAL_CODE.POSTAL_CODE_CA
Former IDs
ca_postalcode
Quality
100/100
Metacrafter rules
2 rules (1 by field name, 1 by value)
Supported by tools
Collibra Data Classification, FTA (Fast Text Analysis), IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Snowflake sensitive data classification, validator.js

Regular expression

^[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z] ?\d[ABCEGHJ-NPRSTV-Z]\d$

Python re syntax.

Test a value

Examples

ValueDescription
K1A 0B1 Ottawa
H0H 0H0 Santa Claus, used by Canada Post for letters to him
M5V3L9 Toronto, written without the space
W1A 1AA invalid a UK postcode

Translations

LanguageNameDescription
RussianПочтовый индекс Канады

Sources

Use this record