China License Plate Validator - Format Check
Validate China mainland plate formats (standard/NEV/armed police/embassy) with province decoding. Format check only, local.
This tool runs in your browser: what you enter is processed on your device and normally never appears in a request to any server.
Next steps
Usage Guide
Chinese plates look casual but every position follows rules (GA 36-2018): province glyph, issuing-office letter, serial alphabet, and dedicated layouts for new-energy vehicles. Parking systems, violation reconciliation, and vehicle-form entry all benefit from a format gate before bad data enters the pipeline. This validator handles standard plates, new-energy layouts (D/F position rules), trailers, coach cars, police plates, and the 粤Z Hong Kong/Macau format. Format-only and local; no registry or violation lookup.
1. How to validate
Validation runs locally. Use it as the first gate on entry: a format-invalid plate should never reach billing, reconciliation, or watch-list flows.
- Paste the plate including the province glyph (e.g., 京A12345). Separator dots and spaces are ignored automatically.
- Validate. Results cover: province glyph in the valid set, issuing-office letter legal, serial length and alphabet, and the recognized plate type.
- New-energy plates (8 positions) additionally check that D/F sits in the correct slot and label the inferred subtype (battery-electric vs. not).
2. Structural rules
A standard plate is 7 characters: a province abbreviation (京津冀晋蒙辽吉黑沪苏浙皖闽赣鲁豫鄂湘粤桂琼渝川贵云藏陕甘青宁新), an issuing-office letter (I and O are excluded to avoid confusion with 1 and 0), then a serial of digits and 24 uppercase letters (again without I and O). New-energy plates extend to 8: for small vehicles, position 3 is fixed to D (battery-electric) or F (not purely electric — plug-in hybrids, range extenders, fuel cells) followed by a 6-character serial (e.g., 京AD12345). The mainstream rules of GA 36-2018 are implemented here.
3. The D/F position rules
Small new-energy vehicles: province + office + D/F + six serial characters. Large ones: province + office + five serial characters with D/F at the end (e.g., 京A12345D). The two layouts are not interchangeable — mixing them up is the most common integration bug when fleets migrate to new-energy data.
4. Special plate types
- Trailers: the serial starts with 挂 (e.g., 京A挂1234); coach cars start with 学.
- Police: the serial ends with 警 in a six-position structure.
- 粤Z: Hong Kong/Macau vehicles entering the mainland — office letter Z plus four digits (e.g., 粤Z1234), no letter suffix.
- Embassy and armed-police numbering systems are separate and out of scope.
5. Common entry mistakes
- Treating the middle dot 「·」 as content: it is decoration; strip it.
- Lowercase letters: canonical plates are uppercase; the tool normalizes.
- 7 vs. 8 characters: after a new-energy plate is assigned, validate against the 8-position layout.
- Serial containing O or I: not part of the alphabet — usually a mis-keyed 0 or 1.
6. Compliance boundary
The tool judges only whether the string conforms to the encoding rules. It connects to no vehicle registry, reports no registration status, and links to no owner data. A format-valid plate may well be invented — treat this as a data-quality gate, not proof the vehicle exists.
7. Integration notes
- ETC/parking: put the format check on the manual-repair path after OCR failure to cut rework.
- Reconciliation: normalize (strip dots, uppercase) with these rules before comparing, or the same car written two ways fakes mismatches.
- Round-trip with the generator: generated samples must all pass; flipping one character must fail.
FAQ
Standard 7-character plates, 8-character new-energy layouts (with D/F position checks), trailers (serial starting with 挂), coach cars (starting with 学), police plates, and the 粤Z Hong Kong/Macau format; embassy and armed-police numbering are separate systems and out of scope.
D marks battery-electric; F marks not purely electric (plug-in hybrid, range extender, fuel cell). Small vehicles carry it at position 3 (京AD12345), large vehicles at the end (京A12345D) — the layouts are not interchangeable, and applying large-vehicle rules to small-vehicle data is the classic integration mistake.
No. The tool checks GA 36-2018 encoding rules only — no registry connection, no status feedback, no owner data. A syntactically valid plate can still be fabricated, so scenarios that need authenticity (vehicle admin, insurance) should use official verification channels.
The separator dot 「·」 and stray spaces are ignored automatically, and lowercase letters are uppercased. Two things are real errors, though: mixing the 7- and 8-character layouts (a new-energy plate must be checked as 8), and an O or I inside the serial — the plate alphabet excludes both, so they usually mean a mistyped 0 or 1.
Normalize first (strip the dot, uppercase, mind 7 vs. 8 characters) with these rules, then compare — 京A12345 and 京A·12345 are the same car. Placing this format gate at the manual-entry fallback after recognition failures also cuts rework in ETC and parking systems.
Related Tools
Related Articles
China License Plate Rules and Validation: Standard, New Energy, and Special Formats Explained
Mainland China plate encoding rules in full: the standard blue plate, the GA36D-2018 new-energy format, armed police and embassy plates, province abbreviations and issuing-authority letters — with an online validator.
China Unified Social Credit Code (USCC): Structure, Checksum Algorithm, and How to Validate It
The 18-char USCC (GB 32100-2015) decoded for English-language systems: field layout, the 31-character alphabet, the weighted mod-31 checksum with a worked example, and the failure modes that corrupt codes in real data — with a local validator.
Online Dockerfile Generator: From Stack Choice to a Buildable Template
Generate a Dockerfile and matching .dockerignore for Node, Python, Go, and more—single-stage cache order, multi-stage splits, non-root users, health checks, and how to hand off to Compose.