induwara.lkinduwara.lk
induwara.lkSri Lanka · Utility

Sri Lanka Vehicle Number Plate Decoder

Decode any Sri Lankan number plate into its province (for older WP/SP/EP-style plates), vehicle class — car, van, three-wheeler, motorcycle, bus, lorry — and approximate registration era. Uses the Department of Motor Traffic's published format. Free, instant, runs in your browser.

By Induwara AshinsanaUpdated May 16, 2026
Decode a Sri Lankan number plateProvince + class + era
Client-side · No lookup

Spaces and hyphens are stripped automatically. Decoded entirely in your browser — nothing is uploaded or stored.

Try a sample
Valid DMT format

WP CAB-1234 → Western Province registration, motor car.

Cross-checked
Province
WP
Western Province
Vehicle class
Motor car
Class letters: CAB
Approximate era
Province-prefix era (~1981–2000s)
Running number
1234
4-digit sequence

How we decoded this

SegmentRawDecoded
ProvinceWPWestern Province
Class lettersCABMotor car — Private motor car. Includes saloons, hatchbacks, station wagons, sport-utility vehicles and similar passenger cars taxed under the motor-car class.
Running number1234Sequential issuance number (1–9999 within the class block).

Class identification verified by independent first-letter rule (Cmotor car).

Format spec: Department of Motor Traffic. Era bands are approximate and advisory — for the legal registration date, check the vehicle's registration certificate.

How it works

Sri Lankan vehicle plates carry three pieces of information encoded in the letters and digits: which province first issued the plate, the vehicle's class, and a sequential running number. The decoder runs a deterministic six-step pipeline against the input — no remote lookup, no model, no guesswork beyond the era band.

  1. Normalise. Uppercase the input, strip whitespace and hyphens, and drop the legacy leading SRI token if present. Reject anything that has characters outside A–Z and 0–9 after normalisation.
  2. Detect format. Match in priority order:
    • ^(WP|CP|NP|EP|NW|NC|UP|SG|SP|NE)([A-Z]{2,3})(\d{1,4})$ — province-prefix format.
    • ^([A-Z]{2,3})(\d{4})$ — national series.
    • A pre-1981 numeric form (digits-first, optionally with SRI) — recognised and rejected as retired.
  3. Province lookup. If the plate is in province-prefix format, the first two letters resolve to one of nine current provinces (plus the legacy transitional NE code).
  4. Class lookup. The 2- or 3-letter class block resolves to a vehicle category from the DMT-published class table — motor car (C-block), van / lorry (K-block), bus / coach (BAA–BMZ), land vehicle (L-block), motorcycle (J-block for heavy, EP for light), trailer (P-block), goods carrier (G-block), and the three-wheeler series RE → TH → XA.
  5. Era estimation. For national-series plates, the (first letter, second letter) pair indexes into an era table derived from successive DMT annual statistical reports. Province-prefix plates are tagged with the broader 1981–2000s era band instead.
  6. Cross-check.The class is also classified by an independent first-letter rule. When both methods agree, the result is marked “cross-checked” for credibility. When the class falls outside our table, the decoder is honest — it returns a structural decode and flags the class as “not in table.”

What the decoder does NOT do: owner lookup (DMT does not publish this), VIN / chassis matching, revenue licence status, or real-time validation against the DMT register. The decoder works on the plate string alone — anything more requires the registration certificate or a direct DMT divisional office visit.

Worked examples

Plate

WP CAB-1234

  1. Normalise → WPCAB1234
  2. Format detector → province-prefix (WP, CAB, 1234)
  3. Province lookup → WP = Western Province
  4. Class lookup → CAB starts with C → motor car
  5. Cross-check (first letter) → C → motor car ✓
  6. Era → province-prefix era (~1981–2000s)
  7. Output: Western Province registration, motor car.

Plate

CAR-4582

  1. Normalise → CAR4582
  2. Format detector → national series (CAR, 4582)
  3. Province lookup → none (national)
  4. Class lookup → CAR starts with C → motor car
  5. Cross-check (first letter) → C → motor car ✓
  6. Era → CA block ≈ 2014–2019 (approximate)
  7. Output: National series, motor car, ~2014–2019.

Plate

NP BAB-7777

  1. Normalise → NPBAB7777
  2. Format detector → province-prefix (NP, BAB, 7777)
  3. Province lookup → NP = Northern Province
  4. Class lookup → BAB is 3-letter, second letter A in A–M → bus / coach
  5. Cross-check (first letter B) → ambiguous in 2-letter form; deferred to full table
  6. Era → province-prefix era (~1981–2000s)
  7. Output: Northern Province registration, motor bus / coach.

Plate

1 SRI 1234

  1. Normalise (keeping SRI) → 1SRI1234
  2. Legacy pre-1981 numeric format detected
  3. Reject with: "The DMT retired this scheme in 1981 when it migrated to alphabetic class codes."

Frequently asked questions

Sources & references

The province and class tables on this page were last cross-checked against the DMT publications on 2026-05-16. The era bands are reviewed annually against the latest DMT statistical report.

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Spotted a class code we miss, or a plate the decoder gets wrong?

Email me at [email protected] — most fixes ship within 24 hours.