---
id: "plus_code_short"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["geo"]
langs: ["common"]
quality: 75
url: "http://registry.apicrafter.io/datatype/plus_code_short"
---

# Short Plus Code (Open Location Code) (`plus_code_short`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Plus Code with leading digits removed, which is decoded relative to a reference location, often a town written after it (WF8Q+WF Praia). Digits are removed in pairs and only while the reference is close enough to recover the full code (plus_code). The specification describes removing two to six digits; the test data of the reference implementations also removes all eight (+2VX). Short codes keep the separator + and cannot contain padding. Short codes with nothing after the separator, such as 22+, are valid but not covered, because they look like ordinary text.

- Pattern of: `plus_code`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2}){0,3}\+[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2,}$
```

## Examples

- `9G8F+6W` — 8FVC9G8F+6W shortened near Zurich (specification)
- `8F+6W` — The same code shortened closer to its centre (specification)
- `WF8Q+WF` — 796RWF8Q+WF shortened for Praia (specification)
- `WC2345+G6g` — Mixed case, from the reference validity tests
- `+2VX` — 9C3W9QCJ+2VX with all eight digits removed (reference short code tests)
- `WC2300+G6g` (invalid example) — Short codes cannot contain padding
- `WC2345+G` (invalid example) — One digit after the separator
- `8FVC9G8F+6W` (invalid example) — Full code: the datatype plus_code

## Sources

- doc: <https://github.com/google/open-location-code/blob/main/Documentation/Specification/specification.md>
- other: <https://github.com/google/open-location-code/blob/main/test_data/validityTests.csv>
- other: <https://github.com/google/open-location-code/blob/main/test_data/shortCodeTests.csv>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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