---
id: "es_vehicle_plate"
kind: "datatype"
status: "draft"
is_pii: false
name: "Spanish vehicle registration plate"
regexp: "^\\d{4}[ -]?[BCDFGHJKLMNPRSTVWXYZ]{3}$"
categories: ["transport"]
country: ["ES"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/es_vehicle_plate"
---

# Spanish vehicle registration plate (`es_vehicle_plate`)

> **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.

Number of a Spanish vehicle registration plate in the national format in use since September 2000, four digits from 0000 to 9999 and three letters from BBB to ZZZ. The letters leave out the five vowels and Ñ and Q, so twenty consonants are used. Tables write it with a space, with a hyphen or without a separator (3499 CDB, 3499CDB). Plates issued before 2000 start with the letters of the province (M 4617 YU) and are not covered by the regexp.

- Personal data (PII): no
- Categories: Transportation (transport)
- Countries: Spain (ES)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{4}[ -]?[BCDFGHJKLMNPRSTVWXYZ]{3}$
```

## Examples

- `0000 BBB` — the first number of the series
- `9999ZZZ` — the last number of the series, without a space
- `0000 BAB` (invalid example) — a vowel

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `esvehicleplatebyname` (field, `es/es_codes.yaml`)
- `esvehicleplatevalue` (data, `es/es_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Matrícula de vehículo
- ru: Номерной знак автомобиля (Испания)

## Sources

- doc: <https://www.boe.es/boe/dias/2000/09/16/pdfs/A31871-31876.pdf>
- wikipedia: <https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Spain>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/es_vehicle_plate.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/transport/es_vehicle_plate.yaml>
